JBPM 6 - 1.3 - InputSets and OutputSets
Jump to navigation
Jump to search
JBPM 6 - 1.3 - InputSets and OutputSets
InputDataSets Instructions
- Copy emp_recruitment2 to emp_recruitment3
- Change the Process Name and ID accordingly
- In the Phone Interview task, add DataInputSet ut_candidate_name
- In assignments, map pv_candidate_name to ut_candidate_name
- Generate forms
- Deploy
- Start new process, input Albert as the candidate name
- Perform a task, change the ut_candidate_name field value before complete a task to AlbertModifiedInUserTask
- Check in Completed instances the value of the variable
OutputDataSets Innstructions
- Create DataOutputSet in Phone Interview task name ut_candidate_suitable:Boolean
- In Assignments, map ut_candidate_suitable to pv_candidate_suitable
- Generate all forms (remove old forms before)
- Edit process form (npproj.emp_recruitment3-taskform) and remove pv_candidate_suitable field
- Save and Deploy
- Execute the process
- When performing the task, tick the "candidate_suitable" field
- After completing the task, go to completed instances and view the process variables and process model.
Exclusive Gateway
- Modify process as shown on the diagram above
- Add constraint to the appropriate sequence flows:
- to Hired end:
return pv_candidate_suitable;
- to Not Hired end:
return pv_candidate_suitable == false;
- Run process twice selecting different option in ut_candidate_suitable check-box
- In completed instances check whether the variable got different values