You are here: Home » Tutorial » Workflow Design

Workflow Design

E-mail Print PDF
Article Index
Workflow Design
Definition of the inbound transformer
Add the mapping element
Create an outbound router
Configure the Outbound transformer
Assign an outbound endpoint
All Pages

The workflow design module allows you to view or modify existing Mule configuration files or to create new ones. We will use the workflow designer to configure the information pathway between the ERPs of the reseller and the producer.

  1. Select "Add new workflow" from the context menu of the "Workflows" node in the project tree.
  2. Name it "Workflow_OrderToPurchase".
  3. Select "OK" to close the dialog.

The selected Mule version automatically matches the version of the selected mule directory, so we just leave it alone.

wd_addnewworkflow

Configuring the inbound endpoint

First an inbound Endpoint for reading the reseller's ERP message has to be created. Any kind of inbound endpoint can be chosen here (e.g. TCP/IP, SOAP, or JMS) but for simplicity we will use a file inbound endpoint, which reads the message from the file system.

Drag the “File” inbound endpoint from the “Inbound Endpoint”-section of the palette and drop it on the canvas.

Result:
Full WorkflowDesigner window

Now, a new inbound endpoint has been created and its parameters can be configured in the property panel.
Two properties are of interest in this example:

1. Select a describing name for the inbound Endpoint like “OrderSystemReseller”.
2. Configure the path from which the underlying file connector reads the messages coming from the reseller ERP.
The Path can be selected by clicking the button in the path property 1_small.

Generally, you will be able to read an explanation of each property found in the property box if you click on a property name.

endpointproperties