Mid Server is changing in flow designer

PawanKumarR
Tera Contributor

Hi Team,

 

When i am testing my flow with the initial mid server which i entered and when i check the flow execution it switching to another mid server.

So it there is a action which has PowerShell setup there is where i am inserting the mid server for testing the action.

 

The Initial and Runtime mid server is different.

2 REPLIES 2

Steven Coda
Tera Expert

I think what you are seeing is expected. 

 

At runtime, ServiceNow chooses an active MID Server from /sys_connection_list.do that meets the step’s requirements. 

That’s why the initial MID Server you entered can differ from the one actually executing the PowerShell action.

Screenshot is from my PDI showing the /sys_connection_list.do for reference

So how to avoid this ?…..since initial has credentials and runtime don’t…it’s not helping me in my task.