How to change the Requested for based on the variable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2023 02:58 PM - edited 08-07-2023 07:31 PM
- I have a requirement. In the catalog item I have a variable named user name. Based on the user name on the form OnSubmit of the catalog item. The requested for should be auto populated with the name selected from the variable. If the requested for name is changed to someone else it should give error and cancel the request
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2023 05:07 AM
Have you tried using (or transforming it into) a variable of type "Requested for"?
That should solve the problem.
You might want to have a look at the related article "Requested For Variable Type" over at The ServiceNow Nerd for further gotchas and howtos.