Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Unanswered

Customaction calling a power automate flow

Posted on by 147
Hi Community
 
I am calling a power automate flow from an action button. as per below snippet which works well. Can anyone advise how i could test a field on the current rec so that i don't start the flow if a field has a certain value. i.e. if Approval Status field is already 'Pending Approval' i don't want to start the flow.
 
Thanks Neil. 
        customaction(/StartApprovalProcess/)
            {
                ApplicationArea = All;
                CustomActionType = Flow;
                FlowId = '308547ab-6932-4b00-b30c-b352eaeXXXXX';
                FlowEnvironmentId = 'Default-b8a8f4ac-e872-44f3-964f-1f59d1a9XXXXX';
               
            }

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,263 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,112 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans