You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The api "/workflow-definitions/{definitionId}/execute",will make a workflow instance with "runing"status. How to make it ,but not runing auto?and then ,how to start the instance manuallly?
The text was updated successfully, but these errors were encountered:
To create a workflow instance without immediately executing it, you can use the /workflow-definitions/{workflow_definition_id}/dispatch endpoint. This will enqueue the workflow for execution and return the workflow instance ID, but it will not start running the workflow automatically.
Here is an example of how you would call this endpoint:
Make sure to replace {workflow_definition_id} with the actual ID of your workflow definition and {api_key} with your actual API key.
Once you have the workflow instance ID, you can start the workflow instance manually using the /workflow-instances/{workflow_instance_id}/execute endpoint. Here is an example of how to start a workflow instance manually:
Again, replace {workflow_instance_id} with the ID of the workflow instance you want to start and {api_key} with your actual API key.
By using the /dispatch endpoint to create the instance and the /execute endpoint to start it manually, you can control when the workflow instance begins execution.
The api "/workflow-definitions/{definitionId}/execute",will make a workflow instance with "runing"status. How to make it ,but not runing auto?and then ,how to start the instance manuallly?
The text was updated successfully, but these errors were encountered: