CPRIMA USG 001 Screenshots of Fixture UiPath projects - rpapub/PropulsiveForce GitHub Wiki

๐Ÿ“˜ CPRIMA-USG-001 โ€“ ShouldStop Activity Presence Check

This page illustrates the expected behavior of the custom Workflow Analyzer rule CPRIMA-USG-001, using visual test fixtures in UiPath Studio.

๐ŸŽฏ Rule Summary

  • Rule ID: CPRIMA-USG-001
  • Scope: Project
  • Title: ShouldStop Activity Presence Check

Purpose: Enforces the presence of at least one ShouldStop activity across all workflows in a project. This enables graceful, externally triggered termination of long-running or unattended automations.

๐Ÿ–ผ๏ธ Visual Fixtures

Two minimal UiPath Studio projects are used as fixtures to verify rule behavior:

โœ… Compliant Project

  • Project folder: CPRIMA-USG-001_ShouldStopPresence/NoViolation
  • Contains: A single ShouldStop activity
  • Analyzer Output: No rule violations

๐Ÿ“ท Screenshot:

โŒ Violating Project

  • Project folder: CPRIMA-USG-001_ShouldStopPresence/Violation

  • Contains: No ShouldStop activity

  • Analyzer Output:

    • โ— CPRIMA-USG-001 Ensure ShouldStop Activity Usage (error)
    • Plus unrelated warnings (e.g., unused dependencies)

๐Ÿ“ท Screenshot:

๐Ÿงช Purpose of These Fixtures

These minimal projects are not test outputs but inputs for rule development:

  • Used during rule implementation to validate triggering behavior
  • Support rule requests submitted via GitHub issue template
  • Act as canonical reference cases for what should and should not trigger the rule

They provide a ground truth for expected rule evaluation behavior across different project setups.