• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • Blog
  • Power Platform
    • Power Apps
    • Power Automate
    • Power BI
    • Power Virtual Agents
  • Dynamics 365
  • Azure
  • About Me
Joe Gill Logo

Joe Gill

Microsoft MVP - Power Platform Consultant

Power Fx -Power Virtual Agents

28th November 2022 by Joe Gill

Power Fx the low code macro language of the Power Platform is starting to become an omnipresent feature across the Power Platform family. The Nov 2022 Preview release of Power Virtual Agents includes the ability to use Power Fx in the authoring canvas. The addition of Power Fx greatly enhances the ability to add capabilities like data validation and manipulation directly in your bot rather than relying on Power Automate.

When you assign a value to a variable in authoring canvas you now have the option to select formula for its value. From the Formula tab you can enter your Power Fx expression. To access a variable you need to use its scope as a prefix. The scope options are

  • Global
  • System
  • Topic

In this example, I am using variables local to the Topic to calculate the interest due on a loan.

Power Fx -Power Virtual Agents - Joe Gill

The ability to configure your Bots behavior when asking a question has also been extended. You are able to configure if the question should always be asked and how times it reprompts before failing.

Power Fx -Power Virtual Agents - Joe Gill

You also configure additional validation as part of the question’s behavior. You can use a Power Fx expression to validate the question’s answer and also provide a custom message to the user if the validation has failed.

Power Fx -Power Virtual Agents - Joe Gill

The ability to use Power Fx directly in your Power Virtual Agents bot looks like a great feature and I forwards to seeing how far it can be pushed.

Note: It looks like there is a bug in the preview release whereby the custom validation message only promotes for certain data types.

Share This On Social:
  • Tweet
  • Power Fx -Power Virtual Agents - Joe Gill

Filed Under: Power Platform, Power Virtual Agents

Primary Sidebar

More to See

Power Platform Requests – Base Request Capacity

17th December 2020 By Joe Gill

Power Automate Desktop

Power Automate Desktop – UI Flow

26th November 2020 By Joe Gill

Synapse Link for Dataverse Security

16th December 2022 By Joe Gill

Power Fx -Power Virtual Agents

28th November 2022 By Joe Gill

Footer

Joe Gill

Microsoft Business Applications MVP – Power Platform, Dynamics 365 and Azure.

An architect with over twenty years experience designing and developing technology solutions. Specializing in the Microsoft technology stack including Power Platform, Dynamics 365 and Azure. Microsoft MVP Profile

Connect on Social

Useful Links

  • Home
  • Blog
  • About Joe Gill
  • Power Platform
  • Dynamics 365
  • Azure

Featured Posts

Power Platform Requests – Base Request Capacity

Power Automate Desktop – UI Flow

Synapse – SQL Admin

Synapse Link for Dataverse Security

Power Fx -Power Virtual Agents

Synapse Link for Dataverse – Append-Only

© 2023 ยท Joe Gill