- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2022 11:20 AM
I'm trying to get what the customer inputs into the service portal form variable "description" into the RITM "Description" string field. See attahcment.
Solved! Go to Solution.
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2022 02:33 PM
This appears to be a UI Policy. This needs to be in your run script activity in the workflow. Also you have current.variables_description it should be current.variables.descrption unless your variable name is variables_description in which case in would need to be current.variables.variables_description.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2022 11:32 AM
In the workflow use a run script activity and use the following code.
current.description = current.variables.variable_name; //variable name should be replace the actual variable name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2022 11:46 AM
Is the run script in a UI policy or actual SCTASK work flow? I've tried both places and it doesn't seem to work.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2022 01:32 PM
Run script is is the activity in the request item workflow. Are you trying to set the sctask description? If that is the case then you need to click the checkbox on the task activity and then in the script section put the similar code in with a slight difference. Then you will not need the run script.
task.description = current.variables.variable_name; //variable name should be replace the actual variable name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2022 01:48 PM