Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13543

I can use some workflow context specific mvel function helpers for defining escaltion rule's condition

    XMLWordPrintable

    Details

    • Type: User story
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.9.3
    • Component/s: Workflow
    • Sprint:
      Sprint 4, Sprint 5 (5.9.3)

      Description

      Those functions are:

      Available on the context when evaluating conditions on transitions and escalation rules:

      • WorkflowFn.timeSinceWorkflowWasStarted()
      • WorkflowFn.timeSinceTaskWasStarted ()
      • WorkflowFn.timeSinceDueDateIsOver()

      Available on the context when evaluating conditions on escalation rules:

      • WorkflowFn.timeSinceRuleHasBeenFalse ()
      • WorkflowFn.ruleAlreadyExecuted()

      They all return the number of miliseconds since the given event, compared to currentDate.

      The do not require to set any particular node variable or so.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified