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 / Power automate requiri...
Power Automate
Suggested Answer

Power automate requiring an integer, but the information is alphanumeric.

(1) ShareShare
ReportReport
Posted on by 2
Hello! I am making a flow to go through Planner tasks, go through Sharepoint list items, find matches, and then update one of the Sharepoint list values. To do this, my shared "value" between the list and planner for mapping is the planner task ID. The value is alphanumeric. Some examples of this format are: xtQHOdQX60mt7Mwr0VBJoWUAIwVs, YQzAf8ZRzkejcr_2ZL0XiQ2UAH3JX. However, at the end of my flow, it says "  Error details: Input parameter 'id' is required to be of type 'Integer/int64'. ."
 
However, it will not let me convert it to an integer. This is the only shared value available to me. Any ideas? 
Categories:
I have the same question (4)
  • David_MA Profile Picture
    14,090 Super User 2026 Season 1 on at
    Please capture a screen shot of the action where the error occurred and show its configuration and post it with your question.
  • Suggested answer
    Pstork1 Profile Picture
    69,129 Most Valuable Professional on at
    I think the error is referring to the SharePoint list item ID, not the Planner Task ID. The SharePoint ID is an Integer.  Can you provide a screenshot of a flow run with the error?
  • ChadVKealey Profile Picture
    1,393 on at
    It sounds like in your SharePoint list you have a column that's storing the "Planner Task ID", is that correct? If so, you'll need to use a "Get items" (plural) action with an appropriate filter to retrieve the matching SP list item. If that column is named "TaskID", your odata filter query would be something like:
     
    TaskID eq '<planner-task-id>'
     
    The output of Get items will always be formatted as an array, even if only one item is returned. So, for example, if you add an "Update item" action and choose the ID from dynamic content, Power Automate will wrap that in an "Apply to each" loop. This is normal, but can be annoying. I usually add a Compose action with the expression:
     
    first(<get-items-output-value>)
     
    which will give you that first response value as an object. It's a little trickier to access the values in it (you need to use the proper notation), but better than a bunch of apply-to-each loops.

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 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard