- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2023 05:40 AM
would like to create an approval step so that when the user selects a manager (approval) from the drop down that in the workflow it grabs that user and creates an approval user request for said user?
They pick who the approver is which equates to the picture above it. requesting access for auto populates the manager approval and the manager approval userid is what I want to make an approver request in the work flow but not sure how
which core activity to use and what would be the script for this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2023 06:12 AM
Hi Joshua,
It sounds like all you need to do is in the Approval - User activity, leave the Users field blank, or you can populate it using the convention ${variable_name}. If you leave it blank, then the Additional approvers script would look like this:
answer.push(current.variables.variable_name);
In either case variable_name is the name of your Manager approval variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2023 06:12 AM
Hi Joshua,
It sounds like all you need to do is in the Approval - User activity, leave the Users field blank, or you can populate it using the convention ${variable_name}. If you leave it blank, then the Additional approvers script would look like this:
answer.push(current.variables.variable_name);
In either case variable_name is the name of your Manager approval variable.