To ensure better data integrity within the Organization Management (Admin) module, we have implemented a feature that blocks the ability to delete referenced and related departments, roles, users, and groups. This improvement addresses a critical issue that caused forms to crash after their referenced data was deleted.

How It Works:

  • If a user, role, department, or group is directly associated with any form or process in the system, the application will automatically prevent its deletion.
    • Data Integrity Scenarios

      For example, let’s consider the role of Auditor in our system.

      1. If the Auditor role is referenced in a form or workflow, it will be blocked from deletion.

        1. If the Auditor role is referenced in a form or workflow and the users assigned to that role are not directly implicated, only the role will be blocked from deletion.

        2. If the Auditor role is referenced in a form or workflow and the users assigned to that role are directly implicated, both the role and its assigned users will be blocked from deletion.

      2. If a form or workflow references a specific user assigned to the Auditor role (rather than the role itself), the role can be deleted.

        1. If a form or workflow designates the Auditor role as the assignee, and a specific user under that role submits the form, the role will be blocked from deletion.

      This concept of direct implication also applies to departments and groups.

      1. If the Human Resources department is referenced in a form or workflow and the role assigned to that department is not directly implicated, the assigned role can be deleted.

      2. If the Documentation Team group is referenced in a form or workflow and the users assigned to that group are not directly implicated, the assigned users can be deleted.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment