Javatpoint Logo
Javatpoint Logo

jBPM WorkFlow Validation

Validation is the action of making something legally or officially acceptable. To understand the WorkFlow Validation, we have to follow the following steps:

Step 1. Open the blank rf or bpmn file.


jbpm WorkFlow Validation

Step 2. Draw an Event with the help of Component Palette and drag and drop it on the right hand side.


jbpm WorkFlow Validation

Here we take Start Event, Divergent Gateway, Convergent Gateway, Script Task, End Event, Sequence Flow etc. Above is a blank workflow and there is no description for any Events.

Step 3. To check Validation Go to Windows -> Preferences -> Validation


jbpm WorkFlow Validation

Step 4. If any error found, we can see this in the Problems Area.


jbpm WorkFlow Validation

Step 5. Now we will set the Properties for every Event Task. Select the Divergent Gateway and click on the properties, then select Type and select the Gate which you want.


jbpm WorkFlow Validation

Step 6. Again select Constraints and click on the Action properties, following screen appears.


jbpm WorkFlow Validation

Step 7. Click on Edit Button and Fill the details.


jbpm WorkFlow Validation

Step 8. Now Click on Imports Button and select the class on which we want to perform an operation. Here we will Import the Passenger POJO in our example.


jbpm WorkFlow Validation

Step 9. Do the same for another Node Script, following screen appears and Click OK.


jbpm WorkFlow Validation

Step 10. Now we select the Script Task and do the same as we do for Divergent Gateway. The screen appears as:


jbpm WorkFlow Validation

Step 11. Similarly, do the same for another Script Task.


jbpm WorkFlow Validation

Step 12. Now we save the WorkFlow and Check for Validation. If any error found then check it again, otherwise, problem resolved. This process is the Workflow Validation created and resolved in jBPM5.






Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA