scripting short description in flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 12:30 PM
I am just beginning to use Flow Designer instead of workflows.
In the Create Catalog Task action, I want to script the Short Description with text and the variable answers.
In workflow you can use something like: task.short_description = "This is my text" + current.variables.VARIABLE_NAME;
But this throws an error when I use it in a flow.
I did try dragging the 'pills' from "Get catalog variable" but all they did was return the variable name, like 'variable_name' and the requested for name as a sys_id.
What I would like to do is have the short description say 'catalog item name' + for + 'requested for name'.
Any help appreciated, stay safe.
Mark S
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 12:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 01:13 PM
Thanks Pradeep, but I am trying to get the variables in there too.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 01:40 PM
yup so assigned_to->name is a catalog variable in my case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2020 02:28 PM
assigned_to is a variable on your catalog task form? Why would you have a variable name the same as a form field? To reference a variable you would have to script something like ....current.variables.VAR_NAME