PORTAL
WORKFLOW API
The feature allows the developers to easily create work flow
portlets using the following that are provided as a part of this
release -
The current release supports task management functionality using
the JCAPS business process.
This can be extended to other business processes like jbpm.
It is assumed that the JCAPS business process is configured. It is
this business process that takes the responsibility for creating the
task.
API
Support
The portalWorkflowAPI provides API for doing the following on a
task -
check out the task – the user can claim ownership of
the task.
Execute the task – work on the task and save the
details. For eg. Approve or disapprove a document.
Complete the task – mark the status of the task as
completed.
Escalate Task – escalate the task to manager.
Reassign Task – re-assign task to another colleague.
Check in Task – renounce ownership of task.
Delete Task – delete the task.
Taglib
Support
Taglib support is provided which the developers call use for the
following
Initializing the taglibs – Initialize using the <%@
taglib %> declaration
Fetching the tasks based on any search criteria – This
would be used for showing the task list for the user.
Getting details of a particular task – For eg. This
would be needed to fetch task details when the user wants to execute
the task.
Get count of the number of tasks – This would be needed
to show the total count of tasks in pagination.
Tooling Support
Tooling support is provided so that the code for certain
operations is automatically generated when the user drags and drops
the entities
from the palette that comes on the Netbeans Ide.
As of now the user drag n drop the following -
The taglibs for viewing task, getting task details, task
count.
The checkout, complete and execute APIs. We would be
providing drag drop features for other APIs also shortly.
The future scope includes the following
|