0 votes

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 custom command 'my custom command 1'

If 'extentionAttribut9' property has changed AND
the 'adm-CustomAttributeTextMultieValue1' property equals 'Clone Groups' then
Execute custom command 'my custom command 2'

The problem is that I want property "extentionAttribut9" to be reset at the end of the process.
If I do it I will comes into a loop.

How can I prevent it?

Thanks in advance.

by (1.1k points)
0

I did somethings like this and Adaxes has somethings to prevent loop.

Added :
...
AND
the 'extentionAttribut9'property equals 'UserName' then

...

IF the 'extentionAttribut9'property does not equals 'UserName' then
Set ExtentionAttribut9 to UserName

1 Answer

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

Hello,

The problem is that I want property "extentionAttribut9" to be reset at the end of the process.
If I do it I will comes into a loop.

Do we understand correctly that you want to clear the extentionAttribut9 property?

If that is correct, you can use the If extentionAttribut9 is not empty condition for both sets. To do so:

  1. Right-click an action in the set and click Add Condition.
  2. Select If <property><relation><value>.
  3. Select If Extension Attribute 9 is not empty.
  4. Click OK.
  5. Repeat all the steps for the second set and save the changes.

Also, it is not recommended to remove the If operation succeeded condition. In this case the Business Rule will trigger even if updating an object was not successful. To add the condition to both sets:

  1. Right-click an action in the set and click Add Condition.
  2. Select If operation <result>.
  3. Select If the main operation succeeded.
  4. Click OK.
  5. Repeat all the steps for the second set and save the changes.
0

Thank you.

0

What if i need to put some other command, then too would have to follow the same guide?

0

Hello,

Yes, you can use the same guide if you want to add another command or use another attribute.

Related questions

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

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 by sandramnc (790 points)
0 votes
1 answer

Hi, I'm trying to create a web console only for sending SMS using adaxes 2018.2. The SMS-users that are going to use the console should only be able to view users, not edit ... which removes a lot of OUs that the users should not see or be able to browse to.

asked Sep 2, 2020 by eirikza (120 points)
0 votes
1 answer

Is is possible to have complex conditions or groups f conditions in business rules? For example, We want to send for approval if any of these attributes are updated AND it ... one attribute changed. Any suggestions on how to accomplish what I am looking to do?

asked Mar 10, 2021 by techg (240 points)
0 votes
1 answer

We have some accounts that we would like to prevent from changing their password on login when it is expired. This is because we have saml setup on individual interface pages ... of a loophole for us as we require dual factor and use saml to accomplish this.

asked Oct 26, 2021 by mark.it.admin (1.8k points)
2,740 questions
2,474 answers
6,475 comments
1,372,117 users