Summary: In Cayosoft Administrator Hybrid and Active Directory rules have Limit Scope and Query Criteria parameters. Both parameters define the search query scope. This article describes how to use special system settings, that can be selected in these parameters.
Applies to: Cayosoft Administrator 5.x
Get scope from runbook session setting in Limit Scope parameter
Suppose you have a Runbook included three automation rules: Rule 1, Rule 2, Rule 3.
You must define the Limit Scope parameter in Rule 1 - select container OU 1.
If you want Rule 2 and Rule 3 to use the same OU 1 as a scope, in Limit Scope parameter you should select Get scope from runbook session setting.
If Rule 1 has some additional filters defined, Rule 2 and Rule 3 should also have these filters. Otherwise, they could process other objects that were not in the scope of Rule 1.
So, use Get scope from runbook session setting in automation rule, only if this rule runs from a Runbook, and the first rule in this runbook has a specific Active Directory container in scope.
Use Web Query Scope setting in Limit Scope parameter and ObjectGUID of User Created in Web UI setting in Query Criteria parameter
Suppose that you have Rule 1, Action 1 and Rule 2. And you need to run Rule 2 just after Rule 1 or Action 1 is completed.
If Rule 2 is a pre-configured rule, taken from HOME > RULES > WebAdmin Rules (Pre-configured), select Use Web Query Scope setting in Limit Scope parameter.
If Rule 2 is a template rule, use Default Domain in Limit Scope parameter.
In Rule 2 in Query Criteria parameter select ObjectGUID of user created in Web UI setting. It means that Rule 2 would use the GUID of the object, created in Rule 1 or Action 1.