Search This Blog

Monday 20 June 2016

jBPM KIE



Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 12.33.01 pm.png

We have various options that helps us to author deploy and test jbpm Process flows. Have a view on the entire menu Items on the Dashboard specified below.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 12.33.24 pm.png

Step: 2 create an Organization unit. Create a new Repository and assign that repository to the organization unit as specified below in the steps.
Go to Administrative perspective and select Manage Org units as specified below. Click on add.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 2.29.52 pm.pngDescription: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 2.29.44 pm.png

Clicking on add provides below dialog .Specify name and Default group Id.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.00.40 pm.png

Once Organization unit is created you will find it in the list. Selecting the newly created Unit will show no Associated and Available Repositories.


Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.00.49 pm.png

Now move to repository section as specified below and create a new Repository.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 2.34.35 pm.png
Specify a name and select the organization unit you created in previous steps.


Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.01.25 pm.png

Once you select the Organization unit you will find Organization unit associated with the repository.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.02.01 pm.png

Now lets create a business process. Switch to Project Authoring by clicking on authoring->Project Authoring .
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.02.50 pm.png


Click on Demo and you find your name under search box .Select your Org unit which is Alchemyls as specified below.

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.03.01 pm.png

Select the elements under alchemyls in our case it is alchemyls with empty items.

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.03.10 pm.png


Select New Item and view various artifacts that can be created which include project, Business Process, Data Object and others.

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.03.51 pm.png

Select New Project  and Enter AlchemySample in project Name.

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.04.13 pm.png
Now once again if you go and see the Org Unit and Repository you will find this project added to it as specified in the below Screen.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.04.34 pm.png

Create a new Business Process. Go to New Item and select Business Process as specified below.

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.04.57 pm.png



In the Wizard Specify name to the Business Process and select the package here we are selecting alchemyls.alchemysample.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.05.50 pm.png
Your Dialog must look like below specified completed dialog.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.06.01 pm.png

Once you click on ok you will find Process Modeler Launching .Once it is launched click on the arrow specified below to see the Drag Drop toolset loaded with various tools that helps us to create Business Process flow diagram.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.06.21 pm.png
Click on the arrow specified to view Object Library specified below
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.06.32 pm.png

Below is the tools made available as a result of clicking on the >> specified above.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.06.41 pm.png
Select start event and click on click on arrow, which gets highlighted, and double click to get the editor as specified below.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.09.32 pm.pngDescription: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.10.09 pm.png

Type sample in the editor. Once you see name select the task and tool icon as specified below to get options of various task. Select user Task from the list to make it a User task.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.10.39 pm.png
Once Selected you will find a human appearing as specified below. Finally click on the circle to get End Task added.

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.10.52 pm.pngDescription: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.11.27 pm.png

As a result of above actions you will find a process with start,user task and End as specified below.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.11.36 pm.png
Save the Model clicking on save on right hand side first button.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.12.01 pm.png

Once it is saved click on the right hand side arrow to get the properties pane to edit some baasic properties to start with.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.15.26 pm.png


Once you get properties under core properties Enter Actors .We will Enter Krisv.


Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.16.13 pm.png
After making changes save them. Click on open Project Editor to Build and deploy Project.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.18.58 pm.png
Below is the Project editor page that helps you to Build and deploy.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.19.09 pm.png


Select Build and click on Build and deploy sub Menu to build the project.

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.19.29 pm.png

To confirm Deployment go Process Management menu and select Process Definitions.You will find your sample process defined.

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.20.24 pm.png


See the Below Diagram with the process.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.20.46 pm.png
Click on start under Action option .
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.22.01 pm.png

Click on submit without adding anything in Form and correlation Key.

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.22.30 pm.png
Once you click on submit you will find certain details check out your instance state is Active.

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.22.52 pm.png
Go to options  and select Process Model as specified Below.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.23.58 pm.png

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.24.05 pm.png
Clicking on process model you will find the Process Model

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.24.17 pm.png
Click Ok.

Once Done Select Task from main Menu as specified below.


Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.25.45 pm.png
Task details are specified Just visualize the options for now. Click on start as specified below.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.27.13 pm.png

Once we start we find release and open options under actions tag.

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.27.26 pm.png
Click on complete
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.27.51 pm.png



Clicking on complete you will find Tasks empty.

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.28.01 pm.png

Under process management Active Tab you will find nothing. But under completed you will find your task execution is over.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.28.17 pm.png

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.28.27 pm.png
Now lets Un deploy the project. Select Deploy and Process Deployments under it.
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.29.19 pm.pngDescription: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.30.32 pm.png
 Click on undeploy .

Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.30.40 pm.png


Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.30.49 pm.pngDescription: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.28.27 pm.png
Description: MCOS:Users:niranjanpandey:Desktop:Screen Shot 2016-06-04 at 1.30.59 pm.png

Project Un Deployed.
















No comments:

Post a Comment