on 06-02-2014 6:08 AM
I have developed several interfaces in MII 14.0 version. Those interfaces have to run once in a day. So i have created Scheduler for each and every interface. Now they are asking us to put a logic that, 2nd scheduler should run after completion of first scheduler only.
Is there any possibility to do like this in MII?
Hi Raviteja,
As correctly mentioned by Shashank, using a BLS would help you here.
Thanks,
Swaroop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As per my knowledge there is no direct way of achieving this, but you can do it by adding logic in Interface (BLS).
Below is the logic :
Suppose you have two interfaces A and B, define a Persistent or Inline variable(P) in A which will update the variable with Flat as "X". Now in interface B, write a condition if P=="X" then execute else terminate.
Also, dont forget to set the flag value as Blank once B executed successfully.
Hope this help .
Thanks
Shashank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you need to run a scheduler manually, you can use the scheduler service interface exposed by MII.
The URL for the service is:
http://<host>:<port>/XMII/Illuminator?service=Scheduler&mode=Run&ID=<scheduler job ID>.
You can also check the status of scheduler using the mode status of the above mentioned service.
Regards,
Anushree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
No, there is no such direct option. you can write your own logic where in you can run scheduled jobs one by one using scheduler interface I have mentioned above.
You can use XML queries to run the scheduled jobs and then use these queries in a transaction to run them one by one.
You can then schdule this transaction as per your requirement.
Regards,
Anushree
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.