cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Boolean Filter replace error

quentinvillers
Explorer
0 Likes
1,455

Hello, I am struggling to filter with Boolean on an entity connected to BTP Gateway Destination

Here is my entity

When I add a filter here :

When I trigger the flow to Get Record Collection I have the error message :

"{"code":"unknown","status":-1,"message":"Error: r.replace is not a function","rawError":{}}

It does not call my backend odata function, I only get this error message.

If I only call with Text search it works.

View Entire Topic
GoranKovacic
Participant
0 Likes

HI daniel.wroblewski, can you maybe share the current status hereby? As of today, I am still experiencing problems with setting a filter on a Boolean value. Was the bug maybe already reported or maybe already fixed?

Do you maybe have a suggestion, how we can set a working filter on a boolean field?
(My current workaround is, that I am filtering String fields. which represent the booleans.)

Thx and BR,
Goran

Dan_Wroblewski
Developer Advocate
Developer Advocate

I just made an inquiry, and I hear that maybe we are near an expansion of the OData filtering capabilities of SAP Build App, though I have no idea when. I think the Boolean filtering issue would be included in this enhancement, but again I cannot say for sure. I have made additional inquiries and will post if I hear anything more definitive.

quentin.villers I see you selected your own answer as best. If you meant that, great. If not, and I was some help, please reconsider 🙂

GoranKovacic
Participant
0 Likes

Hi daniel.wroblewski. Thank you for your fast reply!
Per your suggestion, I just created an incident - 095424/2023.