How to populate task short description based on the catalog variable choice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2022 10:28 AM
I want to populate the task short description based on the choice value of the catalog item variable in a Flow Designer. Please guide
- Labels:
-
flow designer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2022 10:36 AM
You need to use get catalog variable flow designer action to get catalog variable value and then use update record action.
https://docs.servicenow.com/bundle/rome-servicenow-platform/page/administer/flow-designer/reference/get-cat-variables-flow-designer.html
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2022 10:40 AM
This is about populating the short description in the task based on choice selected for a variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2022 12:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2022 10:44 AM
I often do this in the workflow by including a "run script" variable.
var sDesc = "Fix: " + current.variables.vehicle_number;
current.short_description = sDesc;
var gr = new GlideRecord('sc_request');
gr.addQuery('sys_id',current.request);
gr.query();
if(gr.next()){
gr.short_description = sDesc;
gr.update();
}