Terminating Stored Workflows

Terminating Stored Workflows

Comments

  • Do we have the ability to terminate ALL Stored Workflows through the Flow steps? I want to create a Flow which performs the same action as the [b]End Flow/Clear Flow Data[/b] action on the Stored Workflows report.

  • [color=rgb(34, 34, 34)]This can be done by passing the flow_tracking_id of the Stored Workflow into the [b]CancelFlow [/b]step available through [b]Integration → Internal Services → FlowExecutionService.[/b][/color]

    [color=rgb(34, 34, 34)]You can get the list of all Stored Workflows by integrating with the default view vwStoredWorkflows (Create Datatypes/Integration → Database Integration → Add View → Choose appropriate connection →Select vwStoredWorkflows), then passing the primary_flow_tracking_id of each one into the CancelFlow step using the [url=https://documentation.decisions.com/docs/processing-lists-of-items-with-the-foreach-step]ForEach [/url]step. This would clear out all the Stored Workflows on your Server. [/color]

    [color=rgb(34, 34, 34)]Please refer attached Project.[/color]
    [color=rgb(34, 34, 34)]
    [/color]
    [color=rgb(34, 34, 34)]
    [/color]
    [i]edited by kshitij@decisions.com on 7/3/2019[/i]

Sign In or Register to comment.