Reopen Task Time-Triggered Transaction

This transaction enables you to change task statuses from SUGGESTED to OPEN as needed in order to reassign a task to a different user.

For example, if users log out at the end of their shift with tasks in the SUGGESTED status that are assigned to them, you can set these tasks as REOPENED so that they can be reassigned to users who are currently available to complete these tasks.

This transaction also reopens and unassigns all tasks that have been in the SUGGESTED status for more than an hour. However, this agent will not process voice-based tasks as the task completion notifications for the external system are not in real time.

Attributes

The following are the attributes for this time-triggered transaction:

Table 1. Reopen Task Attributes
Attribute Value
Base Transaction ID REOPEN_TASK
Base Document Type General
Base Process Type Task Execution
Abstract Transaction No
APIs Called changeTask()

Criteria Parameters

The following are the criteria parameters for this transaction:

Table 2. Reopen Task Criteria Parameters
Parameter Description
AgentCriteriaId Optional. For the specified agent criteria ID, tasks that have been SUGGESTED to a specific user, but that user is no longer logged in, are changed back to the OPEN status and made available for a new user assignment.
OrganizationCode Optional. For the specified organization code, tasks that have been SUGGESTED to a specific user, but that user is no longer logged in, are changed back to OPEN status and made available for a new user assignment.
ColonyID Required in a multischema deployment where a table may exist in multiple schemas. Runs the agent for the colony.

Statistics Tracked

The following statistics are tracked for this transaction:

Table 3. Reopen Task Statistics
Parameter Description
TotalNumberOfTasksReOpened Total number of tasks reopened.

Pending Job Count

For this transaction the pending job count is the number of suggested Task Records (with TASK_STATUS='1200') that have to be reopened.

Events Raised

This transaction raises events as specified under the changeTask() API in the Sterling Selling and Fulfillment Foundation: Javadocs.