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 / Looking up the Process...
Power Automate
Answered

Looking up the Processing user for a Work queue item using the List rows Dataverse connector

(0) ShareShare
ReportReport
Posted on by

Hello community,

 

I wanted to fetch the latest work queue item from Dataverse that was successfully processed by a particular user, using the "List rows" Dataverse connector. 

(Sample record I want to fetch:

ayush_optum_6-1718890300132.png

)

To achieve this, first I've got the row containing my user details from the "User" table by filtering it based on the "IdentiityId" in List rows action.

ayush_optum_2-1718889387385.png

Then, I have another used another List rows action to fetch the latest processed work queue item for this user. To do this, I have applied the filters  "statecode eq 2 and processinguser eq <user GUID>". Here, statecode=2 is used to check for a processed item, and processing user is being mapped to the GUID that I got from User table.

 

Then I have sort the result in a descending order based on the "completedon" column (to get the latest processed item).

And mentioned the "Row Count" as 1 (to get only 1 item).

ayush_optum_3-1718889711488.png

 

But while running this flow, I'm getting the following error:

"error": {
"code": "0x80060888",
"message": "A binary operator with incompatible types was detected. Found operand types 'Microsoft.Dynamics.CRM.systemuser' and 'Edm.Guid' for operator kind 'Equal'."
}
 
It appears that since the "processinguser" column in "Work Queue Items" table will ultimately result a Owner type of data, it's not able to match it with a GUID type.
But, the Lookup column for "processinguser" is the "systemuserid" column in the "User" table, which is of GUID type, then shouldn't it be able to compare and return me the matching records.
How do I go about to get my desired result?

 

The 2 concerned columns for reference:

ayush_optum_4-1718890071213.png

ayush_optum_5-1718890091107.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @ayush_optum ,

     

    Please try this

    vxiaochenmsft_0-1718934974271.png

     

    _<column logic name>_value eq <GUID>

     

    Best Regards,

    Wearsky

  • ayush_optum Profile Picture
    on at

    Thank you Wearsky! I was trying to figure this out for several days. Finally your solution helped.

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard