How to change the Requested for based on the variable

Venkat81
Tera Contributor
  • 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

-O-
Kilo Patron
Kilo Patron

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.