Create Custom Rule In Workflow Analyzer

The next tip I have to share is how you can easily debug your custom rules.

  1. Once you’ve compiled your rules into a library, *.dll, copy the dll into the path of Uipath Studio as indicated in the documentation. Usually this is program files (x86)/UiPath/Studio/Rules.
  2. Open UiPath Studio to a project you wish to analyze.
  3. Use the debug option in Visual Studio to attach to a process.

image

You should see a process called UiPath.Studio.Analyzer.exe. Select it and click the “Attach” button.

image

At this point you can set a break point in Visual Studio.

The rule I am debugging is at the project scope, so use the Analyze Project option in UiPath.

image

The debugger should halt on the break point, allowing your to examine the values of all local variables.

image

3 Likes