# Rule Conditions

* For User Based Rules, you can define conditions based on the `Current/Logged In User`.
* You can compare if the `Current User` `IS` or `IS NOT` a specific user from your “Site Members” or you can compare if the `Current User` `belongs to` or `does not belong to` a particular “Workgroup"
* Below example shows a User Based Rules condition which will execute the rule action if the `Current User` `does not belong to` the Workgroup “Managers”


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.workdigital.io/custom-database-apps/automation-rules/user-based-rules/rule-conditions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
