How to automate a start event?

Confluence User - 12 Oct, 2016

 

Hi Guy's,

Hope you can help (smile)

I need to automate a process to start at a specific time, each day.

The process needs to be kicked of programmatically.

Could you please guide me, perhaps a video tutorial, or explanation?

Thanks so much,

Kind Regards,

Ernest.

process

2


12 Oct, 2016
confluenceUser
confluenceUser

Hey,

 

This is fairly easy. You just need to create a deadline and set it to run every day. 

This deadline should Trigger the Subprocess you want to run and then loop back to the activity that has the deadline attached to it.

You can find a good example by looking at the process of the Email Polling App (Joget Marketplace).

Cheers,

Eric

13 Oct, 2016
confluenceUser
confluenceUser

Hi,

I would do it very similar to Eric's aproach althought I would upgrade it a bit, because his solution doesnt really run in exact time every day as you mentioned.

Tool "Get date of first fire" - setup variable for deadline that run at exact dd/mm/yy hh:mm:ss type, check current date if it passed required time set it up for next day (you want it to run every day at 3am and you run it at 5pm it should setup next day 3am).

Form "Form to start this process" -> deadline that run at exact_time taken from variable from previous tool.

Tool "Run desired process" -> run your desired process

Form "Deadline Form" -> form which have deadline which is ran after 1 day

Dont forget to use synchronous deadlines, so "Deadline Form" and "Form to start this process" are closed on trigger fire and restarted using process flow.

If you need it to be run everyday in exact second, you have to setup exact time everytime in "Run desired process" Tool, because after a long period of time, interval would move quite a bit because "run desired process" Tool takes some time for its execution, so every iteration, it will be fired few ms later.

 

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print