Can you reopen a completed process folder?
Comments
-
I have a flow execution extension structure which we use to create a new process folder when a flow runs. This flow works through its states until the flow completes (see status below). However, at some point in the future we wish to ‘reopen’ this appeal i.e. have it run through the same flow but reuse the existing process folder. Is this possible? We are currently running the flow again, passing in the ‘old’ extension object and bypassing the create process folder step. However, when anything happens in this flow e.g. a new state is set, this is not reflected in the existing object e.g. changing state from ‘Closed’ to ‘Reopened’.
[img]https://lh6.googleusercontent.com/MpaRZ2VF_NqH0caWJXUNTg7gSIbyqDOUmg-G8lzQzTMJzN41dP8EE-1LBDvyU5B5UlAhudA3Q_lD9uQ6GNFyY_K_5ZNapud0FgIw-LWte8Fbg3gsMuO9yzxygQowMDFYDCUdODfF[/img]
[img]https://lh3.googleusercontent.com/nhq3UQOrxBGchJL9mPHxJSrvCxtIN7EVsdvfCREQPyKwpWq7NFt3H-hcIJUu3zu_u2TxMrcUTC1po4Pj8ZqdWnNxl-H5cGj4sgfWUSCLgYxRdE5-aKUgfaEs-Qb5q6OJnjAHkvpV[/img]
[i]edited by Brendan@decisions.com on 10/30/2019[/i] -
Hi Leo, Try the Attach to Folder step. This allows users to attach a flow to an existing Process Folder given a specific Process Folder ID, so that Set State changes apply to the attached folder. You could have the Setup Process Folder in the parent flow, and have your process logic within a sub-flow. This sub-flow would then take in Process Folder ID as input from either a pre-existing Process Folder or from the output of the Setup Process Folder for a newly created folder. At the beginning of the sub-flow you would add the Attach to Folder for the given Process Folder ID, allowing state changes to the specified folder. Another useful step for changing states on a specified entity is the Set Entity State step. This takes an entity ID (in this case the Process Folder ID) and sets the state. This step can be useful because it doesnt require the flow to be attached with an "invisible" reference to a Process Folder, it just needs the entity ID.
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