0 votes

Hi team,

I need to update users extensionAttribute6 after adding or removing them from a specific group.

This is my setup:

Group is updated based on rule set within Adaxes

Business rule image.png

PowerShell Script image.png

Logging image.png

I can see, the new user was added successfully to the group, however the business rule was not triggered. Running the PS script manually twice was only against another user, not the latest added one.

I noticed this article during my writing here ... https://www.adaxes.com/questions/13540/can-business-rules-be-triggered-rule-based-group-adding-user

Is there any possibility or plan how to achive this?

This group is used to sync only specific users via SCIM to an external application. Only users from specifc offices are within the scope. Therefor I created a rule based group (based on office and country) and would like to update users after they were added or removed from this group.

Thanks!

by (1.5k points)

1 Answer

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

Hello,

There is currently no such possibility and no plans to add the feature.

0

Hi, also no workaround or idea how to achive this?

0

Hello,

Unfortunately, there is no solution if you want to use a rule-based group. If you, for example, use a scheduled task instead, then the business rule will trigger.

0

That is a great pity :( Can you please add this as a feature request?

Idea - would this work?

  1. Keep current rule based group
  2. Run scheduled task and copy members to new group (maybe also remove)
  3. Run business rule on new group
0

Hello,

Can you please add this as a feature request?

The behavior is by design and will not be changed. If you need business rules to trigger, just use a scheduled task. It will work the same way as rules, but you will need to probably use a script.

Idea - would this work?

It will not work as it is impossible to add/remove members from rule based groups in any way except for the automated approach based on the rules.

0

Hum ok,

I dont want to add or remove members from the rule based group

I want to run a script against any added or removed users from this rule base group.

So any new added user should get a specific extensionAttribute6 and any removed user should get this cleared.

I tried now this scheduled task image.png

And changed my business rule to the new temp group.

For now it seems to work, I have my group based on rules and criterias and my users attributes are updated correctly.

Related questions

0 votes
1 answer

Hi team, I have a follow up to this question https://www.adaxes.com/questions/14234/business-after-adding-members-powershell-script-executed Let me explain my setup A rule- ... area% failed due to the following exception: $($_.Exception.Message)", "Error") }

asked Feb 13 by wintec01 (1.5k points)
0 votes
1 answer

I need a way of triggering a business rule based on the user (and not the group) being added or removed from a group. The reason I would like this triggered on the user is so ... prefer not to do that. I am checking to see if there is another way to do this.

asked May 16, 2023 by mark.it.admin (2.3k points)
0 votes
1 answer

Hello, I am attempting to configure a business rule that adjusts an adaxes custom property of a user, upon that user being added/removed from a group. I cannot seem to ... (like username, office, description, email, etc.) but not so much on custom attributes.

asked Jul 14, 2023 by NKB#2772 (70 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)
0 votes
1 answer

Hi team, we have two accounts for Adaxes in our AD Service account (running services) named "service-adaxes" Service Domain account (to connect to AD) named "service-adaxesdomain" ... script? Or do I need to grant permissions to "service-adaxes" to manage AD?

asked Jul 30 by wintec01 (1.5k points)
3,541 questions
3,232 answers
8,225 comments
547,802 users