Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

CalculatePrice not working correctly perform unbound action to trigger it

(0) ShareShare
ReportReport
Posted on by 185

Hello Community,

Recently a colleague of mine stated that our custom pricing plugin was not working properly, he discovered that when creating quotes, opportunities and invoices using Power Automate the total was always equal to "0",

I started looking into the problem, I noticed through the tracing that indeed the plugin was triggered and all steps were executed successfully yet the result was 0 so I realized that maybe it was triggered before adding quote products to it. (Unlike the manual creation, the quote products are automatically added).

Is there any way to overcome this problem?

I tried calling the calulateprice action to trigger the plugin again using the call unbound action in power automate but apparently the target parameter is a json which I failed to build correctly.

2021_2D00_06_2D00_08_5F00_00h05_5F00_59.png

  • RE: CalculatePrice not working correctly perform unbound action to trigger it

    Hello, I would recommend checking the values and data types of the input parameters (in case input values are received) because there could be a conflict in some of the processes. Then, returning "0" seems to me to be the default value.

    I also recommend that you check the following link that shows the format to create the JSON: powerusers.microsoft.com/.../112517

    Thanks!

    Community Support Team - Esteban

    If this Post helps, then please consider Accept as solution to help the other members find it more quickly.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,703 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,433 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans