Searching Knowledge Base for v3


Knowledge Base for v4


Forums


Marketplace


Translations


Design a Process with Workflow Designer

Skip to end of metadata
Go to start of metadata

Launch Workflow Designer

In the Application management page, click on "Launch Workflow Designer" to start Workflow Designer.

Figure 1: Workflow Designer

In the Community Edition, if you encounter a security problem launching the Workflow Designer with the message "Java applications are blocked by your security settings", this is due to security changes introduced in Java 7 Update 51 onwards for self-signed certificates. There are several solutions for this in the article: Java Security Settings for the Workflow Designer

Note that the Workflow Designer in the Enterprise Edition is not affected by this as it fully signed and supported by the Joget Team.

Create New Process

Double-click on the process to bring up its properties. Rename the process as:

ID: leaveApplicationProcess
Name: Leave Application Process

Figure 2: Creating a New Process in Workflow Designer

Create Participants

Create Participants by first clicking on the Participant element and then clicking inside the design pane to insert a Participant's swimlane.
Create the following participants:

ID: applicant
Name: Applicant

ID: approver
Name: Approver

Figure 3: Creating a New Participant in Workflow Designer

Insert Activities and Transitions

Create activities as required by the process flow. Insert one activity into each Participant's swim lane. Use the Transition element to connect them together.

Figure 4: Adding a New Activity in Workflow Designer

Rename the activities as required.

ID: submitLeaveApplication
Name: Submit Leave Application

ID: approveLeave
Name: Approve Leave

Figure 5: Configuring "Submit Leave Application" Activity

Now, we have a process with 2 activities.

Insert Route

Next, we will be defining the business rule by using the Route element in the workflow design. Insert a new Route followed by 2 new Activities, as shown in the figure below.

Figure 6: Adding Route and 2 New Activities

Add start and end bubbles to complete the flow.

Define Route Conditions

Next, we will need to define the conditions of the routing. The following figure explains the routing conditions:

Figure 7: Defining Conditions in Route

Define the first outgoing transition from the Route element with the following attributes:

Figure 8: Configuring Transition to Set Condition

Define the second transition using the following attributes:

Figure 9: Setting a Transition's Condition Type to Otherwise

Define Workflow Variable

A Workflow Variable needs to be declared to make the routing possible. This can be done in the Process Properties dialog box.

Figure 10: Configuring Process Properties and Managing Workflow Variables

Create a new element under Workflow variables and name it "status".

Figure 11: Adding a New Workflow Variable

  • Save the Workflow (XPDL file).

Deployment

  • Update via Saved XPDL.

Deploy the updated process flow to the system once you are done. You should see the updated process design in the Manage App page, as shown in the figure below.

Figure 12: Process Management Page

Labels

test test Delete
gg gg Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.