Skip to main content

Notifications

Copilot Studio - Calling Actions from Copilot S...
Answered

PVA bot 3 variables (base pay, current FTE, New FTE)

(0) ShareShare
ReportReport
Posted on by

Built a flow to grab the base pay, current fte and new fte. I am trying to get the bot to calculate a new pay per new FTE.

I am initializing all variables as integer and its telling me that the Current FT Variable of Type Integer cannot be updated with a value of Float?  Can someone help me resolve this?>

 

wherdzik_0-1697473666620.pngwherdzik_1-1697473675122.png

 

Calculation expression: 

mul(div(variables('Current Base'), variables('Current FTE')), variables('New FTE'))
 
wherdzik_2-1697473709764.pngwherdzik_3-1697473718418.png

 

wherdzik_4-1697473768608.pngwherdzik_5-1697473786417.pngwherdzik_6-1697473792963.png

 

 

Categories:
  • Verified answer
    wherdzik Profile Picture
    wherdzik on at
    Re: PVA bot 3 variables (base pay, current FTE, New FTE)

    I figured this out, I changed all my initialize variable to float.  Then the Return Values to PVA had a number return type.  I changed it to Text. Once I changed all of these everything worked just like planned.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,445

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,741

Leaderboard

Featured topics