- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2022 11:26 PM
Hello!
I've recently started using the Flow Designer to create workflow for our Catalog Items.
In the traditional workflow, customizing the Short Description is shown below.
task.short_description = current.variables.variable1 + " - " + current.requested_for;
In Flow Designer, I tried the below but it does not work.
var shortDesc = fd_data.trigger.request_item.variables.variable1 + ' - ' + fd_data.trigger.request_item.requested_for;
return shortDesc;
Please help!
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2022 12:26 AM
Hi
it is not necessary to script something.
You just can do this by pulling the respective data pills into the Short Description in an "Update Record" action.
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-13-2023 10:04 AM - edited ‎01-13-2023 10:15 AM
Marked this helpful. (I wish it was easier to find direct how-to-script-stuff-in-flow answers like this.) I needed to know this trick, but for a different application, where using the 'Get Catalog Variables' pill picker was not an option. Thankee sai.
