0 votes

My scheduled task currently:

  • Checks for staff in a particular OU that do not have an O365 license
  • Adds a license
  • Resets their AD Password
  • Moves them to an OU based off their office location

I also have a business rule that triggers on the reset of a user password and send the user a Welcome email with the password but it only triggers for users in the OU that the scheduled task looks at... I just want to know if the Business Rule will trigger before the scheduled task moves them out of the OU that the business rule is looking at.

Thanks

by (40 points)

1 Answer

0 votes
by (215k points)

Hello,

By default, actions in Business Rules, Scheduled Tasks, and Custom Commands are executed sequentially. An action will not be executed until all the operations related to execution of the previous one (e.g. the triggered Business Rules) are finished. So, if the Reset user password action is specified before the Move the user action in your Scheduled Task, the move operation will be performed only after all the Business Rules triggered by the password reset are executed. But, if the Execute asynchronously checkbox is selected in properties of an action, the main operation (e.g. Scheduled Task run) will not wait until the action is executed. image.png

Related questions

0 votes
1 answer

Is it possible to disable then re-enable a Business Rule from a Scheduled Task? For example, when the Scheduled tasks starts, it disables a Business Rule, runs the Task(s), then re-enables the Business Rule when done.

asked May 11, 2016 by Kikaida (1.1k points)
0 votes
1 answer

My scheduled task works like this (these are my action sets) Condition(s): Account is expired and home drive exists Action The user's home directory gets archived Condition(s): ... set? I do not want to split the scheduled task into two! Thanks in avance!

asked Apr 7 by lehnen (20 points)
0 votes
1 answer

I have 18 domains managed by Adaxes and have noticed that Admin (full access) t all objects acts normally, but for piecemeal scopes like Service Desk that scopes to individual ... role (including 16 denies) and expect it to grow as we add more domains.

asked Sep 20 by DA-symplr (40 points)
0 votes
1 answer

Hello, I have my OUs structured so each department we're working with has an OU for their service accounts under their department OU. e.g. OU=Service Accounts,OU=Sales,OU= ... add each new OU to the scheduled task but I was hoping for something more hands off.

asked Oct 19, 2015 by drew.tittle (810 points)
0 votes
1 answer

"Connecting to remote server <<FQDN Servername>> failed with the following error message : The server certificate on the destination computer (<<FQDN servername: ... ? This may help to diagnose the issue with schannel on the skype server.

asked Mar 5, 2020 by mark.it.admin (2.1k points)
2,803 questions
2,535 answers
6,605 comments
62,552 users