Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Uy3lk9XkGUYfIhE509xYEM
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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,679 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Loading started