摘要 |
Various embodiments of systems and methods for adapting a reference workflow, according to changing data-contexts, during execution are described herein. The method involves detecting an entry to an adaptive segment in the reference workflow and invoking data context variables associated with the adaptive segment. Further the method includes invoking a set of ordered adaptation rules comprising a set of constraints on the data context variables. In an aspect, the method includes evaluating the rule-set using the one or more data context variables associated with the workflow. Based on the evaluation, a list of adaptation patterns is generated and provided as input to a pattern selector. In another aspect, adaptation patterns from the list of adaptation patterns are recursively called by the pattern selector. The called adaptation patterns are then executed as sub-processes within the adaptive segment. |