cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MattStannett
Frequent Visitor

Yes/No input parameter is not available in dynamic content

As the title states:

 

I have a Yes/No input parameter inside my flow that I am calling from PVA, however the variable for this parameter does not appear in the list of dynamic content for the subsequent steps.

 

I see this thread suggests clicking on "more", but I do not have this option.

 

Screenshot_1.png

 

I have also tried using the variables function variables('InternalRequestBool') to no avail as this is meant for interacting with actual variables, not input/output parameters as explained by the error message I encountered when trying to save the flow with this code:

 

Request to XRM API failed with error: 'Message: Flow client error returned with status code "BadRequest" and details "{"error":{"code":"InvalidOpenApiFlow","message":"Flow save failed with code 'InvalidVariableOperation' and message 'The inputs of workflow run action 'Send_an_email_notification_(V3)' of type 'OpenApiConnection' are not valid. The variable 'InternalRequestBool' must be initialized before it can be used inside action 'Send_an_email_notification_(V3)'.'."}}"

 

Is this a known issue/limitation? I cannot see anything about it in the documentation.

 

Yes I could use a text field with a dropdown set of options but the boolean type seems made for this kind of thing.

 

Any advice would be appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
renatoromao
Super User
Super User

Hi @MattStannett ,

 

Create an action after the trigger card (PVA) in the Power Automate called Compose.

Rename this action to your variable name, just to best practice. And inside the action, select the yes/no field using the dynamic content.

 

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Renato Romão
https://www.linkedin.com/in/renatoromao/


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

View solution in original post

2 REPLIES 2
renatoromao
Super User
Super User

Hi @MattStannett ,

 

Create an action after the trigger card (PVA) in the Power Automate called Compose.

Rename this action to your variable name, just to best practice. And inside the action, select the yes/no field using the dynamic content.

 

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Renato Romão
https://www.linkedin.com/in/renatoromao/


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

View solution in original post

Thank you for this solution @renatoromao. Is there some documentation that you can link to that explains why this is required for the Yes/No input parameter type and not the Text or Number types?

 

Below is a screenshot of how I configured everything in case someone else comes across this in the future.

 

Screenshot_1.png

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Center-of-Excellence-Starter-Kit-cropped 768x460.png

The Total Economic Impact™ of Power Virtual Agents

Read this 2021 commissioned study, conducted by Forrester Consulting.

Top Solution Authors
Top Kudoed Authors
Users online (3,414)