Step: 1 Login to KIE Work Bench using kriv as user and krisv as password to Launch the Workbench as specified below.
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.
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.
Clicking on add provides below dialog .Specify name and Default group Id.
Once Organization unit is created you will find it in the list. Selecting the newly created Unit will show no Associated and Available Repositories.
Now move to repository section as specified below and create a new Repository.
Specify a name and select the organization unit you created in previous steps.
Once you select the Organization unit you will find Organization unit associated with the repository.
Now lets create a business process. Switch to Project Authoring by clicking on authoring->Project Authoring .
Click on Demo and you find your name under search box .Select your Org unit which is Alchemyls as specified below.
Select the elements under alchemyls in our case it is alchemyls with empty items.
Select New Item and view various artifacts that can be created which include project, Business Process, Data Object and others.
Select New Project and Enter AlchemySample in project Name.
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.
Create a new Business Process. Go to New Item and select Business Process as specified below.
In the Wizard Specify name to the Business Process and select the package here we are selecting alchemyls.alchemysample.
Your Dialog must look like below specified completed dialog.
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.
Click on the arrow specified to view Object Library specified below
Below is the tools made available as a result of clicking on the >> specified above.
Select start event and click on click on arrow, which gets highlighted, and double click to get the editor as specified below.
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.
Once Selected you will find a human appearing as specified below. Finally click on the circle to get End Task added.
As a result of above actions you will find a process with start,user task and End as specified below.
Save the Model clicking on save on right hand side first button.
Once it is saved click on the right hand side arrow to get the properties pane to edit some baasic properties to start with.
Once you get properties under core properties Enter Actors .We will Enter Krisv.
After making changes save them. Click on open Project Editor to Build and deploy Project.
Below is the Project editor page that helps you to Build and deploy.
Select Build and click on Build and deploy sub Menu to build the project.
To confirm Deployment go Process Management menu and select Process Definitions.You will find your sample process defined.
See the Below Diagram with the process.
Click on start under Action option .
Click on submit without adding anything in Form and correlation Key.
Once you click on submit you will find certain details check out your instance state is Active.
Go to options and select Process Model as specified Below.
Clicking on process model you will find the Process Model
Once Done Select Task from main Menu as specified below.
Task details are specified Just visualize the options for now. Click on start as specified below.
Once we start we find release and open options under actions tag.
Click on complete
Clicking on complete you will find Tasks empty.
Under process management Active Tab you will find nothing. But under completed you will find your task execution is over.
Now lets Un deploy the project. Select Deploy and Process Deployments under it.
Click on undeploy .
Project Un Deployed.