Flow designer: How to use stages in subflows?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2019 01:08 AM
Hi,
Since madrid we try to use the new flow designer as much as we can.
We have a large process now that we are implementing with flow designer. To be able to keep a good overview we're making use of the subflows. One thing you can't do in subflows is setting the stages like in the mainflow. So how do you set stages in a subflow?
- 5,149 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2021 12:53 PM
Any updates on this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2021 04:46 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2021 06:45 AM
At your step 3 there something missing, can you show how you did that? Will be super helpful.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-10-2024 07:50 AM
Hi there - do you have the code snippet that you display in this screenshot please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2022 12:37 AM
Hi,
I developed a similar approach based on the Cao Hui,
The code for the script is this one:
(function execute(inputs, outputs) {
var json_data = JSON.parse(inputs.status_data);
var found = false;
for (var i=0;i<json_data.length;i++) {
var stage = json_data[i]['stage'];
if (stage['value'] == inputs.stage) {
json_data[i].status = inputs.stage_status;
found = true;
break;
}
}
outputs.updated = found;
outputs.status_data = JSON.stringify(json_data);
})(inputs, outputs);
The steps here are same as described in Cao's excel, except for the last one that includes an update of RITM stage.
Consider the following variables for this action: