cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jmatherAIPM
New Member

Flow to Smartsheet - At risk wants a bool but flow sends a string

Hello!

 

We're trying to send the bool value of True to a checkbox column within Smartsheet called At Risk.  According to the Smartsheet API doc, https://smartsheet-platform.github.io/api-docs/#cell-reference, the checkbox cell type should accept either a boolean or a string:

 

CHECKBOXBoolean: true if the checkbox is checked, false if unchecked, no value if the cell hasn't been touched yet.
string: a free-form text value.

 

We're sending the following:

 

{
  "At Risk": "true",
  "Task Name": "test email",
  "Status": "Not Started",
  "Assigned To": "jmather@healthylife.com",
  "Start Date": "2019-04-03T18:26:50Z",
  "% Complete": "0%"
}

 

And it returns the following error:

 

{
"errorCode": 1042,
"message": "The value for cell in column 6111850942228356, true, did not conform to the strict requirements for type CHECKBOX.",
"refId": "zxpu9w39e20d",
"detail": {
"index": 0
}
}
We've tried many different things to get this to work, but the boolean true message we send always gets converted into a string (which should work anyway according to the documentations for Smartsheet linked above).  We've tried different capitolizations, 1/0 instead of true/false, and using an expression to convert the string to a bool but none of them work.

 

Anyone have any ideas?

 

Thank you!

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-zhos-msft
Solution Sage
Solution Sage

Hi @jmatherAIPM ,

I have made some tests on my side, it has the same issue with you.

From the API document, it says we can set the checkbox value to 'true' or 'false'.

I was also confused about that.

I have made a test to return the checkbox value, it was shown as  value to 'true' or 'false'.

Capture5.PNG

Perhaps the checkbox value can't be set via flow, you can only click it in the Smartsheet.

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

@v-zhos-msft Thank you very much for checking it out 🙂

 

Workaround:  We ended up using a dropdown/picklist column instead of a checkbox column and that worked great.

View solution in original post

2 REPLIES 2
v-zhos-msft
Solution Sage
Solution Sage

Hi @jmatherAIPM ,

I have made some tests on my side, it has the same issue with you.

From the API document, it says we can set the checkbox value to 'true' or 'false'.

I was also confused about that.

I have made a test to return the checkbox value, it was shown as  value to 'true' or 'false'.

Capture5.PNG

Perhaps the checkbox value can't be set via flow, you can only click it in the Smartsheet.

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

@v-zhos-msft Thank you very much for checking it out 🙂

 

Workaround:  We ended up using a dropdown/picklist column instead of a checkbox column and that worked great.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Top Solution Authors
Top Kudoed Authors
Users online (1,634)