HI All,
I am trying to schedule the start node of the process model using Timer in Appian. PFB the configuration:
I am trying to schedule it at an interval of some hour. I want this hours to be configurable so used constant rather than hardcoding it.
Now the problem I am facing is whenever I change the value it only picks the old value.
Let say the current value is 15 and if I change it to 20, it will still run after interval of 15 hour. and later if I change it to 22, it will run after 20 hours.
So I am not sure why this weird behaviour.
anyone have notices this and anyone knows the solution to this ?
Is there a way to refresh the values before using it . or something like that ?
Thanks
Discussion posts and replies are publicly visible
No. Timers are static and will refresh once the model is deployed.
The usual way of creating configurable scheduled processes is, to run the process at a fixed interval and add a XOR to evaluate the business rule.
But then how it's picking the second last value ?
and as I want to make the schedular configurable so that if the requirement changes we should be able to change the timer interval from the constant without making changes in the process model itself. how will I be able to achieve this..
Hello sourabh2512
what do you mean by this?
Are you changing the constant value?
What do you mean?
You configure the scheduler to run every hour, 24/7, and then add a XOR directly after the start node in which you evaluate your conditions. This will pick up the latest values of your constants.
yes!!! I am changing the constant value ryt. isn't it correct way to do ?
It is the correct way. But it should be taking the latest value of the constant. but As far as I know the instances which have already began before you changed the constant value will use the previous value.