主权项 |
1. A method for modifying a task flow template, comprising:
receiving, by a processor, a request to modify the task flow template, wherein the task flow template is associated with a plurality of task flow modification rules; determining, by the processor, whether the request violates a modification rule of the plurality of task flow modification rules, wherein a first rule of the plurality of task flow modification rules specifies that no automated tasks in the task flow template can be deleted, wherein a second rule of the plurality of task flow modification rules specifies that no automated task in the task flow instance can be moved to precede another automated task on which it depends; rejecting the request, by the processor, when the request is determined to violate one of the first rule and the second rule of the plurality of task flow modification rules; modifying, by the processor, the task flow template in accordance with the request to produce a modified task flow template, when the request is not determined to violate one of the first rule and the second rule of the plurality of task flow modification rules; and displaying, by the processor, the modified task flow template when the task flow is modified in accordance with the request. |