Introduction

This sample demonstrates how to use follow-on tasks for your business processes. It covers how to:

  1. use follow-on tasks to delegate a piece of work to another user,
  2. create input messages for follow-on tasks by using API methods,
  3. create and start a follow-on task by using API methods.

Prerequisites

This sample relies on the federated user repository VMM (Virtual Member Manager) that is shipped with WebSphere® Process Server 7.0. In order to use this sample you have to ensure that a group sellers exists on your system and that several users are members of that group. This ensures that the owner of the parent task is allowed to retrieve the output messages of the subtasks, although in the template used for subtask creation, none of the security role privileges are granted to the owner of the parent task.

These user groups and users can be created running a command line script.

If you are using Windows (TM) and have administrator privileges for the WebSphere Application Server, then a simple command line script for adding the required groups and users may look like this:
ADDUSERS1.BAT

Similarly, these user groups and users can be deleted again after finishing this sample; a simple command line script for Windows looks like this:
DELETEUSERS1.BAT

Note that you may have to customize these command line scripts to reflect: