ATS-CRM-ACT-017 Create workflow tasks once and repeat actions according to state: Capability Test Specification
Markdown Design / CRM / Activities, Follow-ups and Task Work / Workflow Delegation and Record Safeguards / Capability Test Specification Create workflow tasks once and repeat actions according to state: Capability Test Specification Coverage Category coverage counts specified proof. Unbound cases remain proposed; registered assertions do not establish a passing run.
A registered service creates a role-offered task concerning a duplicate contact. Repeat creation, merge the contact into a survivor, claim as a holder and attempt to read the task from another workspace.
The interaction scenario names the capabilities and rules it exercises. The coverage finding retains incomplete permission combinations and failure variants.
Show evidence (sources, provenance, origins, pinned commits)Coverage Rule gap: FND-CRM-ACT-063 Transition gap: FND-CRM-ACT-063 Validation covered Permission covered Edge covered Failure covered Boundary gap: FND-CRM-ACT-063 Concurrency covered Invariant covered Interaction covered Test Scenarios 10 scenarios proving CAP-CRM-ACT-017 ; 8 bound to an existing test.
01 Keep task service access restricted to registered callers permission api negative test
Proves BR-CAP-CRM-ACT-017-01 Preconditions A console context and unknown service principal are available. Steps Invoke the task service with each. Expected Both are rejected and no task is created. Data Each run creates and isolates the records it needs. Bound to Source services-crm:modules/tasks/tests/e2e/tasks-service.e2e.spec.js #answers 403 context_mismatch to a console caller reaching the route over HTTP, whatever its keys 06 Reject duplicate holder specifications validation api negative test
Proves BR-CAP-CRM-ACT-017-07 Preconditions Service creation supports either holder form. Steps Provide both holder forms in one create. Expected The API rejects the ambiguous holder request. Data Each run creates and isolates the records it needs. Bound to Source services-crm:modules/tasks/tests/e2e/tasks-service.e2e.spec.js #refuses a create naming its holder twice, assignee and assignee_user_id, 400 10 Reevaluate an action after an intervening change edge api proposed
Proves BR-CAP-CRM-ACT-017-12 Preconditions A workflow command has completed a task. Steps Reopen as a person, repeat the prior completion command and inspect the new version and closing stamps. Expected The repeat evaluates the current open state and completes it again; no action-delivery ledger suppresses it. Data Run-owned records in an isolated workspace; fixed clock for calendar checks. Source services-crm:modules/tasks/services/workflow-actions/task-service-operations.ts :runTaskServiceOperation ← Previous Capability Test Specification ATS-CRM-ACT-016 · Maintain task classifications and shared queues: Capability Test Specification Next Capability Test Specification → ATS-CRM-ACT-018 · Retain interactions and work through record deletion and merge: Capability Test Specification