Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…

Topic-icon Question Help in executing strange requirement.

More
24 Jun 2016 09:44 #1 by Prashant.Sangle
Help in executing strange requirement. was created by Prashant.Sangle
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
Replied by Thomas BLETON on 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
Replied by Prashant.Sangle on 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
Replied by Prashant.Sangle on 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.