Six custom workflow analyzer rules are available with this DLL, which are namely listed below:
Recommendation: Using 'Kill Process' activity kills the specified process, for all users logged on that machine. Use a custom code to kill the process, only for bot's logged on user.
Recommendation: Add a descriptive title to the activity, to understand what it does.
Recommendation: Specify a selector when using Send Hotkey activity or include it inside a container.
Recommendation: Remove the attribute whose value is all wildcard as it is not validating anything.
Recommendation: Attach informative screenshot to specified activities.
Selector Attribute Not Recommended: Inspects the attributes of selector to identify usage to 'parentclass', 'class', 'classname', 'parentid' in it. Using the attributes specified in selector, makes it less stable over a longer run.
Recommendation: Consider using attributes other than (parentclass, class, classname, parentid) in the selector, to make it more stable/reliable.
Steps to integrate the DLL with UiPath Studio:
1. For Community edition of UiPath, copy the DLL to 'C:\Users\USER NAME\AppData\Local\UiPath\app-Version of UiPath\Rules\' and restart Studio.
2. For Enterprise edition of UiPath, copy the DLL to 'C:\Program Files (x86)\UiPath\Studio\Rules\' and restart Studio.
Post copying the DLL, the six custom rules specified above would be reflecting in 'Studio -->> Analyze File -->> Workflow Analyzer Settings' window.