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 (293k 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

Is there any way to add a warning message when someone tries to add a group member that already is member? Checked config but found nothing related. Added a new member that ... the group and there is no warning, and the logs show that the task was completed.

asked Jul 9 by lramirez (20 points)
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

If I have created an custom command i would like to find where this CC is used (linked) in Adaxes (used in Scheduked Task and so on). How can a general find references ... report where I can find all the Linked Objects that I have created by myself in Adaxes ?

asked Jun 1, 2023 by Beat Ott (40 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 (240 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)
3,577 questions
3,266 answers
8,282 comments
548,010 users