You are viewing PowerRoster™ v8.2. See what's new in Release Note v8.2

Compliance Delete Behaviors

Prev Next

What Is It?

Compliance Delete Behaviors define what happens when you delete records that are part of compliance rules, constraints, and breaches. The goal is to keep data consistent and prevent orphaned records.

How Does It Work?

  1. Immediate Actions

    • Some compliance records are deleted straight away (e.g., Parameter Values).

    • Some compliance record deletes cascade to delete child records (e.g., deleting a Rule also deletes its Parameters).

  2. Restricted Deletes

    • Some compliance records will not allow the delete if the record has critical dependencies (e.g., Constraint Allocations).

  3. Async Engine

    • Handles clean-up tasks like removing Breaches that no longer have valid links.

    • Runs in the background asynchronously and retries if errors occur.

Delete Behaviors

The table below defines the result of each action by the user in the system.

  • Action - User action

  • Result - System action

Action

Result

Delete Parameter

Delete Parameter

Delete Compliance Rule

Error is displayed if:

  • Related child Breaches exist for the Rule

Delete the following entities:

  • Child Parameters

  • Child Constraints

  • Rule

Delete Parameter Value

Delete Parameter Value

Delete Constraint

Error is displayed if:

  • Related Constraint Allocation exists for the Constraint

  • Related Contract Constraint exists for the Constraint

  • Related Breach exists for the Constraint

Delete the following entities:

  • Child Parameter Value

  • Parameter Value

Delete Resource Position Instance

Delete the following entities:

  • Child Breaches

  • Resource Position Instance

Delete Roster

Error is displayed if:

  • Related Constraint Allocation exists for the Roster

Delete the following entities:

  • Child Breaches (Asynchronously via the Compliance Async Engine)

  • Roster

Delete Resource

Error is displayed if:

  • Related Constraint Allocation exists for the Resource

Delete the following entities:

  • Child Breaches (Asynchronously via the Compliance Async Engine).

  • Resource

Delete Territory

Error is displayed if:

  • Related Constraint Allocation exists for the Territory

Delete the following entities:

  • Territory

Delete Contract

Error is displayed if:

  • Related Constraint Allocation exists

Delete the following entities:

  • Child Contract Constraints

  • Contract

Delete Contract Constraint

Delete the following entities:

  • Associated Breach Constraint Allocations Breaches (Asynchronously via the Compliance Async Engine).

  • Contract Constraint

Delete Constraint Allocation

Delete the following entities:

  • Constraint Allocation

  • Associated Breach Constraint Allocations Breaches

Delete Breach Constraint Allocation

Delete the following entities:

  • Breach Constraint Allocation

  • Breach is deleted if it has 0 remaining Breach Constraint Allocation (Asynchronously via the Compliance Async Engine)

Delete Breach

Delete the following entities:

  • Child Breach Constraint Allocations

  • Breach