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

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

Rashmi8
Tera Contributor

Is it possible to do this without midserver?