cancel
Showing results for 
Search instead for 
Did you mean: 

Timerstartevent ?

vire7777
Champ in-the-making
Champ in-the-making
Hi people,

Always on my workflow, something sounds strange to me.
i ve created a workflow with a TimerStartEvent to start it.
As i want this timerevent to start the workflow only 10 minutes after the workflow instance was created, i ve put "PT10M" in the "Time duration" zone of this TimerStartEvent.

But… how surprised i was when i ve seen that my workflow is beginning EVERY 10minutes and not only once !
I thought this was the "Time Cycle" process, not the Time Duration one.

So how to make a workflow beginning only 10minutes after the creation ?
Thanks for your answer because i am reading the documentation and don't see how to do it.
3 REPLIES 3

vire7777
Champ in-the-making
Champ in-the-making
Ok i ve understood why it doesn t work well.
When i was launching my process, i was using a StartNewInstance()…
BUT, how can i give variables to my workflow if i can t use StartNewInstance() ?

frederikherema1
Star Contributor
Star Contributor
You can't have them both… Either, you start a process yourself, passing in parameters OR you have your process start itself at some given point in time (possibly multiple times) by itself without passing parameters.

If you want to have the timer-started workflow behave differently, depending on certain values, add an additional service-task (or use a gateway) which uses services in YOUR environment, capable of accessing the values the process needs (e.g.. spring-beans, …).

vire7777
Champ in-the-making
Champ in-the-making
Thanks frederik
In fact i've done it using a TimerCatchingEvent.
It works well like that as i can give my variables to my workflow and create many subsequences if i want or launching them when i want
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.