Thanks. I understand the logic, but I’m not sure how to write that in code. Also, I’m trying to find where is the default rules saved so I can see how is the code written, but I didn’t have luck for now.
A LINQ can help for getting the position / acitvity filter check
Have a sarch for the UiPath.Studio.RulesLibrary.dll file
e.g.:
C:\Program Files (x86)\UiPath\Studio\Rules (enterprise version) %localappdata%\UiPath\app-%version%\Rules