Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

Topic-icon Question Help in executing strange requirement.

More
24 Jun 2016 09:44 #1 by Prashant.Sangle
Prashant.Sangle created the topic: Help in executing strange requirement.
Hi Experts,

I need your help on below scenario.

I am running one batch on one server say y server.
I have prod runtime on x server.

Now, I want to perform below steps
1: trigger that batch from x server.
2: on success / failure of that batch I want to perform different actions in my process.

What I have done.
I have created one process in stambia with operating system Command.
I used below command to run batch on y server from x server.

wmic /node:<y server ip> /user:admin /password:password process call create 'cmd.exe /c call "D:\devl\1029_glb_elogs.bat"' 2>&1

Now I stuck at 2nd step that
How stambia get to know is that batch executed successfully or not?

Or

I can use scripting action to achieve above.

I am out of idea to achieve it.
Please help me to achieve it. I need it on urgent basis. I have one solution but it is lengthy.

Let me know if required any details from me.

Thanks and Regards,
Prashant Sangle
More
24 Jun 2016 15:22 #2 by Thomas BLETON
Thomas BLETON replied the topic: Help in executing strange requirement.
Do you have a Runtime on server Y and also a Runtime on server X ?
If yes, simply use an ExecuteDelivery action, and specify the hostname & port of the remote Runtime. => The X Runtime will tell the Y Runtime to execute the specified delivery.
More
24 Jun 2016 17:24 #3 by Prashant.Sangle
Prashant.Sangle replied the topic: Help in executing strange requirement.
Hi sir,

Actually I don't have runtime on server x but if necessary I will install it.

I'll try it and get back to you.

Thanks and regards,
Prashant Sangle
More
11 Jul 2016 13:03 - 11 Jul 2016 13:31 #4 by Prashant.Sangle
Prashant.Sangle replied the topic: Help in executing strange requirement.
Hi Sir,

Sorry for late reply on this topic.
ExecuteDelivery Action work fine in above scenario.

Thanks and Regards,
Prashant Sangle
Last Edit: 11 Jul 2016 13:31 by Prashant.Sangle.