Complete a Flow Via User Action
Comments
-
[font=Roboto, Arial, Helvetica, sans-serif]Hi, We are working on employee separation request form and saving data in Flow Execution Extension Data. The main flow initiates the request. In order to cancel the separation request, we have a "User Action". Within "Cancel Separation Request" User action, we can delete the assigned but not-yet-completed tasks using the step Internal Service > Assignment > Delete and it is working as expected. Assignments were created from Main flow but were deleted from "User Action". Will it also complete the main flow automatically or will it keep the main flow waiting for tasks that were already deleted. If it keeps the main flow waiting, do we have a way to complete/cancel the main flow? If so, how do we get needed information for complete/cancel the main flow from User Action? [/font]
-
[font=Roboto, Arial, Helvetica, sans-serif]Deleting Assignments from a Process Folder will not stop the parent Flow of the process itself. The main Flow will ultimately be left hanging on the Add Task step where the Assignment was created. Flows that have had their Assignments deleted can be stepped forward manually via System > Administration > System Tools > Flow Management. There are a couple of ways to cancel or stop a Flow from another Flow, but if your goal is to stop the flow entirely, there is a step named Clear Flow Data found at Integration > Internal Services > FlowExecutionService which takes an input for FlowTrackingID (can be found under FlowTrackingData > FlowTrackingID). Clear Flow Data will stop the Flow, delete any process data not saved in its Process Folder, leave the Process Folder & its contents intact, and set any existing Assignments as Completed If your intention is to also delete the Process Folder and its contents, Delete Folder Content & Delete Folder from Integration > Internal Services > FolderService may help.[/font]
[font=Roboto, Arial, Helvetica, sans-serif]User Actions for Flow Execution Extensions will have Flow Tracking Data available alongside the usual Flow Data and System Constants. (Can be found in the Data Explorer or while doing input mappings) The main Flow itself would not need to be modified, as the data is also available from the extensions User Actions.[/font]
Howdy, Stranger!
Categories
- 4.2K All Categories
- 64 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 261 Administration
- 212 Portal
- 490 General Q & A
- 694 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 76 Lunch And Learn Questions