Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

schedule a process to invoke a process every 3 minutes

Sabdelza
Level 2
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
_Nith_
Correct answer by
Level 10
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

0 Replies
Sabdelza
Level 2
Level 2

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

_Nith_
Correct answer by
Level 10
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

Sabdelza
Level 2
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.

__VIKS__
Level 3
Level 3

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