- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2024 11:20 AM
I have an offboarding workflow triggered by a catalog item.
There is a variable in the form called "employee_name".
I would to setup a task in my workflow if this user has an "itil" role.
I can't seem to figure out how to get this information from the variables.
I can populate a variable called Employee role from the sys_user table attribute "roles" on the form, but it comes up blank.
I'm would like a recommendation on the best way to handle this requirement.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 12:51 PM
Syntax looks fine. Just need to add current.variables.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 12:23 PM
I can't seem to get the syntax right.
Is this script correct?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 12:51 PM
Syntax looks fine. Just need to add current.variables.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 01:02 PM
This worked great! Thanks so much 😀