Applies to Product - Microsoft Dataverse
What’s happening?
Auto respond cloud flows are not sending emails after a case has been created.
Auto respond cloud flows are not sending emails after a case has been created.
Reason:
This is caused by a change in the owner of the flows, which resulted in the flows not triggering since the callback registration (CBR) is still under the previous owner, who has been disabled.
This is caused by a change in the owner of the flows, which resulted in the flows not triggering since the callback registration (CBR) is still under the previous owner, who has been disabled.
Resolution:
To resolve this, follow these steps:
1. Copy the existing flow and assign a new owner to the copied flow. Turn on the copied flow to ensure it works.
2. To mitigate future occurrences, run the following API to retrieve flow information:
https://orgurl/api/data/v9.2/workflows?$select=name,workflowidunique,workflowid,category,statecode,statuscode&$filter=name eq 'Flow display name'
This will return the workflow ID.
3. Run the following API to get the callback registration information:
https://orgurl/api/data/v9.2/callbackregistrations?$filter=name eq 'workflowID'
Replace your org URL and the workflow ID accordingly.
4. Verify if the callback registration is under the correct owner.
5. As a quick fix, disable the flow for 24 hours to hard delete the previous CBR. Once re-enabled, a new CBR value will be created.
6. Optionally, run the following API to delete the previous CBR once identified:
fetch('http://<org>.crm<n>.dynamics.com/api/data/v9.0/callbackregistrations(<id to delete>)', { method: 'DELETE'})
Ensure this request is issued from a non-UCI page.
To resolve this, follow these steps:
1. Copy the existing flow and assign a new owner to the copied flow. Turn on the copied flow to ensure it works.
2. To mitigate future occurrences, run the following API to retrieve flow information:
https://orgurl/api/data/v9.2/workflows?$select=name,workflowidunique,workflowid,category,statecode,statuscode&$filter=name eq 'Flow display name'
This will return the workflow ID.
3. Run the following API to get the callback registration information:
https://orgurl/api/data/v9.2/callbackregistrations?$filter=name eq 'workflowID'
Replace your org URL and the workflow ID accordingly.
4. Verify if the callback registration is under the correct owner.
5. As a quick fix, disable the flow for 24 hours to hard delete the previous CBR. Once re-enabled, a new CBR value will be created.
6. Optionally, run the following API to delete the previous CBR once identified:
fetch('http://<org>.crm<n>.dynamics.com/api/data/v9.0/callbackregistrations(<id to delete>)', { method: 'DELETE'})
Ensure this request is issued from a non-UCI page.
