Important

We are updating the images for OroCommerce version 6.1 to align with the latest changes in the back-office design. During this transition, some images may still show older versions. Thank you for your patience as we work to update all visuals to reflect these changes.

CLI Commands (WorkflowBundle) 

oro:debug:workflow:definitions 

To see current workflow definitions registered in the application, use the following command:

php bin/console oro:debug:workflow:definitions

Use --workflow-name option to display the definition of a specific workflow:

php bin/console oro:debug:workflow:definitions --workflow-name=<workflow-name>

oro:workflow:definitions:load 

The oro:workflow:definitions:load command loads workflow definitions from configuration files to the database.

php bin/console oro:workflow:definitions:load

The --directories option can be used to specify custom location(s) of the workflow configuration files:

php bin/console oro:workflow:definitions:load --directories=<path1> --directories=<path2>

The --workflows option can be used to load only the specified workflows:

php bin/console oro:workflow:definitions:load --workflows=<workflow1> --workflows=<workflow2>

oro:workflow:handle-transition-cron-trigger 

To triggers a workflow transition cron trigger, use the following command:

php bin/console oro:workflow:handle-transition-cron-trigger

oro:workflow:transit 

To transitions a workflow item, use the following command:

php bin/console oro:workflow:transit

oro:workflow:translations:dump 

The oro:workflow:translations:dump command dumps (prints) workflow translations (workflow label, step labels, attribute labels, transition labels, button labels, button title and warning messages) of a specified workflow.

php bin/console oro:workflow:translations:dump <workflow>

The --locale option can be used to specify a different target locale.

php bin/console oro:workflow:translations:dump --locale=<locale> <workflow>