Usually the first step of any workflow is a kind of an initiating step that will trigger the workflow itself through doing specific modification on master data. However, this modification will not be saved before going through all designed steps in the workflow and finish by being approved or not.
The business user assigned the initiating step will trigger the workflow and then each step in the workflow will be enabled after the completion of the previous step.
The following example uses the workflow imported from the MDM Demo project. The workflow Product_Product has been designed to validate any change in the price of a product. In the workflow, two human interventions are defined: the first to initiate the change and the second to validate this change. For further information on workflows, see the Talend Studio User Guide.
The MDM server is already launched.
The BPM server has already been started.
The MDM user information has been synchronized from MDM to the BPM server.
You have been assigned the role with the appropriate user authorization and access rights.
At least one workflow is defined in Talend Studio in which you have been defined as the user to intervene at the workflow initiating step.
A Runnable Process has been created to launch the workflow. For further information on the Runnable Process, see the Talend Studio User Guide.
You have selected the data container that holds the master data you want to manage and the data model against which the master data will be validated. For more information, see Accessing data containers and data models.
To initiate a change on master data through a specific workflow, complete the following:
Log into Talend MDM Web User Interface and in the [Welcome] page, click Master Data Browser. The corresponding page is displayed.
From the Entity list at the top of the page, select the entity which contains the data records you want to display, Product in this example. Click Search.
All the data records of the selected entity are displayed in the page and the details of the first record open by default in the panel to the right.
Click the data record for which you want to initiate a change in data.
The details of the selected record are displayed in the panel to the right.
In the upper-right corner of the page, click the arrow and select from the list the Runnable Process that has been defined to trigger the workflow that will modify the price of a product.
Click the button to launch the selected Runnable Process. Request Price Change is selected in this example.
Repeat the operation to launch the process and initiate the change in other data records as necessary.
On the Menu panel, click Govern > Workflow Console to open the corresponding page.
A task for each of the data records has been listed in the Tasks view.
By default, you will log into the Bonita BPM web portal as the same user you log into Talend MDM Web User Interface. The web portal page may look different and allow different operations according to the roles of the login user.
If the Bonita BPM server is installed as a standalone application, you can choose to log into the web portal as a different user.
For more information about how to install the Bonita BPM server manually, see the Talend Installation Guide.
Double-click the task to open the task details.
Click DO IT to take and do the workflow task.
If a customized form for the workflow task has been defined in Talend Studio, this customized form is displayed to show the task detail:
For further information about how to define a customized form and how to use a Talend web template as the customized form, see the Talend Studio User Guide.
If no customized form has been defined, the default form is displayed showing all the task detail.
In the Enter New Price field, enter a new price number, and then click REQUEST APPROVAL to submit the information.
Now an authorized user needs to validate the price change of the product.
Click Price Approval to initiate the price validation task.
Review the new price and then approve or reject the new price according to your need.
In this example, click APPROVE NEW PRICE.
A page is displayed, which shows that the information is submitted and no task is available now.
Click the Tasks tab, and then select Done on the left panel.
The page lists the workflow task(s) you have just finished, and the details of each task.
Go back to Talend MDM Web User Interface, and in the [Master Data Browser] page, verify that the modified data record now has the newly approved price.