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

Then the first code I gave you should work. Can you give me the code you used.

current.description = current.variables_description; function onCondition() {

}

I'm looking to populate the customer description field info into the description on the RITM field (string) before the task is created.  So is this the code that goes into the workflow for the task? 

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.

Julie Catano
Kilo Guru

Thanks soooo much Brian that did work!!! you rock.

One last thing, when I add another field to be copied over to the RITM the request automatically closes/close complete no task is created.

current.description = current.variables.description;
current.u.other.short.description = current.variables.u_other_short_description;