|
1 | 1 | --- |
2 | | -title: Inspection flows aren’t triggered |
3 | | -description: Resolves an issue where an inspection flow isn't triggered in a Field Service environment. |
| 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 | 4 | author: josephshum-msft |
5 | 5 | ms.author: jshum |
6 | 6 | ms.reviewer: v-wendysmith |
7 | | -ms.date: 04/08/2025 |
| 7 | +ms.date: 04/14/2025 |
8 | 8 | ms.custom: sap:Administration |
9 | 9 | --- |
10 | | -# Inspection flows aren't triggered |
| 10 | +# Inspection flows aren't triggered in Dynamics 365 Field Service |
11 | 11 |
|
12 | 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 | 13 |
|
14 | 14 | ## Symptoms |
15 | 15 |
|
16 | | -An inspection is published, but the **Deserialization of Inspection Definition Flow** didn't populate inspection questions into the msfp_question table. Or the **Deserialization of Inspection Response Flow** didn't parse inspection responses and the **Analytics frequency** is set to *Immediately*. |
| 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**. |
17 | 20 |
|
18 | 21 | ## Resolution |
19 | 22 |
|
20 | | -You need administrator permissions in Dynamics 365 Field Service to perform the steps. |
| 23 | +> [!NOTE] |
| 24 | +> You must have administrator permissions in Dynamics 365 Field Service to perform the following steps. |
21 | 25 |
|
22 | | -1. Enable the [Analytics enabled setting for inspections](/dynamics365/field-service/inspections-reporting#enable-analysis-on-inspection-responses). |
23 | | -1. If it's enabled, try turning it off and on again and change the **Analytics frequency** to *Immediately*. If the problem persists, try the next step. |
24 | | -1. If the "Modern flow {flow ID} isn't valid for ExecuteWorkflow" appears when trying to enable analytics in Field Service, the Power Automate flows might not be registered properly. To reregister, sign in to [Power Automate](https://make.powerautomate.com/) for your environment. Based on the flow with the error, disable the flows, wait a moment, and then enable the flows. For more information, go to [Flow isn't valid for ExecuteWorkflow error](../../customer-service/service-level-agreements/sla-modern-flow-not-valid.md). |
| 26 | +1. [Enable analysis on inspection responses](/dynamics365/field-service/inspections-reporting#enable-analysis-on-inspection-responses). |
25 | 27 |
|
| 28 | +1. If the analysis feature is already enabled, |
26 | 29 |
|
27 | | -|Flow with error |Flows to disable and enable | |
28 | | -|---------|---------| |
29 | | -|Deserialization of Inspection Definition Flow (msfp_question table) |- Deserialization of Inspection Definition Flow<br/>- Deserialization of Inspection Definition - Matrix Dynamics Child Flow | |
30 | | -|Deserialization of Inspection Response Flow (msfp_surveyresponse tables) |- Deserialization of Inspection Response<br/>- Deserialization of Inspection Response - Matrix Dynamics<br/>- Deserialization of Inspection Response - Recurrent | |
| 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 may not be properly registered. To resolve this issue: |
31 | 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, wait a moment, and then re-enable them. |
| 39 | + |
| 40 | + For more information, see [Flow isn't valid for ExecuteWorkflow error](../../customer-service/service-level-agreements/sla-modern-flow-not-valid.md). |
| 41 | + |
| 42 | +|Flow with error |Related flows to disable and enable | |
| 43 | +|---------|---------| |
| 44 | +|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 | |
| 45 | +|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 | |
0 commit comments