KIE WB Distribution :: User Task Data I/O Example

 

Create Organizational Unit
Authoring > Administration > Organizational Units > Manage Organizational Units

Create Repository
Authoring > Administration > Repositories > New Repository

Create New Project
Authoring > Project Authoring > New Item > Project

Create New Business Process
New Item > Business Process

Create Process Variable

Define Data I/O

User Task Core Properties Summary

Control the Process Flow
When approved variable is true, the process will lead to Approved Script Task.

When approved variable is false, the process will lead to Rejected Script Task.

Script tasks scripts
Approved

Rejected

Deploy and Run the process

  • Build & Deploy process
  • Process Management > Process definitions start the process
  • Move to the Tasks menu and start task

After start task

Start task

Write in approved_out for example “true” and press Complete.

Result

 

Leave a Reply