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.