- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2022 11:26 PM
Hi All,
Need to create flow designer
trigger condition when test3 Vale != NO
can any one please help me to set this.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 01:54 AM
Create a Update trigger on the table with Run Trigger set to "For every update".
Create an Action with Input of type "String". Type "Name/Value" won't accept variable input so use "String" here. Name/Value will be a JSON object so will parse in the following Script Step.
Create a Script Step.
(function execute(inputs, outputs) {
var pairs = inputs.pairs.toString(); // "pairs" is the name of the input variable of type "String"
var jsonObj = JSON.parse(pairs);
if (jsonObj.test3 != 'NO') {
outputs.execute_flg = true; // "execute_flg" is the name of the output variable of type "True/False"
} else {
outputs.execute_flg = false;
}
})(inputs, outputs);
Add an If condition based on the result of calling Action.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2022 02:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2022 02:15 AM
correct,
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2022 07:41 PM
Hi
var pairs = inputs.pairs;
var cuval = "<ul>";
while(pairs.next()){
cuval = cuval +"<li>"+pairs.u_wf_id.workflow.vars.u_customer_id.toString()+"</li>";
}
cuval += "</ul>"
outputs['cuval'] = cuval;
customer id getting duplicate
example:
234567
234567
234567
1098765
like this i am getting 3 outputs but i need to send as only one out put for this 3 so i need to set aggregate can you please help me how to set aggregate for this
expected output:
234567
1098765