Appian 19.4 Node Timer Exception with Rule Expression

Hello all,

Is it not possible to use a Rule Expression as the expression that defines the configuration of a Timer Event?

We have an issue with setting up a timer based Exception Flow on a User Input task where the timer is defined as "Skip this node at the date and time specified by this expression" and the logic is implemented as a Rule Expression instead of writing it directly within the Timer event configuration. The issue that users see when the Task is loaded is "This task may have been deleted or completed by another assignee".

However, when we copy the logic from the Rule Expression and paste it directly into the timer event configuration, then there is no such issue.

  Discussion posts and replies are publicly visible

Parents Reply
  • Agree with Stefan that while expressions can be used for escalation timers, they are very picky.  Especially in the use of expressions containing localVariables, with() or load(), we will calculate the exception timer in a prior script task into pv! as he suggests.

    If you want to ensure the timer is more dynamic, include a constant with the day value - and you can use this directly in the User Input Task:

    caladddays(ri!entryDate, cons!YOUR_CONSTANT_HERE)

Children
  • Chris, thanks for your help as well.

    We have shifted our implementation of the time event just as you have noted, directly using the caladddays function with a constant.

    However, with the link to the KB article that Stefan has sent we have understood the cause of this issue which was the use of keyword syntax when calling the rule expression. This is not supported in events and various other components, including case as the ones you have indicated in your note.

    Again, thank you for your help!