Author |
Message
|
jrsetters |
Posted: Mon Jun 10, 2013 10:24 am Post subject: Selectively start msg flows in an execution group |
|
|
 Acolyte
Joined: 24 Aug 2011 Posts: 72 Location: Cincinnati, OH
|
In the case that an execution group was stopped while all flows were running, can they be brought back up selectively so that the flows come up in a particular order? Typically it seems like restarting a stopped execution group restores all flows to the state they were in prior to the stop command. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Jun 10, 2013 10:25 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
jrsetters |
Posted: Mon Jun 10, 2013 10:32 am Post subject: |
|
|
 Acolyte
Joined: 24 Aug 2011 Posts: 72 Location: Cincinnati, OH
|
Thank you. I feared this was the case. We are mostly concerned with certain unlikely fail over scenarios where we would want our external systems to receive patient administration messages before receiving order messages on that patient, however our Execution Groups are organized by department (Lab, Radiology etc) so we are going to need to rethink that design. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jun 10, 2013 11:17 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You can't control the order of startup of EGs, so you can't state that EGA will always launch before EGB.
Use mqsicommands and configure EGs and flows/apps to start in disabled state, and then start them in "the correct" order.
And then redesign your systems so that it's okay to send patient admin messages before receiving order messages. |
|
Back to top |
|
 |
jrsetters |
Posted: Mon Jun 10, 2013 12:29 pm Post subject: |
|
|
 Acolyte
Joined: 24 Aug 2011 Posts: 72 Location: Cincinnati, OH
|
mqjeff wrote: |
Use mqsicommands and configure EGs and flows/apps to start in disabled state, and then start them in "the correct" order. |
This actually sounds ideal. If we can configure the execution group to start with flows in a stopped state it would fit our needs well.
I will take a look at the publib's MSQI commands articles. I am familiar with the basic start and stop ones, but not much beyond that.
Thank you. |
|
Back to top |
|
 |
|