Flow Designer error message: MID Server

Marc_007
Tera Contributor

Hello all,

     Trying to get this resolved and so far I can not resolve this. Any help will be grat 🙂 The MID Server is up and running with no unresolved issues. See below:

 

Flow Designer: Operation(Retrieve XYZ mailbox Emails./end) failed with error: com.snc.process_flow.exception.ProcessAutomationException: Operation (Retrieve XYZ mailbox Emails.f12345.....) failed because no valid MID is available, Please check System Logs.

1 ACCEPTED SOLUTION

Hi @Marc_007 ,

 

If your using Mid Server cluster, you got to pass MID server cluster sys_id through input or use script to return cluster sys_id as below

 

I assume you have added a MID Server which is up and running to the cluster.

 

var eccCluster = new GlideRecord("ecc_agent_cluster");
eccCluster.addQuery("name", "Mid Server Cluster name"); //replace "Mid Server Cluster name" with your cluster name
eccCluster.query();
while(eccCluster.next()){
    return eccCluster.sys_id;
}

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

View solution in original post

6 REPLIES 6

Saurabh Gupta
Kilo Patron
Kilo Patron

Hi,

 

Make sure in the connection you have selected the valid mid server.

 

 


Thanks and Regards,

Saurabh Gupta

Hello Saurabh,

     Connection and server is valid. Thanks

Hemanth M1
Giga Sage
Giga Sage

HI @Marc_007 

 

May i know what flow is doing , is it a rest/SOAP , JDBC, etc...?, if your using Mid server (not the cluster), it expects mid server sys_id.

 

Need more info here....

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Hello Hemanth,

     Mid server is cluster. Rest, powershell, ibm and soap. sys id is there. thanks