web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Microsoft Flow does not execute first time after record create/update.

(0) ShareShare
ReportReport
Posted on by 65

Hello All

I have created a flow to execute on create/update of record in custom entity via Powerapps Portal.

It is a very basic flow and works fine second time on create or update. However, after lest say few hours, if I create a record, it won't trigger till I manually go and update the record in dynamics crm.

My initial thought was to update the first step to "When a record is created or updated", but I cannot find this step anymore.

pastedimage1578104068379v2.png

Can someone please suggest why it is behaving like this and if their is any workaround?

Thanks

I have the same question (0)
  • Suggested answer
    ba365guy Profile Picture
    2,950 on at

    There is on action called "Created or updated" as of now in Flow.

    Your screenshot show you chose an action for "Update"

    Did you create two different flows for create and update? (Ideally you should do this if you want flow to trigger on both the actions)

    For now, based on the screenshot, this flow will trigger only on the update.

  • Bharat Sahani Profile Picture
    65 on at

    Thanks ba365guy for your reply.

    In that scenario, can you please suggest, why the flow triggers on create?

    I cannot find any action for "created or updated" for Dynamics 365

    pastedimage1578104996427v1.png

  • Verified answer
    ba365guy Profile Picture
    2,950 on at

    Hey that was typo. I meant "no action"

    Even though you have your triggering point as "Update", your flow is triggering on create (from second time) - right?

    Do you have any asynchronous process on create of your record, does it update the same record. Can you confirm if there are any processes / plugin/ scripts that are updating these (synch. / Asynch)

    Can you check your audit history to check if any update happened

  • Bharat Sahani Profile Picture
    65 on at

    Thanks BA365guy

    Apologies, took me few minutes to enable the auditing and test.

    My form is divided into 5 steps on the portal and it seems like as the user progresses forward, the record is created in the first step.

    The information provided by the user in 2nd and 3rd step is registered as an update which triggers my flow. Audit histroy SS below

    pastedimage1578107360240v1.png

    So far it all make sense.

    However, after a span of few hours, the exact same behaviour does not trigger the Flow on the first instance. I will be happy to post that history when I will reproduce it in few hours.

    There is no process/WF/script on this entity, which may trigger any updates. It is all managed via this flow.

  • Suggested answer
    ba365guy Profile Picture
    2,950 on at

    Are all the logs tagged as "Update" because of your flow?

    One of the log has your name in it. (how did this update happened)

  • Bharat Sahani Profile Picture
    65 on at

    Thanks ba365guy

    I have a tick box on the record which is un-ticked when the record is created. As I want my flow to run only once, the last step it does it come back and tick the box. that is where my name is in the audit history (Last step of the flow).

  • ba365guy Profile Picture
    2,950 on at

    So, is your query resolved?

  • Suggested answer
    Bharat Sahani Profile Picture
    65 on at

    Thanks ba365guy

    After enabling my audit history, the flow is working as expected. I haven't made any other change. If I am able to reproduce it, I will post it here again. Thanks for all your help. I have marked your response of enabling audit as answer.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
KristineRisberg Profile Picture

KristineRisberg 37

#2
11manish Profile Picture

11manish 33

#3
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 21 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans