webMethods Task Engine 10.2 | Task Expression Reference | Understanding Task Expressions | About Filter Rule Expressions
 
About Filter Rule Expressions
Filter rules contain condition expressions only. These rules filter certain tasks from the task inbox of a user or role as follows:
*For the Filter Inbox - Accepted Tasks action, the following expression is used:
(isEmpty #{currentTask.taskInfo.acceptedByList}) ||
(#{currentTask.taskInfo.acceptedByList} contains
#{currentUser.principalID})
This condition allows a user to see only tasks that have not yet been accepted, or tasks accepted by the user. This effectively filters out tasks accepted by other users.
*For the Filter Inbox - User Activity action, the following expression is used:
(#{fieldExpr} doesNotContain #{currentUser.principalID} &&
#{fieldExpr} doesNotContain #{currentUser.principalURI} &&
#{fieldExpr} doesNotContain #{currentUser.principalDN})
This condition filters out tasks that the current user has already worked on. It requires you to select a custom business data field or service that returns a list of the users that have worked on the task. You must also configure the custom field or service to be updated by the Task Details portlet or by another event action.

Copyright © 2007-2018 | 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