web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Action 'Update_item' f...
Power Automate
Unanswered

Action 'Update_item' failed - Input paramter is required to be of type 'Boolean'. The runtime value "Yes" to be converted doesn't have the expected format 'Boolean'.

(0) ShareShare
ReportReport
Posted on by 12

Hello,

 

I'm trying to curate a flow. The goal of this flow is to create an item on a "Master List", deriving its values from 4 different SharePoint lists. Once all values are imported, I want to put the Master List Item values into an HTML table that is then converted into a PDF file that gets put into a SharePoint document library. 

 

This flow is triggered when an item is created or modified on a specific SharePoint List called "Compliance". When the Compliance item is created, we use the "Get Items" action for that item. Then, we initialize a variable called "Master List ID" to be used later. 

After that, we check the values of 4 checkboxes in the Compliance Item. When those values are true, we create an item on the Master List. Set the "Master List ID" variable equal to the List Item ID for the Master List item. Then, we use the "Get Items" action to get the values for the Initial form, setting Order By to "Created desc" and Top Count to "1" (so that we only get the most recently created item from that list). To import the values, I use the "Update Item" action, setting each value to the dynamic content of the "Get Items" action. I repeat this process for each list (BackOffice, PortOps, and Compliance). 

 

Here is where I run into the issue.

 

When trying to import the values from the 4th and final list (Compliance), I get the following error: 

OpenApiOperationParameterTypeConversionFailed. The 'inputs.parameters' of workflow operation 'Update_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/Directed_x0020_Execution' is required to be of type 'Boolean'. The runtime value '"Yes"' to be converted doesn't have the expected format 'Boolean'.

 

I understand that the error is saying that there is an issue with the "Directed Execution" value on the item. What I won't understand is why the value "Yes" is not being accepted in this instance, but is accepted in other portions of the flow. 

 

Any guidance would be appreciated. 

 

Screenshots of my flow:

 

owertz_0-1692731586722.png

owertz_2-1692731673228.png

owertz_5-1692731863284.png

 

 

Categories:
I have the same question (0)
  • Corbitto77 Profile Picture
    16 on at

    the "Yes/No" column only Accepts boolean values such as True/False, so verify that the input going into that step is a True rather than a "Yes" for Directed Execution

     

    If you try to pass a literal value "Yes," it should result in that error.

     

    What does your input look like for that step? Are you doing something different for that step that is different than the previous ones? 

  • owertz Profile Picture
    12 on at

    Hello @Corbitto77 

    Thanks for your reply.

     

    No, I haven't done anything different for this step than what has been done for the previous ones. This is what the input looks like: 

    owertz_1-1692738993843.png

    owertz_0-1692738900110.png

     

    I'm fairly new to Power Automate, so I'm confused as to why this is behaving differently. When I remove the value for Directed Execution and try to run it again, I get a similar error except for a different value. Is there maybe an issue with the "Compliance" list values?

     

    Thanks again.

  • Verified answer
    Corbitto77 Profile Picture
    16 on at

    I think you are on the right path. Make sure that the columns you are pulling this from are all "Yes/No" columns, so it is required to be a boolean.

     

    My first step in your case would be to inspect the input data, in this case, the 4 input SharePoint lists. Make sure the input format is what you are expecting and that the "Directed Execution" column isn't just a user saying Yes or No when a checkmark is expected. Uniform inputs will make your life a lot easier.

  • owertz Profile Picture
    12 on at

    Thank you so much! That was exactly it. The input format in the Compliance list was set to Choice and the input format in the Master List was set to Yes/No. I changed them both to Choice and my flow is working perfectly now. 

     

    Thanks again!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard