Skip to content

Commit c267c60

Browse files
authored
some suggestions
1 parent 79fcca8 commit c267c60

2 files changed

Lines changed: 29 additions & 13 deletions

File tree

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,45 @@
11
---
2-
title: Inspection flows arent 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.
44
author: josephshum-msft
55
ms.author: jshum
66
ms.reviewer: v-wendysmith
7-
ms.date: 04/08/2025
7+
ms.date: 04/14/2025
88
ms.custom: sap:Administration
99
---
10-
# Inspection flows aren't triggered
10+
# Inspection flows aren't triggered in Dynamics 365 Field Service
1111

1212
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.
1313

1414
## Symptoms
1515

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**.
1720

1821
## Resolution
1922

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.
2125
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).
2527

28+
1. If the analysis feature is already enabled,
2629

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:
3135

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 |

support/dynamics-365/field-service/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
href: administration/attibutemap-error-upgrade.md
1515
- name: Entity record names have duplicated numbers
1616
href: administration/entity-names-duplicated-numbers.md
17+
- name: Inspection flows aren't triggered
18+
href: administration/inspection-flows-not-triggered.md
1719
- name: '"The user has not been assigned any roles" error'
1820
href: administration/user-has-no-roles.md
1921
- name: Customization

0 commit comments

Comments
 (0)