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 / The provided types 'Ob...
Power Automate
Answered

The provided types 'Object' and 'Object' are incompatible.

(0) ShareShare
ReportReport
Posted on by 8

I'm having an issue with a Condition that I created that is giving me the following error:

 

"The provided types 'Object' and 'Object' are incompatible."

 

I've been struggling with this flow for almost a month now and finally got to a point I was sure it was going to work. I'm still hitting my head against a condition where I am attempting to compare a number field from a SharePoint list against a number generated by my flow.

 

I finally attempted to brute force it by comparing the following fields:

coffeejunkie79_0-1713800312339.png

coffeejunkie79_1-1713800332797.png

I simply took the output from "Compose" and put it in "Compose 2". Why isn't Power Automate accepting these as being equal? I tried changing the condition function to "contains" and that is when I received the 'Object' and 'Object' are incompatible statement. If I use the "is equal to" function, the result if "false".

 

coffeejunkie79_2-1713800419903.png

Thank you for your help.

Categories:
I have the same question (0)
  • coffeejunkie79 Profile Picture
    8 on at

    Please let me know if this question is unclear. I can add more information if needed.

  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @coffeejunkie79 

    Can you show the "outputs('Last_DocNumber')" return in your flow run histroy?

     

    Best Regards,

    Yueyun Zhang

  • coffeejunkie79 Profile Picture
    8 on at

    coffeejunkie79_0-1713885796433.png

     

  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @coffeejunkie79 

    I test it in my side ,it also return false when i  use the "is equal to" .

    You can try to use the expression to judge like this:

    vyueyunmsft_0-1713926440449.png

    equals(outputs('Compose'),outputs('Compose_2'))
    true
     
    vyueyunmsft_1-1713926491294.png

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

     

     

  • coffeejunkie79 Profile Picture
    8 on at

    Hi v-yueyen-msft. Thank you for your reply.

     

    This doesn't appear to be working for me. I'm not sure if this is because the DocNumber is pulled from a SharePoint list? Do you have any other suggestions?

     

    coffeejunkie79_0-1713932326424.png

    coffeejunkie79_1-1713932346567.png

     

  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @coffeejunkie79 

    Thanks for your response ! I test it in my side , this is due to the data from sharepoint will return like this:
    {"DocNumber":1.0}

     

    So you need to add the int() function in your "Select" function.

    vyueyunmsft_0-1713937807488.png

    int(item()?['DocNumber'])
     
     
    Then we can use this function to judge :
    equals(outputs('Compose'),outputs('Compose_2'))
     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

     

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
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard