
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2018 04:53 AM
Once I am creating a Catalog Item which is having a Description value 'DESCRIPTION' & Short Description value as 'SHORT', then how can the same values be auto-populated on the Request Form's Description & Short Description field
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2018 09:58 PM
Hi,
Thanks all for your guidance. I got a solution to this by writing this script in 'Run Script' in the workflow
request.description = current.variables.description;
request.short_description = current.variables.short_description;
This solved the issue.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2018 11:52 AM
Yes. For such scenario, we have created another multi-text field 'items' on Request field which gets populated with all the items associated to that request.
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2018 09:58 PM
Hi,
Thanks all for your guidance. I got a solution to this by writing this script in 'Run Script' in the workflow
request.description = current.variables.description;
request.short_description = current.variables.short_description;
This solved the issue.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-12-2019 03:56 AM
This is my code to set request's description and short description in a 'run Script' activity in the workflow:
//get request
var grRequest = new GlideRecord('sc_request');
grRequest.get(current.request);
//set request values
grRequest.description = "write your description here";
grRequest.short_description = "Write your shot desc. here";
grRequest.update();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2019 02:29 PM
hrm...this gives me a unique key violation... i must have a business rule conflicting with it...