Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

does action salesOrder-ShipAndInvoice return a synchronous result?

(0) ShareShare
ReportReport
Posted on by 35

Dear community,

I created a flow which contains "execute action (V3)" which executes business central action "salesOrder-shipAndInvoice".

This flow action is sometimes successful and sometimes not. What I need is passing on a result to the flow resp. the calling powerapp!

However, it seems that action "salesOrder-shipAndInvoice" does not provide a return value out of the box! Could it be that this is due to asynchronous processing?

Do you have any suggestions how to evaluate the success of this action? 

thanks and regards,

Andreas

  • Verified answer
    Andreas_S Profile Picture
    35 on at
    RE: does action salesOrder-ShipAndInvoice return a synchronous result?

    It's about handling single order.

    Your blog reminded me on the "Configure run after" feature. Thanks.

    This execute action has no return value, but by "configure run after" I can set a variable to true if the action was successful.

    Then I pass on the boolean variable back to the powerapp by "respond to a powerapp or flow".

    Solved!

  • JAngle Profile Picture
    83 on at
    RE: does action salesOrder-ShipAndInvoice return a synchronous result?

    Is it handling single or multiple orders? Do you have an “apply to each”? You could have two actions after the post which run in parallel. One is configure to run on success and the other for failure. The action could be a compose to pass a message back to the power app. I use that type of concept in this blog: joshanglesea.wordpress.com/.../

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 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,998 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,850 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans