cancel
Showing results for 
Search instead for 
Did you mean: 

how to update timer in boundary timer event

skverma02
Confirmed Champ
Confirmed Champ
Hi Everyone,
how to update time in  Timer Boundary Event if timer is started or before started?
5 REPLIES 5

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

There is not API to update timer's duedate_ after it is set. You can create your own command to set this value according your needs, or just use expression to set the value correctly when timer is created.

Regards
Martin

skverma02
Confirmed Champ
Confirmed Champ
thanx for reply sir ,
first i m give the timer value through from like{$timer}

if timer is not start and process started then  i am update timer value through database using update query then ,when timer is start its take updated value.
for example in starting when procees is start i am give timer value PT10M after 2 minutes i am update it PT2M so when timer start its take timer value take 2 minutes  its work properly according my condition.

Now i am want when timer started after that if we update the time then its not take updated value its take stated timer value.

for example in starting when procees is start and timer is also started  i am give timer value PT10M after 2 minutes i am update it PT5M then timer and after 10 minutes not update time or 5 minutes.

I am want in second condition if i am update time timer take update time?
Is this any way to solve it or not?

martin_grofcik
Confirmed Champ
Confirmed Champ
Sorry, but I did not understand your last comment.

skverma02
Confirmed Champ
Confirmed Champ
i am sorry sir last comment is too long and complicated .
I am just ask if time is started in Timer Boundary Event  , is this any way  update this time? and Timer Boundary Event end updated time ?

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Saurabhverma,

There is no support for such a an event in the current API,
You can always change data in the DB to set the new timer value.

Regards
Martin