Skip to main content

Notifications

Calling Actions from Copilot Studio
Answered

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

Posted on by 58

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

 

 

  • Verified answer
    wherdzik Profile Picture
    wherdzik 58 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.

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,995

#3
Expiscornovus Profile Picture

Expiscornovus 1,708

Leaderboard

Featured topics