Author |
Message
|
ein |
Posted: Tue Mar 09, 2010 3:38 am Post subject: timer nodes problem to make schedule trigger. |
|
|
Centurion
Joined: 14 Mar 2009 Posts: 108
|
Hell WMB guys,
I have the following reuirment in wmb.
i.e . I need to trigger the message flow at month end.
The flow contains WTX node. The WTX map has to interact with database and get the data from data and perform some operation and send the oupput to WMB. WMB will place the output in file directory.
My problem is The flow is not expecting any businees data, so i no need to use MQ or File input node to initiate the flow.
How I can schedule an event to trigger at month end using time nodes.
Because the flow uses WTX map. Map is interacting with Database and get the data.
If i use timer nodes. i need to pass the timerequest message to the time node . who is going send the message automatically.
Can any one through some light on this.
 |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Mar 09, 2010 4:11 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
what is the input that you are sending to invoke the Map. i mean what you are passing to the input card. _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
zpat |
Posted: Tue Mar 09, 2010 4:25 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
You need to find a system with a proper scheduler (such as Control M) and set it to run a program when you want this event to occur.
This program sends a message to the broker QM which starts your flow. It can be any message since the contents won't matter.
There are various ways to write (or find a working example of) a simple program to put a message - depending on which platform you are using.
You could also choose to FTP a file (any file) to start the flow. Use a MQInput node or FileInputNode accordingly. |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Mar 09, 2010 4:31 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
here there is one more question, how he/she is going to invoke the Map? _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
ein |
Posted: Tue Mar 09, 2010 6:16 am Post subject: |
|
|
Centurion
Joined: 14 Mar 2009 Posts: 108
|
The map will be invoked by sending 0 byte msg. Because it's not expecting any data.
And , Intially i taught to use script to send the 0 byte msg to the Q in trigger the flow. But my client is not agreeing to use the script, he say it 's maintainace cost.
So ,i must need to achive this through message flow |
|
Back to top |
|
 |
zpat |
Posted: Tue Mar 09, 2010 6:25 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Of course you can run the flow every day and in ESQL work out when it is the last day of the month. It might have to be the last business day though - and what about public holidays?
This is a dubious use of WMB. The broker is about continous (or at least very regular) processing, not once a month stuff. |
|
Back to top |
|
 |
|