How to I see the service portal variable on the RITM

Julie Catano
Kilo Guru

I'm trying to get what the customer inputs into the service portal form variable "description" into the RITM "Description" string field. See attahcment.

1 ACCEPTED SOLUTION

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.

View solution in original post

9 REPLIES 9

Brian Lancaster
Tera Sage

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

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.

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

It's a variable named "description" and I want the contents of what the customer inputs to also show up in the description (string) field on the RITM.  (see attached)