- 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 01:52 PM
Then the first code I gave you should work. Can you give me the code you used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2022 02:16 PM
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?

- 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 02:54 PM
Thanks soooo much Brian that did work!!! you rock.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2022 03:30 PM
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;