Integrate Software AG Products Using Digital Event Services 10.5 | Integrate Software AG Products Using Digital Event Services | 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.