Wrong expected type in Update and Create Entity Record

"Good afternoon, dear community. It’s me again.

I’ve encountered a weird behavior in Apps when trying to either update or create an entity record. The problem is that the tool event (Update/Create Entity Record) is expecting the wrong data type for one of my fields in the entity. As you can see in the first image, the tool is expecting a “Guid” type of value when, in reality, the field saves “Text” value types, as you can see in the second image.

image

I think it has to do with the fact that the name of the fields contains the word “Id,” and somehow it directly associates it with a “Guid” value. Because in my other entities, I have similar fields, and the behavior is the same, specifically with those fields, because with other text fields, it doesn’t bother.

Let me know what you all think; any feedback is appreciated.

Thank you in advance.

Regards.

Hello,

Please make sure your return value is GUID or if its text and you are storing GUID then do convert.

@Luis_Fernando How can our team reach you to troubleshoot the issue. I see the insider issue and the type mismatch recording in your video.

1 Like

Hello @Baishali_Ghosh happy to help maybe I can share to you my email through a private message so we can connect. Let me know if that works for you.

Hello @Arvind_Kumar1. The thing is the the field in data service is of “text” type but the tool is expecting a GUID for a reason. Check the Behavior nº2 in this video so you can see the whole case.

As you can see in the video, I already managed to make it worked but Its a wierd behavior to see that the whole reason seems to be because I have the word “Id” in the name of the field.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.