ServiceNow Learning 85: Can you run an active workflow from your Flow? Super Interesting to know!!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 08:00 AM
Hi All,
Today I learnt a very informative learning today whether we can the workflow from a flow.
Answer is "YES". ServiceNow allows us to call a workflow from a Flow Designer in ServiceNow.
Run a published and active workflow from your flow. You can use the flow data as a workflow input. For example, you can specify the current record as a workflow input.
It required three parameters: Workflow, wait and current parameter.
Please have a look at the parameter below:
Inputs
Input Description
Select a Workflow | Published and active workflow that you can select to run. The workflow that you select determines the records that are associated with it. If the workflow has inputs, Flow Designer displays them as additional flow inputs. Note:
|
Wait? | Workflow that you set to true so that the flow waits for workflow completion before continuing. Only workflows that wait for completion can return certain output values to the flow. Set to false to continue running the flow separately from the workflow. Note: If the workflow is canceled or its context record is deleted prior to the workflow finishing, the flow stops waiting and instead continues running. |
Current | Current record that the workflow processes. Select a data pill that contains a record from the associated workflow table. |
Hope it helps.
I hope this article helpful. Please mark it as helpful and bookmark if you like it.
Regards,
Shamma
Regards,Shamma Negi
0 REPLIES 0