Expand my Community achievements bar.

SOLVED

schedule a process to invoke a process every 3 minutes

Avatar

Level 2

Hi,

I would like to invoke a process every 3 minutes to check for documents I can use EJB or SOAP. Can any one help me on how to invoke a process automatic every 3 minutes.

Thank you,

1 Accepted Solution

Avatar

Correct answer by
Level 10

Presume:

P1 is the process you want to invoke every 3 minutes

create a process named P2.

In the process P2:

      1. add a Sub Process activity and define to invoke P1.

      2. add a Wait Point activity and set 3 minutes.

      3. connect the route back to sub process (just make a loop)

now invoke the process P2 manually (by right click, then Invoke) within workbench.

Your P1 will get invoked by the helper process P1 every 3 minutes.

Nith

View solution in original post

5 Replies

Avatar

Level 2

Actually what I need is to invoke a process automatic every 3 minutes

Avatar

Correct answer by
Level 10

Presume:

P1 is the process you want to invoke every 3 minutes

create a process named P2.

In the process P2:

      1. add a Sub Process activity and define to invoke P1.

      2. add a Wait Point activity and set 3 minutes.

      3. connect the route back to sub process (just make a loop)

now invoke the process P2 manually (by right click, then Invoke) within workbench.

Your P1 will get invoked by the helper process P1 every 3 minutes.

Nith

Avatar

Level 2

Thank you so much for your answer. I was thinking the same way but I thought may be I can set something from the adminui to invoke the process.

Avatar

Former Community Member

Hi,

    You can write a java application to run the main process automatically if do not wish to invoke it manually.

   Have a look at http://www.ibm.com/developerworks/java/library/j-schedule.html, this provides scheduler library which you can use to invoke your java program

  which in turn invokes your livecycle process.

Regards,

Vikram