0 votes

Is there a way to get the name of the user who approved a request and supply that to a step inside of a custom command?

For example, HR submits a status change for an employee. IT then approves this request or rejects it.

Is there a way to grab that IT Staff members name and pass it as a param in a custom command that is called in one of the steps?

by (20 points)

1 Answer

0 votes
by (222k points)

Hello,

Unfortunately, there is no such possibility for a custom command that is executed manually. As a solution, you can use a business rule triggering After updating a ApprovalRequest. The rule will run a script that will execute the custom command. In the script, you can obtain the properties of the user who processed the request and then pass the required property value as a custom command parameter value for execution. For information on how to execute custom commands using scripts, have a look at the following SDK article: http://adaxes.com/sdk/SampleScripts.ExecutingCustomCommands.

Related questions

0 votes
1 answer

I am wanting to export a list of users including the properties of a specific custom attribute. Ideally, I would be able to run a get-admuser and filter on a custom attribute, but even an excel report with the custom attributes would work. Is this possible?

asked Sep 9, 2021 by ggallaway (300 points)
0 votes
1 answer

Our Help Desk currently 'mirrors' the group membership of a new user based on another existing user in our AD. I'd like to be able to automate this so that the initiator ... and 'paste' it on the new user being created. Any help on this would be appreciated!

asked Apr 21, 2020 by RayBilyk (200 points)
0 votes
1 answer

For example, if the scope is a specified OU, running the report will list management history for every object in the OU even if it has had no management operations ... so objects that have not had any recent modifications are excluded from the report results?

asked Aug 13, 2021 by ryan741 (120 points)
0 votes
1 answer

I would like users to use Adaxes to add themselves or others to a group, but instead of it just working, it has to go thru an approval process and be approved by the group owner before they are added. Thanks!

asked Jun 30, 2021 by RayBilyk (200 points)
0 votes
1 answer

Some of our users don't log on to AD ever therefore does not give us a true user picture?

asked Jun 4, 2021 by marcwoollard (40 points)
2,757 questions
2,491 answers
6,523 comments
1,468,927 users