Collaboration Task Administration
Use
You can load and remove templates, query workflow instances, work items and workflow tasks to get some important details and to perform actions.
The workflow comes with preconfigured templates. You do not need to upload templates to create collaboration tasks.
Cleanup of processes removes all object together based on date only, not on selection conditions. For example, if many collaboration tasks have been created the table can grow large. We recommend to delete workflow templates, which are no longer in use.
Prerequisites
You must be a portal user with administrator privileges.
User Roles for Task Creation
To access the tasks or create the tasks the user must have:
-
The role id com.sap.netweaver.coll.Collaboration assigned
-
The role eu_role assigned
-
For room creation, the role com.sap.netweaver.coll.CollaborationRoomCreation must be assigned to the user
Procedure
Start Collaboration Task Administration
In the portal choose .
Managing Workflow Templates
In the collaboration task administration, choose Workflow Templates .
A list of Workflow Templates appears on the right frame. Workflow templates are process definitions encoded in SAP's own XML format. A workflow template is identified by its template id.
Load Template
You can upload a workflow template from file system.
-
Choose Load Template from File .
-
Enter the file name or select the file via Browse .
-
Choose Load .
The template is uploaded and displayed in the Available Workflow Templates list.
Remove old templates
You can remove old templates created on a selected date or earlier.
-
Choose Remove Old Templates .
-
Enter the date to remove templates generated on this date or earlier.
-
Choose Remove .
This function only removes workflow templates, which have been generated by the collaboration task. Only templates for which no active workflow instances and no active work items exist are removed.
Remove all templates from the database
You can remove all existing templates from the database.
All workflow objects (workflow instances, work items, tasks) are also removed.
Restore Default Templates
Choose Restore Default Templates to remove all templates, which are shipped with Workflow and load the whole set of templates again.
Available Actions in the Workflow Template List
The following actions are available in the Action tab of the Available Workflow Templates list:
|
Action |
Description |
|---|---|
|
Activation / Deactivation of templates |
Before using a template make sure that the template is active. The icon works as a toggle for activating / deactivating a template. This functionality is not useful for templates generated by the template generator. |
|
Template ordering |
The template reordering is intended for changing the position of templates, which have the same even as triggering events. This functionality is not useful for templates generated by the template generator. |
|
Delete |
Removes the template from the list. |
Managing Workflow Instances
A Workflow instance represents a concrete process. The control flow of this process is defined by the corresponding workflow template. For each workflow instance there is one workflow template. Each workflow template can have several workflow instances. A workflow instance can be identified by its workflow instance id.
To query workflow instances:
-
Choose Workflow Instances .
-
Select the criteria the workflow instances have to fulfill.
-
Choose Submit Query to view the results.
-
To see detailed information on a workflow instance choose Details .
-
From the Workflow Instance Details view you can navigate to the workflow instances' child work items (if there are any).
You can use the following criteria to query the existing workflow instances:
|
List Category |
Description |
|---|---|
|
Execution State |
Choose from: Running Error Terminal Suspended Not yet started |
|
Creator |
Search by user ID |
|
Workflow Template ID |
Search by template ID |
|
All Work Items with Status |
Choose from: Created Available Claimed Cancelled Completed |
|
Business Object Type |
The workflow (collaboration task) supports the business object type WFTask . This object type is predefined. |
|
Creation Date Between |
Select dates between which the instance was created |
|
Last Execution Date Between |
Select dates between which the instance was last executed |
|
Number of Days When Work Items Not Executed |
Enter number of days between which the work item has not been executed |
Managing Work Items
A Workflow Work Item represents a task, which has been assigned to one or more users. Each work item unambiguously belongs to a workflow instance. Each workflow instance can have several work items. A work item can be identified by its numeric work item id.
To query work items:
-
Choose Work Items.
-
Select the criteria the work item instances have to fulfill.
-
Choose Submit Query to view the results.
You can use the following criteria to query the existing work items:
|
List Category |
Description |
|---|---|
|
Execution State |
Choose from: Created Available Claimed Cancelled Completed |
|
No Agent |
Search by user ID |
|
Multiple Owners |
Multiple owners |
|
Workflow Template ID |
Search by template ID |
|
Workflow Instance ID |
Search by Instance ID |
|
Assigned to user ID |
Search by assigned user ID |
|
Business Object Type |
For example: Default Application, Workflow tasks |
|
Creation Date between |
Select dates between which the instance was created |
|
Last Execution Date between |
Select dates between which the instance was last executed |
|
Number of Days When Work Items Not Executed |
Enter number of days between which the work item has not been executed |
Managing Workflow Tasks
You can get a quick view of the tasks and perform task clean-up actions.
-
Choose Workflow tasks.
-
Select the criteria the tasks have to fulfill.
-
Choose Submit Query to view the results.
-
In the result list, you can remove individual tasks.
You can use query the existing tasks using the following criteria:
|
List Category |
Description |
|---|---|
|
Task Status |
Choose from: Any New Assigned Rejected In progress Cancelled Completed Approved and Completed |
|
Task Type |
Choose from: Standard Task Request Feedback Request Nomination |
|
Created By |
Search by user ID |
|
Assigned To or Tracked by Invalid User(s) |
Select by invalid users. Invalid users are those users who do not exist in the database and/or have been deleted by the User Management. Once this option is selected you can redefine user if assignee or tracker is not valid anymore. The subsequent display allows you to select a valid user. |
|
Creation Date Between |
Select dates between which the task was created |
|
Last Modification Date Between |
Select dates between which the task was modified |
Scheduling Tasks
In the scheduler for tasks you can schedule following tasks:
-
Workflow attachment task
Cleans up unwanted attachments.
-
Deadline task
Runs periodically and sends notifications for all uncompleted tasks of all users.
To schedule the tasks:
-
Navigate to .
-
To schedule a task to delete temporary attachments, choose Workflow Attachment Task .
This task runs at a specified period and as default is set to everyday at 1800 . The administrator can change the default period. Use Edit to change to the available list of options.
-
To schedule the deadline task, choose Scheduler for Deadline Task .
Job runs periodically every five minutes by default. The administrator can change the default period. Use Edit to change to the available list of options.
More Information
For latest collaboration task updates and software fixes see SAP note number 812079
. This is the central note for collaboration task.

