Two users hold the offered role. Create through a workflow step, repeat creation, claim as one holder, release and claim as the other.
The interaction scenario names the capabilities and rules it exercises. The coverage finding retains incomplete permission combinations and failure variants.
Coverage
Rulegap: FND-CRM-ACT-059
Transitioncovered
Validationcovered
Permissioncovered
Edgegap: FND-CRM-ACT-059
Failuregap: FND-CRM-ACT-059
Boundarycovered
Concurrencycovered
Invariantgap: FND-CRM-ACT-059
Interactioncovered
Test Scenarios
15 scenarios proving CAP-CRM-ACT-013; 5 bound to an existing test.
01Create a role offer without a simultaneous holdervalidationapinegativetest
Run-owned task routing has Unrouted standing. The role reference has valid syntax without an existence check; creation cannot also name a holder. A changed offer requires unfinished, unlocked work.
Steps
Create an offer or have the workflow service offer work to a role. Read the resulting record and affected projections after commit.
Expected
The resulting task routing has Offered standing. Set the candidate role and clear any existing holder on service reassignment.
Data
Run-owned records in an isolated workspace; fixed clock for calendar checks.
Run-owned task routing has Offered standing. The locked task is unfinished, unlocked and unheld, and Platform confirms current role holding for the user.
Steps
Claim available work offered only to a role. Read the resulting record and affected projections after commit.
Expected
The resulting task routing has Offered claimed standing. Set holder and assignment attribution while retaining the candidate role.
Data
Run-owned records in an isolated workspace; fixed clock for calendar checks.
Run-owned task routing has Queued waiting standing. A changed request requires unfinished, unlocked work; an already-satisfied service request returns unchanged.
Steps
Have the workflow service offer queued work to a role. Read the resulting record and affected projections after commit.
Expected
The resulting task routing has Queued offered waiting standing. Clear holder and assignment stamps, set the role and retain queue arrival.
Data
Run-owned records in an isolated workspace; fixed clock for calendar checks.
Run-owned task routing has Queued claimed standing. A changed request requires unfinished, unlocked work; an already-satisfied service request returns unchanged.
Steps
Have the workflow service replace the holder with a role offer. Read the resulting record and affected projections after commit.
Expected
The resulting task routing has Queued offered waiting standing. Clear holder and assignment stamps, set the role and retain queue arrival.
Data
Run-owned records in an isolated workspace; fixed clock for calendar checks.
Run-owned task routing has Queued offered waiting standing. A user makes a conditional claim of unfinished, unlocked, unheld work; role holding is not consulted.
Steps
Claim work that has both queue and role routing. Read the resulting record and affected projections after commit.
Expected
The resulting task routing has Queued offered claimed standing. Set the caller as holder and assigner; retain the queue, arrival and role.
Data
Run-owned records in an isolated workspace; fixed clock for calendar checks.