- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2020 01:19 PM
Hey guys,
I need your help!
I am trying to update a catalog variable in the middle of a workflow using flow designer
I don't see an OOB option to do that and when I tried this script as an action it didn't work. I am getting the variable value, but it won't change it
Thanks!
Solved! Go to Solution.
- Labels:
-
flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2020 02:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2021 07:06 AM
Hi Taha.
You could also create a reusable action, where you pass in the record, variable name and the new value. Then it can be used in other flows as well
(function execute(inputs, outputs) {
inputs.record.variables[inputs.variable] = inputs.value;
inputs.record.update();
})(inputs, outputs);
Best regards, Jan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2021 10:29 AM
Can you share the entire new action ?
I am very new to creating a new action.