0 votes

I have a scheduled task that generates several reports and saves them in the filesystem. The task runs only once a day.

Is it possible to trigger the scheduled task after a new user is created? Or is there another solution to save a report in the filesystem after user creation? Thanks for your help

by (160 points)

1 Answer

0 votes
by (14.1k points)

Hello,

Is it possible to trigger the scheduled task after a new user is created?

Yes, you can run a PowerShell script that will execute the scheduled task in a business rule triggering After creating a user. For an example of the script that executes a scheduled task, have a look at the following SDK article: https://www.adaxes.com/sdk/SampleScripts.ExecutingScheduledTasks.

Or is there another solution to save a report in the filesystem after user creation?

If you use the Run a program or PowerShell script action in a scheduled task to generate and save the required information, then you can consider creating a custom command that executes the script. Then you can run the command in the business rule triggering After creating a user and in a scheduled task. If this is not how the reports are generated, please, provide us with all the possible details regarding the workflow you currently have. Screenshots and live examples will be much appreciated. You can post them here or send us at support@adaxes.com.

Related questions

0 votes
1 answer

I’m looking for a way to take a unique number from Adaxes and use part of it to create an employee ID for the AD attribute field.

asked Dec 25, 2023 by cewilson (190 points)
0 votes
1 answer

I'd like to be able to either send an email report or export a CSV of all of the business rules carried out when a user is disabled. This would be ... Management Activity section but this includes things that weren't part of the disable operation. Thanks

asked Feb 19, 2020 by bavery (250 points)
0 votes
1 answer

I have a new user creation form and business rule that will add certain Active Directory groups upon creation. I also have a business rule that requires approval from administrators whenever ... to state "if group is not (etc) (etc), then require approval" ?

asked May 23 by tromanko (330 points)
0 votes
1 answer

I am trying to trigger processing outside of Active Directory when an account is created based on the source user account that was used. Does Adaxes store the source account anywhere?

asked Oct 9, 2023 by jnordell (20 points)
0 votes
1 answer

I'm trying to modify mailbox settings to add additional email addresses to a user after creation. This is a hybrid on-prem and Exchange Online with E5 licenses. Everything works up ... to a different OU during the process so I know the user exists. Any ideas?

asked Mar 6, 2023 by Michael Long (70 points)
3,549 questions
3,240 answers
8,232 comments
547,814 users