JBPM 6 - 1.2 - Process Variables

From Training Material
Jump to navigation Jump to search

JBPM 6 - 1.2 - Process Variables 过程变量

Scenario 场景

  • We would like to record the name of the person we are interviewing and the outcome of the interview.
我们想记录我们面试的人的名字和面试的结果

Instructions 步骤

  1. Copy emp_recruitment1 to emp_recruitment2
    Top Right Corner, click Copy
  2. Change the Process Name and ID accordingly
    JBMPProcessIDandName.png
  3. Create process variable pv_candidate_name (Properties/Variable Definitions)
  4. Generate forms
    JBPMNGenerateAllForms.png
  5. Check in Project Explorer under FORM DEFINITIONS that the forms have been properly generated
  6. Deploy
  7. Start new process instance
  8. Perform a task
  9. Check in Completed instances (Process Management/Process Instances/Completed/Actions/Details) the value of the variable
    JBPMProcessVariables.png

Exercise 1.2.1

  • Add pv_candidate_suitable:Boolean variable and generate forms for it