- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2020 05:03 PM
Hi All,
I need help auto populating Category and Subcategory fields on RITM and SCTask forms after the request has been submitted. I tried using the workflow and BR but no luck.
The Category on ritm and sctask should auto populate e.g "resource"
while subcategory should auto populate based on the selected option from a multi choice variable.
Variable name: "type_of_request"
Choices: 1. Alpha Del, 2. Bravo Del, 3. Charlie Del
How do I auto populate the category field on RITM and SCtask with ''resource" and subcategory field based on the option selected from "type of request"?
Thank you for your help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2020 05:19 PM
You can access the variable on the server side by using "current.variables.type_of_request" and set the subcategory field (I assume a custom field, as there isn't one out of the box) like this:
current.setValue('u_category', 'resource');
current.setValue('u_subcategory', current.variables.type_of_request);
"current" might vary based on how you're generating the RITM and SCTask records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2020 05:19 PM
You can access the variable on the server side by using "current.variables.type_of_request" and set the subcategory field (I assume a custom field, as there isn't one out of the box) like this:
current.setValue('u_category', 'resource');
current.setValue('u_subcategory', current.variables.type_of_request);
"current" might vary based on how you're generating the RITM and SCTask records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2020 05:26 PM
Would this be a BR?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2020 05:35 PM
Thank you, Tim