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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / initialize variable ar...
Power Automate
Unanswered

initialize variable array: The optionset values sent [826410021,826410024,826410020] are not valid integers.

(0) ShareShare
ReportReport
Posted on by 69


Hi,
In a flow where data is extracted from a form to upload into a dataverse table, I want to work with a variable array for the Weekdays selection column. For this I have the action initialize variable weekdays which is an array.

Schermafbeelding 2024-06-11 om 09.34.17.png

Then I use conditions to extract the weekdays from the form in parallel branches.

Schermafbeelding 2024-06-11 om 09.34.46.png

 

Schermafbeelding 2024-06-11 om 09.34.56.png

If the weekday is checked in the form, an append to array action is performed, which produces the following result in the compose weekdays action.

Schermafbeelding 2024-06-11 om 09.35.02.png

 

However, with the action add a new row to Internship requests where variables weekdays or the outputs of the compose are given as custom values, I always get the following output: { "error": { "code": "0x80060888", "message": "The optionset values sent [826410021,826410024,826410020] are not valid integers." } }

 

Schermafbeelding 2024-06-11 om 09.35.15.png

 

Can someone help me find how to make it work? I've bin busy with this for three days now, tried every possibility i could think of but for some reason the flow does not except the numbers as integer.

 

Thanks in advance!

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,830 Most Valuable Professional on at

    Hi @Stefaniebc,

     

    Can you try the below expression in your add new row action field instead?

     

    join(variables('Weekdagen'), ',')

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard