Question about manually updating a State
Comments
-
[font=Roboto, Arial, Helvetica, sans-serif]Good afternoon,[/font]
I am wondering if there is a way for someone to manually update the state of a flow execution extension that has ended.
Example of what Im running into -- I have a large flow that takes a record through several different approval "states" as it moves through the flow.
For several records, the flow run errored out and ended - so they are stuck at the state that they were in when the flow errored out.
Since we are showing our leadership records based on this state value - we would like to know if there is a way for us to manually be able to update the state value to the correct value for submissions where the flow has already ended.
This would allow us to move them to the correct "state" instead of just leaving them in an incorrect state.
I can provide more details as needed. Thank you for any assistance you can provide.
-
Hi Betsy,
A User Action with an Action Visibility Rule is a good way to accomplish this.
In the types configuration folder, there is an option to create a User Action. A User Action Flow is folder and entity aware, so a [b]Set Entity State[/b] step can be used in the new User Action Flow with the [b]new state as a string[/b] and [b]Folder.FolderID from Flow Data mapped into entity Id[/b].
[img]att2[/img]
You can then follow the Set Entity State step up with a [b]Save Entities[/b] step with [b]FlowExtensionData mapped into Entity[/b].
[img]att1[/img]
Save & exit the new User Action Flow, and create an Action Visibility Rule that will filter the new action by its name, the entitys state, and the current users groups if necessary. (this will prevent end-users from accessing this action)
[i]More on Action Visibility Rules: [/i][url=https://support.decisions.com/forum/topic43-how-can-i-hide-actions-from-users.aspx]https://support.decisions.com/forum/topic43-how-can-i-hide-actions-from-users.aspx[/url]
[i]edited by james.hartzell@decisions.com on 2/3/2020[/i]
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions