Automated Process Reversal via Triggered Undo Activities
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Reversing a process using model-defined constructs is typically work-intensive, error-prone, and lacks flexibility, making it inefficient and resource-intensive to generate custom actions for reversing process executions.
Innovation Solution
An automated process reversal method is implemented, where a computer processor defines forward activities, undo activities, interdependencies, and triggers to automatically generate and manage undo processes, allowing for incremental and dynamic construction of custom undo processes during forward process execution.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If model-defined constructs such as compensation handlers are used to reverse a process, then the reversal can be achieved with structured approach, but the process becomes work-intensive and error-prone with rigid results
Solution Approach 1:
The system enables self-service by automatically generating undo activities and interdependencies without requiring manual intervention. The forward process definition automatically creates the corresponding reverse process, eliminating the need for manual compensation handler configuration and reducing errors associated with manual process reversal setup.
Solution Approach 2:
The system performs preliminary action by pre-defining undo activities and interdependencies during the forward process design phase. This allows the reverse process to be automatically generated and executed without requiring work-intensive manual configuration at the time of reversal, thereby improving efficiency while maintaining reliability.
2Adaptability or versatility
If custom actions are generated for reversing process executions, then flexibility can be improved, but the process becomes complicated and time-consuming requiring large amount of resources
Solution Approach 1:
The system segments the process reversal functionality into distinct components: forward activities, undo activities, interdependencies, and triggers. This segmentation allows each component to be defined and managed independently, providing flexibility in process reversal while avoiding the complexity of generating entire custom reverse processes manually.
Solution Approach 2:
The system provides universality by creating a general framework where the same mechanism (defining undo activities and interdependencies) can be applied to any forward process. This multi-functional approach allows flexible process reversal across different process types without requiring complex custom actions for each specific case, thereby reducing overall system complexity.
3Reliability
If an entirely new reverse process is created to meet efficiency and flexibility requirements, then adequacy can be achieved, but the connection to the original forward process is lost
Solution Approach 1:
The system implements feedback by creating triggers that link forward activities to their corresponding undo activities. This feedback mechanism ensures that the reverse process is automatically initiated based on the execution status of forward activities, maintaining the connection between forward and reverse processes while ensuring adequate process reversal.
Solution Approach 2:
The system adds another dimension by introducing interdependencies as a separate layer that connects forward and reverse processes. This interdependency dimension allows the system to maintain information about the original forward process execution while enabling flexible and adequate process reversal through the structured relationship between forward activities and undo activities.
Data Source
AI summary
A method and system for automatically reversing a process is provided. The method includes defining a forward process comprising a set of forward activities for automatically performing an automated task. First undo activities and associated data structures, associated with undoing a first forward activity of the set of forward activities, first interdependencies between the first undo activities are defined. Additionally, first triggers comprising a first link between the first forward activity and the first undo activities are defined. Second undo activities and associated data structures, associated with undoing a second forward activity as well as second interdependencies between the second undo activities are defined. Additional second triggers comprising a second link between the second forward activity and the second undo activities are defined.


