
Setting up a user interface for your human task
The human task editor provides various client types that you can use to customize a user interface through which users can interact with the tasks in the runtime environment.
About this task
A client delivers task-related information to a staff member in the form of an interactive application. You can generate various types of clients for your human tasks, and use the generated clients to customize a user interface through which users can interact with the tasks in the runtime environment. Or, you can use generated clients to quickly demonstrate a human workflow, for example, as a proof of concept or prototype.
Using the client generator, you can generate clients for both stand-alone human tasks that exist independently of a BPEL process, and inline human tasks that have access to the execution context a BPEL process. You can create one client for all the human tasks in a module, or generate one client per task. You can also generate one client for all human tasks in multiple processes or modules.
You might want to provide a choice of user interfaces, clients with different functionality for different roles, or basic clients that can be reused by changing their appearance.
User interfaces for your human tasks can make use of several types of technology. The human task editor provides a User Interface section to add technology-specific configuration settings to a human task. For some of the client technology types included by default, the corresponding property page allows the creation or selection of visualization files that match the Business Object data structure used by the human task.
- If you want to create user interfaces for more than one task, the wizard is the more efficient choice, since you can create user interfaces for multiple tasks, even if they are not in the same module.
- If you want to create an IBM® Form to directly interface with this task in this module, for example to use the form in the Task Information widget in a Heritage Process Portal space, use the human task editor. For IBM Forms and JSF, the wizard creates not only the generated artifacts but also stand-alone web applications to use the generated artifacts.
- If you want to work in a Heritage Process Portal space but do not have access to IBM Forms, you can create an HTML-Dojo user interface and use it in the Task Information widget.
- If you want to use an existing IBM Form
for your user interface you must use the human task editor and select
the IBM Form in the Properties
view. Note: The structure of the IBM Form must match the business object structure of the interface used by the human task. The simplest way to ensure this, is to create the human task using the existing IBM Form as a template. To do this, select to launch the Generate a new BPEL process from IBM Forms wizard. Using this wizard create a BPEL process to contain the generated human tasks, create the human tasks and select the IBM Forms, the structure of which will be used to generate the interface used by the human task.