Skip navigation FileNet logo
Glossary  |  Help Directory  
  Help for Process Designer
  Search  |  Index
Process Reference  
Process Designer
Getting Started
Workflow Properties
Steps
Routes
  Create route
  Specify route properties
  Associate a response
  Specify routing expression
  Delete a step or route
Validate & Launch
   

Routing expression examples

This example shows use of both field values and responses, and AND and OR operators in creating the condition expression for each route. It also shows an "else" route that is set to true. See the Reference topic Expressions for information on creating a valid expression.

In the following example of a workflow for processing a request for reimbursement, there is one data field, Cost, and three responses in the Eval inv step for indicating the department: Admin, Finance, Development.

  • If the cost of the item is less than or equal to $2000, and the department is Admin or Finance, the invoice is routed to the Admin department accounts payable.
  • If the cost is <= $3000 and the department is Development, the invoice is routed to the Development department accounts payable.
  • Otherwise, if neither of the previous conditions is true, the invoice is routed to the Review step. The author specifies that the workflow takes the route of the first true condition. Note that the route Over limit must be last in the list.

Multiple routes

Route Pay: Cost<=2000 and
(ANY(Admin) or ANY(Finance)

Route To Dev: Cost<=3000 and
ANY(Development)

Route Over limit: Always true

TIP If there is no route with an expression that evaluates to "true", the workflow will stop.