Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 9eDHqhV1yZCsQYCS9lb4hB
Power Apps - Microsoft Dataverse
Unanswered

How to Determine What Triggered a Workflow

Like (1) ShareShare
ReportReport
Posted on 15 Jul 2021 15:44:11 by 6

Hi everyone,

 

I need some help understanding how I can determine what caused a flow to trigger.  I'm new to the power platform and have inherited an existing model-driven app so I am just trying to understand how it all hooks together.  In the solution is a "Process" which I believe is built in the classic dataverse background workflow editor (i.e. as seen in the screenshot on https://docs.microsoft.com/en-us/power-automate/workflow-processes) rather than the newer Power Automate UI.  This has "Activate As" set to "Process", "Category" set to "Workflow", "Run this workflow in the background (recommended)" is ticked, "As an on-demand process" is ticked, the "Scope" is set to "Organization" and it simply has "Change status to XYZ" in the steps.  Nothing is ticked in the "Start When" section.  When I update a record through the CRM UI and click "Save" this workflow is being triggered but I'm not sure what is causing it to be triggered.  When I look at the "Process Sessions" the "Start Reason" is set to "User started the workflow".   I am NOT triggering this manually using the three dots > "Flow" menu within the command bar in the record and I can't see any business process flows which call this workflow.  So my question is how can I identify what is triggering this workflow?  

 

Any help is greatly appreciated.  Thanks,

  • PowerAppsUser02 Profile Picture
    6 on 16 Jul 2021 at 14:07:58
    Re: How to Determine What Triggered a Workflow

    I think I've found out what's triggering it so posting here just in case anyone else has the same query!  Turns out there's also a portal app, and in here there's a web page which utilises an entity form.  In the portal management settings for the entity form on the "Additional Settings" tab in the "Action Button Configuration" section there's a workflow action which is specifically calling that workflow when a certain button is clicked.  Found the needle in the haystack!

  • PowerAppsUser02 Profile Picture
    6 on 16 Jul 2021 at 07:52:31
    Re: How to Determine What Triggered a Workflow

    Hi @ChrisPiasecki,

     

    Many thanks for your quick response and the clear instructions.  I've checked the dependencies and in dependent components it says "No records are available in this view.".  Any suggestion on the next steps I can take would be much appreciated!  

    Thanks,

  • ChrisPiasecki Profile Picture
    6,389 Most Valuable Professional on 15 Jul 2021 at 22:35:28
    Re: How to Determine What Triggered a Workflow

    Hi @PowerAppsUser02,

     

    It is likely your workflow is being called by another workflow. You can look at the workflow dependencies to identify which workflow is calling it. 

     

    In the PowerApps maker portal, look for the component under Solutions, select the row for your process component, then in the top command bar, click the Show Dependencies button. This will bring up a list of components that depend on this workflow. Look at the Process components and review the workflow steps of each to see if it is calling your on-demand workflow.

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 17

#2
mmbr1606 Profile Picture

mmbr1606 15 Super User 2025 Season 1

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics

Loading started
Loading complete