|
| 1 | +--- |
| 2 | +title: Inspection Flows Aren't Triggered |
| 3 | +description: Resolves an issue where an inspection flow isn't triggered in a Microsoft Dynamics 365 Field Service environment. |
| 4 | +author: josephshum-msft |
| 5 | +ms.author: jshum |
| 6 | +ms.reviewer: v-wendysmith |
| 7 | +ms.date: 04/23/2025 |
| 8 | +ms.custom: sap:Administration |
| 9 | +--- |
| 10 | +# Inspection flows aren't triggered in Dynamics 365 Field Service |
| 11 | + |
| 12 | +This article helps resolve an issue where the Power Automate **Deserialization of Inspection Definition Flow** or the **Deserialization of Inspection Response Flow** for Dynamics 365 Field Service isn't triggered as expected. |
| 13 | + |
| 14 | +## Symptoms |
| 15 | + |
| 16 | +After [publishing an inspection](/dynamics365/field-service/inspections#create-inspection), you might encounter one of the following issues: |
| 17 | + |
| 18 | +- The **Deserialization of Inspection Definition Flow** doesn't populate inspection questions into the `msfp_question` table. |
| 19 | +- The **Deserialization of Inspection Response Flow** doesn't parse inspection responses, even when the **Analytics frequency** is set to **Immediately**. |
| 20 | + |
| 21 | +## Resolution |
| 22 | + |
| 23 | +> [!NOTE] |
| 24 | +> You must have administrator permissions in Dynamics 365 Field Service to perform the following steps. |
| 25 | +
|
| 26 | +1. [Enable analysis on inspection responses](/dynamics365/field-service/inspections-reporting#enable-analysis-on-inspection-responses). |
| 27 | + |
| 28 | +1. If the analysis feature is already enabled, |
| 29 | + |
| 30 | + 1. Turn the setting off and back on. |
| 31 | + 2. Change the **Analytics frequency** to **Immediately**. |
| 32 | + 3. Check if the issue persists. If it does, proceed to the next step. |
| 33 | + |
| 34 | +1. If the "Modern flow {flow ID} isn't valid for ExecuteWorkflow" error message occurs when you enable analytics in Dynamics 365 Field Service, it indicates that the related Power Automate flows might not be properly registered. To resolve this issue: |
| 35 | + |
| 36 | + 1. Sign in to [Power Automate](https://make.powerautomate.com/) for your environment. |
| 37 | + 2. Locate the flows associated with the error. |
| 38 | + 3. Disable the flows listed in the following table, wait a moment, and then re-enable them. |
| 39 | + |
| 40 | + |Flow with error |Related flows to disable and enable | |
| 41 | + |---------|---------| |
| 42 | + |Deserialization of Inspection Definition Flow (the [msfp_question](/dynamics365/developer/reference/entities/msfp_question) table) |- Deserialization of Inspection Definition Flow<br/>- Deserialization of Inspection Definition - Matrix Dynamics Child Flow | |
| 43 | + |Deserialization of Inspection Response Flow (the [msfp_surveyresponse](/dynamics365/developer/reference/entities/msfp_surveyresponse) table) |- Deserialization of Inspection Response<br/>- Deserialization of Inspection Response - Matrix Dynamics<br/>- Deserialization of Inspection Response - Recurrent | |
| 44 | + |
| 45 | + For more information, see [Flow isn't valid for ExecuteWorkflow error](../../customer-service/service-level-agreements/sla-modern-flow-not-valid.md). |
| 46 | + |
| 47 | +## More information |
| 48 | + |
| 49 | +[View the status of the out-of-the-box inspection flows](/dynamics365/field-service/inspections-reporting#view-the-status-of-the-out-of-the-box-inspection-flows) |
0 commit comments