Modifying task management
You can configure, extend, and administer task management.
Task management requires three configurations:
- /IBM/DWLBusinessServices/Task/Search/maxResults
- /IBM/DWLBusinessServices/WorkbasketEntity/Search/maxResults
- /IBM/DWLBusinessServices/Task/Search/sortOrder
See Elements in the Configuration and Management component for details about these configurations.
All data and transaction-level extension points are available to extend task management. See Understanding task management transactions for more information.
You can also administer task management. Task management allows
you to do the following:
- Update the task transition state machine – Call transactions
to update existing task status and action, and provide new external
rule to update task transition rules:
- Update task status – Call standard transactions to
update code table CDTASKSTATUSTP. Important: The following active task statuses cannot be removed:
- New
- Pending
- In progress
- Returned
- Stopping
- Stopped
The following inactive task statuses cannot be removed:- Completed
- Terminated
- Update task action – Call standard transactions to
update code table CDTASKACTIONTP. Important: the following task actions cannot be removed:
- Create
- Assign
- Unassign
- Reassign
- Save
- Submit
- Approve
- Reject
- Delete
- Choose Task
- Start Task
- Complete Task
- Terminate Task
- Stop Task
- Fail Action
- Update task transition rule – Modify the com.ibm.mdm.common.coreexternalrule.TaskStatusRule task transition rule to add more business logic to reflect the changes on task statuses and task actions; however, the rule must include the predefined rules for the required task statuses and actions.
- Update task status – Call standard transactions to
update code table CDTASKSTATUSTP.
- Update task priority – Call standard transactions
to update code tables CDPRIORITYTP and CDPRIORITYCATTP. Existing priority
names can be modified or new priorities can be added under Task category,
as defined by the CDPRIORITYCATTP table. Important: The PRIORITY_CAT_TP_CD for a priority category task cannot be changed, and the record cannot be removed.
- Customize the logic to delete workbasket information in inactive task priority – Modify the com.ibm.mdm.task.externalrule.InactiveTaskRule inactive task rule to customize the business logic for inactive task:
- Deploy new task definitions – In general, the solution
team provides a set of task definitions before clients can use task
management to create new task instances. Task definitions can be deployed
from a metadata server or from an administration tool. The task definition
transactions are used to complete the following tasks:
- addTaskDefinition – Creates a new task definition.
- updateTaskDefinition – Updates or deletes a task definition.
- getTaskDefinition – Retrieves the details of a task definition.
- getAllTaskDefinitions – Retrieves all task definitions in the runtime system.
- getAllTaskDefinitionsByTaskCat – Retrieves all task definitions for the given task category (for example, approval).
- getAllTaskDefinitionsByMetadataPackage – Retrieves all task definitions in the given metadata package.
- addTaskRoleAssociation – Adds new task owner role to the given task definition.
- updateTaskRoleAssociation – Updates or deletes a task owner role from the given task definition.
- getTaskRoleAssociation – Gets the details of a task definition and task owner role association.