web
You’re offline. This is a read only version of the page.
close
Skip to main content
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

I have the same question (0)
  • Esteban Coto Alfaro Profile Picture
    on at
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 138 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 107

#3
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 89

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans