Running Business Processes and Composite Applications 10.4 | Running Business Processes and Composite Applications | webMethods Task Engine User’s Guide | Task Expression Reference | Understanding Task Expressions | About Condition Expressions
 
About Condition Expressions
Condition expressions test for a wide range of task characteristics, including:
*Current status or previous status
*Priority
*Input and output values
*Escalation
*Dates and times associated with the task
*Current user
For example, this simple condition expression tests for a task status of active:
#{currentTask.taskInfo.status} == "active"
*The #{currentTask.taskInfo.status} portion was selected from the Add Field display.
*The "equals" operator == was selected from the Add Operator display.
*The status "active" was selected from the Add Field display.
This more complex statement tests for the expiration of an active task:
#{currentTask.taskInfo.status} == "active" &&
(#{System.currentDateTime} + (ExpirationThresholdDays * 86400000)) >
#{currentTask.taskInfo.expireDate}

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release