- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2023 11:08 AM
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.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2023 07:56 AM
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;
}
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2023 07:56 AM
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;
}
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 01:14 AM
Is it possible to do this without midserver?