Edit

Share via


Inspection flows aren't triggered in Dynamics 365 Field Service

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.

Symptoms

After publishing an inspection, you might encounter one of the following issues:

  • The Deserialization of Inspection Definition Flow doesn't populate inspection questions into the msfp_question table.
  • The Deserialization of Inspection Response Flow doesn't parse inspection responses, even when the Analytics frequency is set to Immediately.

Resolution

Note

You must have administrator permissions in Dynamics 365 Field Service to perform the following steps.

  1. Enable analysis on inspection responses.

  2. If the analysis feature is already enabled,

    1. Turn the setting off and back on.
    2. Change the Analytics frequency to Immediately.
    3. Check if the issue persists. If it does, proceed to the next step.
  3. 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:

    1. Sign in to Power Automate for your environment.
    2. Locate the flows associated with the error.
    3. Disable the flows listed in the following table, wait a moment, and then re-enable them.
    Flow with error Related flows to disable and enable
    Deserialization of Inspection Definition Flow (the msfp_question table) - Deserialization of Inspection Definition Flow
    - Deserialization of Inspection Definition - Matrix Dynamics Child Flow
    Deserialization of Inspection Response Flow (the msfp_surveyresponse table) - Deserialization of Inspection Response
    - Deserialization of Inspection Response - Matrix Dynamics
    - Deserialization of Inspection Response - Recurrent

    For more information, see Flow isn't valid for ExecuteWorkflow error.

More information

View the status of the out-of-the-box inspection flows