0 votes

Is it possible during a custom command to prompt input from the user initiating the command and to take a different action depending on their answer?

For example, during user deprovisioning, asking if the deprivisioned user requires a custom automatic relpy:

If Yes - provide the automatic reply text If No - proceed with predetermined reply text.

Thanks

by (520 points)

1 Answer

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

Hello,

Yes, it is possible. That is where you use a Checkbox parameter and the If <parameter> <value> condition. image.png For details on how to use/create parameters, see step 5 of the following tutorial: https://www.adaxes.com/help/CreateCustomCommand.

0

Thank you.

Is there a way to allow the user running the custom command to input the text for auto-replies if that parameter is checked?

For example, the user is presented the choice via the parameter. If the user chooses "custom reply" they would then be presented the auto-reply input boxes in order to format and save and apply the auto-replies?

Another variable I'd like to do is to present the user with a choice of who to have emails forwarded to. Which I've set a parameter for picking an object from the directory. But it's not clear how I can pass the email address of the user object. I assume I have to pass the variable via a script, but if there is a way to do it with an action I'd prefer to do that, but I haven't seen or found that yet.

Thanks

+1

Hello,

For example, the user is presented the choice via the parameter. If the user chooses "custom reply" they would then be presented the auto-reply input boxes in order to format and save and apply the auto-replies?

Unfortunately, there is no such possibility. However, thank you for the suggestion. We forwarded it to the corresponding department for consideration.

But it's not clear how I can pass the email address of the user object.

You do not need to pass an email address here. It can be the object selected in the parameter itself. As such, you can just set the parameter value reference as template for the option:

image.png

0

Thank you for the information. I do not see where in actions I have the ability to forward an email or delivery options. Obviously it's there I am just having a super hard time locating it as an available action.

Everything else makes sense.

Is it possible to make parameters dependent on other parameters? For example, If two parameters are set up. If the first paramater checkbox is not seleted then you wouldn't see the second parameter. However, if it is checked, then the second parameter would appear requiring input. Just curious.

Thanks so much for all the help.

+1

Hello,

I do not see where in actions I have the ability to forward an email or delivery options. Obviously it's there I am just having a super hard time locating it as an available action.

Have a look at the following tutorial: https://www.adaxes.com/help/AutomateExchangeMailboxConfiguration.

Is it possible to make parameters dependent on other parameters?

As it was mentioned in the previous post, there is no such possibility. Unfortunately, there is no way to make one parameter dependent on another at all.

0

Have a look at the following tutorial: https://www.adaxes.com/help/AutomateExchangeMailboxConfiguration.

Perfect, I knew I was just looking past it. Thank you so much.

As it was mentioned in the previous post, there is no such possibility. Unfortunately, there is no way to make one parameter dependent on another at all.

Understood, just wanted to make sure I understood fully.

As always, appreciate all the team there does.

Related questions

0 votes
1 answer

So I need an approval process before adaxes executes a custom command to create a user. Basicaly an HR group and a Privacy group have to approve. what i have is set up like this ... the first one has been approved. I want them to go out at the same time.

asked Apr 14, 2023 by mightycabal (1.0k points)
0 votes
1 answer

We have a series of transforms we use for users including moving to different OU's. Is there a way to open the user's object after the command completes much in the same way a user creation does?

asked Nov 22 by msheppard (520 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 (520 points)
0 votes
1 answer

Then I could put the approval on the custom command.

asked Dec 4, 2023 by mightycabal (1.0k 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)
3,574 questions
3,263 answers
8,282 comments
548,008 users