The fourth step in defining a workflow subscription is to define property-based conditions for launching the workflow. For example, you could launch a workflow if the document was created by a specific user and a specific property is set to a specific value. You could launch an approval workflow for documents in the selected class added by Tammy Roberts (troberts) with the value greater than 150,000 for the property named Loan Amount. If Tammy adds a document to the class and the value set for Loan Amount is the less than 150,000, the workflow is not launched.
You can create simple or complex criteria. Use the property, operator, and value fields to define the desired property criteria. When you click the Add Line to Expression icon, the mathematical expression is added to the expression display. Your expression must be a valid SQL expression.
The name displayed in the property field is the property label, as defined by your administrator for the object store. When the property is added to the expression field, the property's symbolic (programmatic) name is displayed. The property label is often a more easy-to-read name than the symbolic name.
Event expressions
Event expressions are the default and used to determine if the workflow is launched. The conditions in the expression are evaluated before the workflow is sent to the Process Engine to be placed into a queue.
Expression guidelines
To proceed without defining an expression:
To define an expression: