cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Markokstate
Frequent Visitor

CosmosDB Query Documents Returns Incorrect ID (drops trailing 0s)

Will try to keep this as succinct as possible then will respond to any replies asking for more:

 

Using Cosmos DB query (V4 & V3) widget to query documents so I can perform actions against those we need to, simple enough.

 

querybad1.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Now, that seems fine and all, until I actually LOOK UP that ID:
querybad2.PNG

 

It's dropping the trailing 0s.

 

Now, I understood this to be a string field and would not expect any transformation on my id.

 

This ONLY happens if the ID has trailing 0s before the Z, and will happen if I do not put any predicates in my query.

 

Seems like a pretty substantial issue if you ask me. Please let me know if anyone would like to see further information, happy to share because I'd be even happier if this got resolved.

1 REPLY 1
Markokstate
Frequent Visitor

I'm able to pick the ID back up and transform it back to a standard date format

yyyy-MM-ddTHH:mm:ss.fffZ, but the fact that it manipulates my ID field in my return is just wild. 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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.

Top Solution Authors
Users online (1,283)