Task Assignments, Events, and Rules
Business analysts and developers can define the behavior of a task by specifying logic that controls task assignment and that detects certain task events. In My webMethods, these components are presented as rules within a task type. These rules provide the following functions:
Assignments assign a task to a specified user, group, or role depending on the occurrence of a defined condition. For example, when a task's status is marked for escalation, assign the task to a manager; or, assign the task to a specific user, group, or role when the task is activated. These are configured as Assignments in
Designer. Assignment rules are sometimes referred to as
routing rules.
Events trigger a defined action at a designated point in a task’s life cycle (such as Accepted, Assigned, Canceled, Suspended). These are configured as Events in
Designer.
Filters filter the tasks viewed by users in their task inbox in
My webMethods. For example, do not display any task that has been accepted by another user. This is useful when tasks are assigned to a role containing many members. These are configured as filter Event Types in
Designer.
Change rules apply an action when a specified change occurs in the task's status or business data; for example, if the task status changes to Expired, delete the task. An e‑mail task notification can be sent to an assigned user or role as a change rule result. These are configured as change-related Event Types in
Designer.
Schedules apply an action when specified scheduling conditions are met. These rules are used to apply some time-based conditions to the task; for example, send a task e-mail notification if a loan application has not been accepted for processing within a certain period of time. Or, you might reassign, escalate, or change the priority of tasks based on the passing of a specific date or an interval of time. An e-mail notification can be sent to an assigned user or role as a schedule rule result. These are configured as time or date-related Event Types in
Designer.