Abstract
In modern organizational environments, workflows are governed by complex security constraints such as Separation-of-Duty (SoD) and Binding-of-Duty (BoD). While static task assignment is well-understood, real-world workflows are frequently disrupted by "shocks"—such as user unavailability or sudden policy changes. This paper investigates the problem of reassigning tasks following such disruptions while minimizing changes to the existing schedule. The authors prove that finding these least-disruptive assignments is NP-complete and propose a customized backtracking algorithm, BasicPerturb, which leverages previous states and specialized heuristics to outperform generic SAT solvers.
Introduction
Workflows in sectors like healthcare, finance, and logistics are rarely static. A pharmacy order, for instance, involves a sequence of tasks—verification, filling, and billing—that must be performed by specific roles while adhering to strict security protocols. These protocols often include Separation-of-Duty (SoD), which prevents a single user from performing conflicting tasks (e.g., approving and issuing a payment), and Binding-of-Duty (BoD), which requires the same user to perform related tasks for the sake of continuity.
When a system shock occurs—such as a staff member calling in sick or a manager revoking a specific authorization—the existing task assignment often becomes invalid. The challenge for administrators is not just to find any valid new assignment, but to find one that causes the Minimum Perturbation to the existing schedule. This paper formalizes this problem and provides an algorithmic framework for efficient resolution.
Problem Formulation and Complexity
The authors identify two primary hurdles when a workflow is disrupted:
- Satisfiability: Does a valid assignment even exist under the new constraints?
- Minimum Perturbation: If multiple valid assignments exist, which one changes the fewest original task-user pairings?
Through formal logic analysis, the authors prove that determining satisfiability after a user leaves is NP-complete. They achieve this by reducing the problem to "planar 3-colorability," a classic hard problem in graph theory. This theoretical foundation establishes that simple manual adjustments are insufficient for complex workflows, as a single change can trigger a "cascade" of security violations across the entire system.
Methodology
To address these challenges, the research translates workflow constraints into a Boolean Satisfiability (SAT) framework. Specifically, the authors utilize a Weighted MAX-SAT approach. In this model, security constraints are assigned near-infinite weights (making them mandatory), while the desire to keep original task assignments is assigned a low weight (making them "soft" constraints).
The BasicPerturb Algorithm
Rather than relying on off-the-shelf SAT solvers that build solutions from scratch, the authors developed a specialized backtracking algorithm called BasicPerturb. This algorithm is inspired by DPLL (Davis-Putnam-Logemann-Loveland) and CDCL (Conflict-Driven Clause Learning) solvers but is optimized for the perturbation problem.
Key features of the algorithm include:
- State Preservation: It uses the previous assignment as a starting point, attempting to "repair" the schedule rather than "rebuild" it.
- Unit Propagation: The algorithm automatically resolves chain reactions. If a security constraint dictates that User A cannot do Task 2 because they already did Task 1, the algorithm propagates this restriction immediately to narrow the search space.
Heuristics and Insights
The efficiency of the BasicPerturb algorithm relies heavily on two specific branching heuristics identified by the authors:
- Prioritizing Restricted Tasks: The algorithm first attempts to assign tasks that have the fewest authorized users or the highest number of constraints. Handling these "bottleneck" tasks early prevents late-stage conflicts that would require massive backtracking.
- Selecting Flexible Users: When assigning a task, the algorithm prioritizes users with the most authorizations and the fewest current assignments. This preserves the availability of "specialized" users for tasks that only they can perform.
Results and Evaluation
The framework was evaluated using a combination of a representative pharmacy workflow and synthetic datasets. The results demonstrate that the unified framework successfully handles four distinct types of dynamic changes:
- User absence or unavailability.
- The introduction of new SoD constraints.
- The introduction of new BoD constraints.
- The revocation of specific user authorizations.
By leveraging the previous assignment and applying specialized heuristics, the authors show that their approach is significantly more practical for real-time workflow management than universal solvers, which lack the context of the pre-shock state.
Conclusion and Future Work
This research provides a robust theoretical and practical foundation for dynamic workflow management. By proving the NP-completeness of the problem and providing the BasicPerturb algorithm, the authors offer a path toward more resilient organizational systems.
Future research directions include the integration of non-chronological backtracking, which would allow the algorithm to "jump" back multiple levels in the search tree upon encountering a conflict, potentially offering even greater speedups. Additionally, while the current work focuses on task reassignment, future iterations could explore the optimal onboarding of new users into existing, constrained workflows.
Summary updated