Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2629

I can use Expression language in TaskQueries

    XMLWordPrintable

    Details

      Description

      AT:

      • expressions (EL) can be used in a filter predicate
      • this means a task query can have expressions for following attributes:
      • assignee, assigneeLike, owner, involvedUser
      • candidateGroup, candidateGroups, candidateUser
      • dueAfter, dueDate, dueBefore
      • createdAfter, createdOn, createdBefore
      • followUpAfter, followUpDate, followUpBefore
      • The following methods are provided in the scope:
      • ${ currentUser() } <=> user id of the current logined user or null
      • ${ currentUserGroups() } <=> List of Strings of the current logined groups or null
      • ${ now() } <=> returns the current date as Java Date
      • ${ timeDate() } <=> returns a joda time TimeDate object which allows date magic like (${ timeDate().plusWeeks(2) })

      Note: joda time TimeDate objects which are for example created by timeDate() will automatically converted to Java Date after expression evaluation.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              matthijs.burke Matthijs Burke
              Reporter:
              meyer Daniel Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: