Update data in process folder
Comments
-
I want to make a flow which saves (or rather updates) data thats in a process folder. The flow works fine when I use setup process folder, but I dont need this step as the folder will already be set up and I dont want a new one - I can access the folder by using the step Fetch by process folder id, but I cant seem to then save/update any data or add any comments or anything?
-
Hi there,
After youve fetched the process folder, you can then update its data with a Create Data step. To add a comment, use the Save Entities step.
To alter properties of process folder after youve fetched it, you can use a Create Data step with an input of the same type as the property you wish to edit, select the new value from the flow or declare a constant value. Then on the Create Data steps output, map the new piece of data as Change Value, and select the property of the process folder you wish to edit. (This can be done with multiple values at once in the same Create Data step) Then save the process folder with a Save Entities step.
To add a comment to a process folder within a flow with a Save Entities step, please refer to [url=https://support.decisions.com/forum/topic2709-adding-a-comment-to-a-case-from-a-flow.aspx]this post[/url]. The process is the same for both Case process folders and Flow Execution Extension process folders.
-
Is it really true that there is no way to specify only the field/s that need to be changed?
It looks like I need to click on ALL the fields and select them from the earlier object. Please tell me I am mistaken.
I have a production support scenario with an assignment, I need to change the referenceId field. If I create a flow to do this using this method do I really have to click through and assign 76 fields, in order to change just one?
If this is true then it's better to do an SQL update to the database......which is ridiculous when I'm supposed to be working in a low code/no code environment.
-
Ok, we've found a shortcut, by using the SET Value step to overwrite the value in memory of the data object, then using Save Entitie with the object as input.
Clumsy, and if you have 5 fields you want to change, you'll need 5 set steps.
-
Hi Haim,
I'm attaching the documentation on Flow Execution Extension CRUD Actions . Flow Execution Extensions do not have an Edit or Selective Update step like other Data Structures(CAse Entities). To update the Flow Execution Extension Data Structure, the Save step is required.
However the ‘SET Value step’ does overwrite the existing data, which is a good finding.
Howdy, Stranger!
Categories
- 4.2K All Categories
- 66 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