I’m running into a wall trying to reuse a common module in Genesys Cloud Architect. The setup is pretty standard: I’ve got a shared flow called CommonAuth that handles IVR authentication and DTMF capture. It works perfectly when called from our main support queue flow. The problem happens when I try to call that same CommonAuth flow from a secondary sales queue.
The error in the logs is a generic 500 Internal Server Error with no helpful details, just Flow execution failed. I’ve checked the debug trace and it stops exactly at the Run Flow step where the secondary queue hands off to the shared module.
Here is the JSON for the Run Flow step in the secondary queue:
{
"stepType": "run-flow",
"configuration": {
"flowId": "8a4c2d1e-1234-5678-9abc-def012345678",
"inputs": {
"CallerNumber": "{{contact.attributes.callerNumber}}",
"QueueName": "Sales"
},
"outputs": {
"AuthResult": "authResult",
"UserContext": "userContext"
}
}
}
I’ve verified that the flowId is correct by checking the Admin UI. The CommonAuth flow is published and active. I’m wondering if there’s a permission issue with how the secondary queue flow is trying to access the shared flow, or if I’m missing a specific configuration flag in the run-flow step?
I’ve tried clearing the cache and republishing both flows. Same result. The main queue flow calls it without issue, which makes me think it’s something specific to the context or inputs being passed from the sales queue. Can someone point me in the right direction for debugging shared flow calls?