Auto populate catalog variables using flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2023 09:37 PM
Hi ALL,
how to auto populate catalog variables in DESCRIPTION field of catalog task using flow designer (by script)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2023 11:28 PM
Hi @vijayaram ,
You can follow below steps-
Create one custom action
Click on plues icon take script step
Use below script and add variables whatever you required in script i am taking 2 varibles Additional_software_requirements and Air
(function execute(inputs, outputs) {
var ritmid=inputs.request_item;
var getitem=new GlideRecord('sc_req_item');
getitem.get(ritmid);
var description = getitem.variables.Additional_software_requirements +' ' + getitem.variables.air ;
outputs.desc=description;
})(inputs, outputs);
In outputs call script step
Then go to main flow and add action in flow and drag pill ritm sys_id
And in task action take description variables add Outputs
Then test raising catalog item request
Please mark it as helpful and solution proposed.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2023 02:12 AM
Hi,
Can you please explain what you are trying to do? Can you share some images to clarify?
In it's simplest form, you can set the description field of a catalog task by drag-and-dropping data pills into the field.
