0 votes

Hi,
I'm working on a custom command to set account expiration - like this

No matter what time is selected by user - it set's to 23:59.
But in the approval email - time is shown the one, which was selected by user.
Can it be modified before sending for approval?
Thanks!

by (920 points)

1 Answer

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

Hello Dmytro,

The Custom Command sets the time of the Account Expires property to 23:59 because the time is specified in the properties of the Modify the user action. To use the time specified in the command parameter, clear the Set time checkbox in the Generate date tab of the settings for the property modification.

The Custom Command should look like the following:

Related questions

0 votes
0 answers

I made a custom command that executes a powershell script, if you run the script from the adaxes console, then everything works, but if you run the command from the web interface ... the script, you can see that the value is empty. Am I doing something wrong?

asked Nov 18, 2022 by Alvares (100 points)
0 votes
1 answer

I am relatively new, so please be patient if this has already been asked and answered - I have started looking for this information and have not yet found it in this ... patterns based on the values being entered into the form. Is that in any way achievable?

asked Apr 2, 2014 by hms.scott (220 points)
0 votes
1 answer

Hi, When we add custom command action in UI, when a user selects 1 or more users for that custom commands, is there a way to integrate those selected users as input value into that custom command script and take action on those users.

asked Feb 5 by Renugopal (120 points)
0 votes
1 answer

HI *, I would kindly ask if there is a way to pass value to running custom script trough web interface. I see some old discussions on the forum that this feature should be come ... I cannot find it. Could you please help me to find out how to proceed? Thanks.

asked Jan 26, 2015 by majin (50 points)
0 votes
1 answer

Is there a way to configure a Custom Command parameter to accept multiple values so I can then add them to a multi value attribute such as adm-CustomAttributeObjectMultiValue1 ... in my specific case I'm looking to use a directory object picker parameter

asked Nov 27 by AM (50 points)
3,589 questions
3,278 answers
8,303 comments
548,107 users