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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Programmatically run a cloud flow

(2) ShareShare
ReportReport
Posted on by 8
I have a cloud flow that is scheduled to run every hour.
 
Occasionally I work on a support request that requires a dynamics record to be updated via C# code, but the support call can't be finished until that cloud flow has then run. I can either wait an hour or manually find the cloud flow and run it.
 
So I'm looking for a way to run a scheduled flow on demand using C# code. I can do it in the browser, so logically I should be able to do it in code. Any suggestions?
 
I have the same question (0)
  • Vahid Ghafarpour Profile Picture
    12,228 Super User 2026 Season 1 on at
    I'd use a second trigger (When an HTTP request is received) so I have both scheduled and HTTP post calls.
  • Inogic Profile Picture
    748 on at
    Hi,
     
    It isn’t possible to directly trigger a scheduled (recurrence) cloud flow from C#. Scheduled flows cannot be invoked programmatically. However, there is a workaround.

    To enable this, the flow structure must be changed:
    1. Create a manually triggered flow that contains all the core logic.
    2. Create an HTTP-triggered flow whose only purpose is to call the manual flow (this is the one C# will invoke).
    3. Update the scheduled flow so it also calls the same manual flow on its hourly schedule.

    With this design, the logic can run both on a schedule and on demand from C#, even though the scheduled flow itself cannot be triggered directly.
     
    Thanks,
    Sam

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 156

#2
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans