Author |
Message
|
busy_chap |
Posted: Thu Oct 08, 2009 11:41 am Post subject: Invoking a Message flow |
|
|
Acolyte
Joined: 18 May 2006 Posts: 69
|
We are planning to design a flow where the flow should run on every 5 mins and connect to a database, extract the data and send it to the second WBI fow.
Here is where I need some help . I was wondering on how do I invoke this WBI flow to connect to a database. Do I need to put a empty input message every 5 mins to invoke the flow to connect to the database?
Has anyone come across this kind of issue before? |
|
Back to top |
|
 |
Vitor |
Posted: Thu Oct 08, 2009 11:53 am Post subject: Re: Invoking a Message flow |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
busy_chap wrote: |
Do I need to put a empty input message every 5 mins to invoke the flow to connect to the database? |
Or use a Timer node.
I question the design though. What requirement does this meet? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
busy_chap |
Posted: Thu Oct 08, 2009 12:02 pm Post subject: |
|
|
Acolyte
Joined: 18 May 2006 Posts: 69
|
Thanks Vitor for your quick response.
The reason for designing such a flow where it has to extract data out of a database every 5 mins is a business requirement because there is a field in the database whose value is set to READY and the wbi flow should extract data with the READY status only and the business has asked to check the data every 5 mins or even less.
By using a timernode , I don't need to send out a input message to the message flow after it's deployed to invoke it then?
The reason why I am being so particular about this is the message flow won't get input messages from any where. It has to start all by itself and connect to the database. Would timer node be the solution for my problem?
Can you please respond? |
|
Back to top |
|
 |
Vitor |
Posted: Thu Oct 08, 2009 12:09 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
busy_chap wrote: |
The reason for designing such a flow where it has to extract data out of a database every 5 mins is a business requirement because there is a field in the database whose value is set to READY and the wbi flow should extract data with the READY status only and the business has asked to check the data every 5 mins or even less. |
Not how I'd do it, but it's your solution.
busy_chap wrote: |
By using a timernode , I don't need to send out a input message to the message flow after it's deployed to invoke it then? |
The documentation explains the rules for Timers (and their control/initiation) much more clearly than I could.
busy_chap wrote: |
Would timer node be the solution for my problem?
|
That depends entirely on your exact situation; I don't know your exact requirements. It could be part of the solution, or the whole solution, depending on exactly what you want to do, and how the business want this done. For instance, if the database is down do the business want the data extracted as soon as it's back or on the 5 min schedule?
This is one of those "no right answer" questions. You need to decide what's right for you.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
busy_chap |
Posted: Thu Oct 08, 2009 12:23 pm Post subject: |
|
|
Acolyte
Joined: 18 May 2006 Posts: 69
|
Thanks for your prompt response again. I will check the documentation. |
|
Back to top |
|
 |
|