webMethods step by step creation and execution of simple Business process model
Task: creation and execution of simple Business process model/webMethods BPM
Platform: webMethods 7.1
1.How to create a process model
2. How to create a Task
3.How to deploy a process model in to MWS
4.How to Execute a process Model
Creation of a Process model
Before starting a process model,check these things:
1) Go to windows -> Preferences ,Add the Logical server and test the connection(whether able to connect or not)
2) Also check the Process Audit database
Open the Designer and choose a work space while opening
Step 2:Go to Process Developer perspective
Step 3: Create a new process Project.Got to File -> New -> Process Project
Right click on the Project which is created and selct ânewProcessâ option,and give the process name as you desired
The First step of any process model should be âReceive âstep ( ). Hence drag and drop the receive step at canvas.
Drag and Drop an Activity step () to the canvas. And right click the Activity and change the step type to Task. Give the name of the Activity step as you desired.
Select the implementation in the Properties panel and go to Receive document property, select the appropriate document from the browse option or you can drag drop the component from the IS browser(you can do like this for documents,services).
Select a Transition flow from Receive step to Task.
Select the Input/output tabs for the Task in the properties panel.
Here we will take a variable isApproved which will be the output of the task.
We will place a condition on the transition flow to chk whether isApproved variable is yes or no
Based on the result from the task we will redirect the transition flow to the further steps.
Creation of a Task:
We need to create the task before deploying the process. For this Right click on the Task and go in this way
Create Implementation Ã New Task
It will automatically create a task and task project, when you click finish.It will automatically change or it will ask to shift in to my webMethods perspective.
Every task has a default view associated with it. Select that one and made necessary modifications as required.
Deployment of a process Model:
Once after completing the necessary changes in the view, switch on to the process developer perspective.once doing all necessary changes. Click on to build and upload the code.
After Deploying the process model log on to mws, go to
AdministrationÃ Business Ã Business Processes
There you will find the Business process.
Execution of a Process Model:
After making the necessary setting s to the process mode. Execute it. The model requires a subscription document from broker to initiate the process. Hence we are publishing the document from the broker.
In the real time scenario, triggering wonât happen like this.(like publishing a document from developer)
Once the document was published a process instance was created for this input.Go and find the process instance in the below path
Monitoring Ã Business Ã Process Instances
Click on that process Instance.
Process is waiting for a task(human response) need to complete.
To approve the task go to the following path
Monitoring Ã Business Ã Tasks Ã Inbox
Click on that task which is waiting for Approval.First Accept the Task.And then click on yes or no(radio button) And click submit button.
Once this task is approved.The process instance will be started for execution of remaining of steps.
Finally the process instance diagram show like this