0 votes

Hi,

our user objects are synced from HR system into AD and generated by a middleware - would a business rule "After creating a user" be triggered in this way or not? Looks like not ...

So I created a scheduled task, but there is no option to run certain tasks if the previous one was successfull ... any reason for this? I need to control those tasks and would like to exit in case of issues

related to an answer for: Business Rule Not Executing
by (1.5k points)

1 Answer

0 votes
by (294k points)

Hello,

would a business rule "After creating a user" be triggered in this way or not

Business rules will not trigger in this case. They only get triggered upon operations performed via Adaxes.

So I created a scheduled task, but there is no option to run certain tasks if the previous one was successfull ... any reason for this?

Scheduled tasks are separate configuration objects not related to other ones or specific operations. As such, there is no possibility to link execution of the tasks based on success. As an option, you can try using a single scheduled task adjusting the blocks of actions/conditions accordingly.

0

Just got an idea

Scheduled task to run on new created objects and let them update description

Then business rule would trigger and do the rest + execute only if previoius action was successful

Related questions

0 votes
1 answer

We'll be updating over 14K accounts with data (adding data to a virtual attribute) using a scheduled task but I don't want the updates to trigger Business Rules and flood the Adaxes log with entries. Is there an easy way to prevent this?

asked Apr 12, 2022 by sandramnc (870 points)
0 votes
1 answer

Is it possible to export Business Rules and/or Custom Command, from the Admin Console, so that we can have a backup of the current setup? I especially want to have a document of the Custom Commands and their IDs, which I'm using in PowerShell scripts.

asked Feb 26, 2014 by sdavidson (730 points)
0 votes
1 answer

I have a question: I have a security role that allows specific users to modify "extensionattribute2" in AD. Is it possible to create an approval for this that would ... manager of the target account to approve the change before it is really applied? Thanks!

asked Jan 16, 2012 by BradG (950 points)
0 votes
1 answer

Hi, I would like to check and change description of all rule-based groups. My idea: Run a scheduled task and check for "GroupMembershipUpdateRecirrenceType" or "Membership Type". ... value can only be a string? But I get this error, only numbers allowed?

asked Jun 5, 2023 by wintec01 (1.5k points)
0 votes
1 answer

I have a Rule-Based group with users. Every time a users gets added or removed from this group I want to trigger a Business Rule for "Atter adding or removing a member ... Rules be triggered by a Rule-Based group adding or removing a user? Morten A. Steien

asked Mar 27, 2023 by Morten A. Steien (300 points)
3,588 questions
3,277 answers
8,303 comments
548,100 users