Icon indicating 6.0.1 content only

Creating task templates and task instances at runtime

Why and when to perform this task

You usually use a modeling tool, such as WebSphere® Integration Developer to build and deploy task templates and their task instances. However, you can also create human or participating task instances or templates at runtime. You might want to do this, for example, when the task definition is not available when the application is deployed, the tasks that are part of the workflow are not yet known, or you need a task to cover some ad-hoc collaboration between a group of people.

Steps for this task

  1. Create a task model.

  2. Validate the model

  3. Create the task template or the task instance.

    Use the HumanTaskManagerService interface to complete this action. If your interfaces contain types other than simple Java types, specify an application name when you create your task instance or template.

  4. Include the data types and interfaces in the application that are used by the runtime task or template.

    When the task or template is started, it runs in the context of the application to get access to the data types and interfaces. Ensure that your application also contains a task or process definition so that the application is loaded by BusinessProcessChoreographer.


Terms of use | | Broken links

Last updated: Tue Feb 21 17:21:51 2006

(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)