0 votes

We have multiple business rules related to the modification of user properties which are specifically tailored for certain tasks. I'm trying to add another business rule which updates the user notes in AD whenever "Modify User" is used. However other business rules are triggering whenever I try to use this. I've tried using specific conditions and adding in various placeholders in an attempt to stop the other business rules triggering. Both business rules fall under "After updating a user". Is there a simple way to add in blockers to stop this from happening?

Please see the two business rules below:

The first rule is to update the notes when user details are modified and the 'confirm changes' boolean equals Yes. image.png

The second rule is used to disable a user and move them to the chosen OU. image.png

They have their own separate functions in the web interface. When I use "Modify User" both business rules trigger but I only want the first rule to trigger.

Hopefully this makes sense. Thanks in advance!

by (330 points)

1 Answer

0 votes
by (272k points)

Hello,

To achieve the desired, you need to use the If <property> changed condition in such a way that corresponding business rules trigger only upon certain property updates. Also, make sure to keep the If operation succeeded condition in all action sets of all business rules triggering After an operation. For example, the below business rule will only trigger when Job Title of a user is changed to IT Staff from something else: image.png

Related questions

0 votes
1 answer

Hi team, I am trying these two scripts but always getting an error. https://www.adaxes.com/script-repository/start-azure-virtual-machine-s442.htm https://www.adaxes.com/script ... outdated or missing I am something? PS: Script to Stop VM shows 404 not found

asked Oct 9, 2023 by wintec01 (1.1k points)
0 votes
1 answer

In our environment, we have many business rules with "Add to group". Now I have to delete the "Add to group xyz" in all business rules, as the group is now rule-based. Is there ... in Adaxes so that I don't have to search for and delete all "Add to group xyz"?

asked Mar 7 by DRiVSSi (280 points)
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

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

Hello, I have a Business rule that does the following : If 'extentionAttribut9' property has changed AND the 'adm-CustomAttributeTextMultieValue1' property equals 'Add Groups' then Execute ... I will comes into a loop. How can I prevent it? Thanks in advance.

asked Jun 6, 2017 by tentaal (1.1k points)
3,347 questions
3,047 answers
7,786 comments
545,035 users