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 :
Customer experience | Sales, Customer Insights,...
Unanswered

CalculatePrice not working correctly perform unbound action to trigger it

(0) ShareShare
ReportReport
Posted on by 187

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

  • Esteban Coto Alfaro Profile Picture
    Microsoft Employee on at

    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

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 August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 125

#2
ParthPatel249 Profile Picture

ParthPatel249 87

#3
11manish Profile Picture

11manish 85 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans