Before you begin
Create the user interface (XForm).
Business processes usually include both automated activities and human intervention activities. When you need to perform human intervention activities, you need to create and use the user interface (XForm) to complete the activity. In order to achieve this requirement, the following steps need to be performed.
- Do either of the following:
- In the current workspace and its projects, click the icon (business processmodel) to open the Orchestration modeling interface. The business process model appears in the business process modeling environment.
- If you have already opened the business process model in the business process modeling environment, perform step 2nd.
- From the workspace document, for example, the project content of this article is <Solution> > <project>, where the user interface folder is <user interface> Drag and drop the interface you need to the human intervention node. The user interface is bound to the active link and the user interface is innovated with the message transfer model (delivery model).
- Double-click the user interface connection for the activity link. Alternatively, right-click the activity and select Properties. <Activity>- Task Properties pane appears.
- Set up the user Interface Activity link (manual intervention link).
- Click the Save icon. Creates a process model with a user interface activity link.
- &NBSP; Business Process Execution &NBSP;>&NBSP; Span style= "LINE-HEIGHT:17.3333339691162PX; margin-bottom:0px ">validate and generate BPML ". If there is no warning, the display status information is no warning. If there is a warning, resolve the error and re-validate the business process model.
- business Process execution &NBSP;>&NBSP; Publish to Organization " Publish the process, or, in the workspace, "&NBSP; Workspace Documents > <Solution> > < Project> "Select the process model and select" business Process Execution &NBSP;>&NBSP; publish to Organization " release process. The process model is published to the organization tenant.
- Right click on the process modeling artboard and select "&NBSP; Span style= "LINE-HEIGHT:17.3333339691162PX; margin-top:0px ">business Process execution > Run "or, &NBSP; Workspace Documents > <Solution> > <project> " Select the process model and select " business Process execution &NBSP;>&NBSP; run ". The instantiation of the Orchestration model runs.
In this way, a human intervention process model with human interaction interface is successfully built.
Process Model design case with user interface
The following cases describe the modeling process of the product information presentation process model, which can be modified and displayed to fill the unit price and reorder horizontal non-transactional forms.
Business requirements
The business process model should meet the following requirements:
- Display form (XForm) Enter the Product ID;
- Displays another form that displays product information based on the information provided in step 1. These product information can be modified;
- Displays a third form that displays the product ID and ProductName(product name) for the products. The form (XForm) should also show two other domains, unit price, and reorder levels, which are also editable.
- Display the fourth form, circulate to the purchasing manager to display the product ProductID and the Unit price notification activity link.
Prerequisite
- Create a user interface that gets the product ID (get products ID) with the Product ID input field (input);
- Create a Get Product information user interface (getproducts details);
- Create modify product Information interface (Updateproducts details), Modify product information in database by GetProduct method;
- Create a Notification app service interface (Notify application service) that displays the Product ID and unit price;
- You can use the above user interface directly on the business process model as a WSDL for the user interface for valid input and output messages.
Design Process Model
- Create the orchestration as shown in the user interface you want to drag and drop:
- , configure the ProductID mapping (map) for the " Get Product ID " interface.
- As shown, configure the ProductID, ProductName, UnitPrice, reorderlevel mappings for the Update Product details Interface .
- As shown, for the Notify application Service Interface, configure the mapping ProductID to the Header and UnitPrice to the Task map (map), Header and task define the identifier (process Identifiers) for the process identity.
- Save and validate the process model;
- Publish the process to run time;
- Run the process and execute it.
(Cordys BOP 4.3) using human activities in the business process model