0 votes

We have created a workflow for creating user accounts and would like the manager of the new user to be the approver for the account but the account is not created until it is approved. I would like to use a parameter as an approver. Is there a powershell way to do this maybe?

by (2.3k points)

1 Answer

0 votes
by (293k points)
selected by
Best answer

Hello Mark,

This can be easily done using the Send this operation for approval action in a Business Rule triggering Before creating a user. In the action settings, you will need to select the Manager of the user checkbox. image.png Adaxes will retrieve the user or group that was specified in the Manager property of the account on the creation form and submit the request for approval to the user or group members. For details, have a look at the following tutorial: https://www.adaxes.com/tutorials_DelegatingPermissions_RequestApprovalForUserCreation.htm.

0

The problem is that we have a custom command that has a lot of parameters that need to be filled out and then after the approval process, the powershell kicks off. Depending on how the form is answered, it does certain tasks like creating a virtual desktop for the user if requested. We would like to keep our workflow instead of separating the approval out. I will see if I can make this work but it would be easier if this worked inside the custom command and it does not. We tried checking the box Manager of the User.

0

I see the powershell now in the link you sent. Apologies. Thank you for the great support!

Related questions

0 votes
1 answer

Hello! I would like to use the utc parameter that is described in value references - date/time formatting (https://www.adaxes.com/help/ValueReferences/). The goal is ... please indicate whiich would be the right way for using the utc switch? Thanks, Fabiano

asked May 3 by fabiano.santos-agco (20 points)
0 votes
1 answer

Looking to add a delegated permission for a specific OU for a security role (Help-Desk) to provide the ability to join machines to the domain and also rename the machines in domain.

asked Apr 14, 2023 by Vish539 (460 points)
0 votes
1 answer

Does Adaxes all one to setup/configure a custom dictionary with chosen words that will prevent passwords beign set with these words? Example: Many people use "Welcome", "Password", ... set, even from an Admin side when the first password is set for an Account

asked May 10, 2022 by dtorannini (80 points)
0 votes
1 answer

Here is my issue, When I use this code: $DNs = %param-GroupsInRole% $Groups = $DNs -split "|" %Param-GroupsInRole% can have multiple groups. When setting up the parameter I am ... I just need to be able to do a foreach with the groups picked by the initiator.

asked Mar 23, 2023 by mightycabal (1.0k points)
0 votes
1 answer

The use case we are looking for is providing a list of titles for users to choose from when initiating a re-hire. We already have a title property pattern established and would ... that we can manage the list in one place. Let me know and as always, thanks.

asked Nov 22 by msheppard (560 points)
3,577 questions
3,266 answers
8,282 comments
548,010 users