Rules Category

Estimated reading: 3 minutes

The table below provides a detailed description of each predefined rule in the Workflow Analyzer. Click here to learn more about managing and customizing the rules. 

Category Code Rule Name Description
Naming ConventionDE-NMG-001Variables Naming ConventionEnsures variable names follow defined naming standards (e.g., camelCase, descriptive names) for consistency and readability.
DE-NMG-002Arguments Naming ConventionValidates that input/output arguments adhere to naming standards (e.g., in_, out_, io_) for clarity in direction and usage.
DE-NMG-003Display Name DuplicationFlags activities sharing the same display name, improving debugging and workflow clarity.
DE-NMG-004Variable Length ExceededWarns if variable names exceed the 30-character limit (modifiable in settings).
DE-NMG-005Argument Length ExceededFlags arguments exceeding the default 30-character limit for improved readability.
DE-NMG-006Variables Overrides ArgumentEnsures variable and argument names are unique to avoid confusion during debugging.
DE-NMG-007Arguments Default ValuesEnsures arguments have default values defined for flexibility and reusability in workflows.
Design Best PracticesDE-DBP-001High Arguments CountWarns when argument count exceeds best practice thresholds; configurable in settings.
DE-DBP-002Empty Catch BlockDetects empty Catch blocks that can hide errors and hinder debugging.
DE-DBP-003Empty WorkflowIdentifies workflows containing empty sequences, flowcharts, or state machines.
DE-DBP-004Hardcoded Timeouts & DelaysFlags hardcoded timeouts exceeding recommended limits defined in settings.
DE-DBP-005Undefined Output PropertiesEnsures all activity outputs are assigned to variables to avoid data loss.
DE-DBP-006Multiple Flowchart LayersFlags excessive flowchart layers for improved readability and maintainability.
DE-DBP-009Open Application MisusageRecommends using Open Web Browser instead of Launch Application for browsers.
DE-DBP-010Stop Activity PlacementEnsures “GetStopStatus” is properly placed at workflow start or end for control.
Solution Anatomy RulesDE-ANA-001Solution Workflow CountReports the total workflows in the solution, including invoked ones.
DE-ANA-002File Activities StatsProvides workflow-level activity usage statistics for analysis.
DE-ANA-003SkipOnError TrueHighlights activities where “Skip On Error” is True to avoid unnoticed issues.
DE-ANA-004List OCR/Image ActivitiesLists OCR/Image Automation activities for review and optimization.
Maintainability RuleDE-MNR-001Unreachable ActivitiesIdentifies disconnected or commented-out activities in workflows.
DE-MNR-002Redundant SequencesFlags unnecessary nested sequences to simplify workflows.
DE-MNR-003Empty SequenceDetects unused or empty sequence containers.
DE-MNR-004Write Line UsageIdentifies Write Line activities that should be removed before publishing.
DE-MNR-005Incomplete IFFlags incomplete or empty IF statements to prevent logic errors.
DE-MNR-006Activity Name DefaultDetects default activity names; recommends descriptive naming for clarity.
DE-MNR-007Deeply Nested ActivitiesFlags workflows exceeding activity nesting thresholds for readability.
DE-MNR-008Repeated Log MessagesIdentifies duplicate log messages to ensure clean and meaningful logging.
DE-MNR-009Nested If ClausesFlags workflows with excessive nested Ifs for better maintainability.
UsageDE-USG-001Hardcoded Activity PropertiesDetects hardcoded activity properties that should use variables or configs.
DE-USG-002Unused VariablesFlags declared but unused variables in workflows.
DE-USG-003Unused DependenciesDetects installed but unused packages in the solution.
DE-USG-004Minimum Log MessagesEnsures at least one Write Log activity is used for traceability.
DE-USG-006Check Stop ActivityChecks for the GetStopStatus activity to manage controlled process stops.
SecurityDE-SEC-001Secure String Argument UsageFlags SecureString arguments to ensure proper sensitive data handling.
DE-SEC-002Secure String Variable UsageIdentifies improper use of secure string variables outside allowed contexts.
DE-SEC-003Secure String MisusageDetects sensitive data passed as plain text; recommends secure alternatives.
DE-SEC-004App/URL RestrictionIdentifies restricted apps/URLs to prevent unauthorized automation.
DE-SEC-005ExecuteBy Email DataFlags hardcoded email addresses in ExecuteBy properties to avoid exposure.
ReliabilityDE-REL-001Infinite LoopIdentifies potential infinite loops by checking self-connecting or unending nodes.
Share this Doc

Rules Category

Or copy link

CONTENTS