Cannot filter relationships in record data

Hi

I need someone help!!

I was trying to filter relationships in record data using record type in rule input, but could not filter.

When I tried to filter the relationship of record data using text datatype in the rule input, i was worked.

My question is why I couldn't  Filter when using recordtype. I don't know what is wrong.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

    Hi,

    From the screenshot shared, the 'Test Input value' is provided as null, 

    since the parameter 'ignoreFilterswithEmptyValues: is set as True, The filter condition will ignore incase of your input value is null. 

    For testing purpose , in the condition, you can update the query input value(Rule input you have mentioned)  with a constant value and can check whether your query is working or not.

    For ex: 

     filters: {
        a!queryFilter(
          field: recordType!TE_Customer.testcase.testname,
          operator: "=",
          value: "Test01"
        )
      },

Reply
  • 0
    Certified Associate Developer

    Hi,

    From the screenshot shared, the 'Test Input value' is provided as null, 

    since the parameter 'ignoreFilterswithEmptyValues: is set as True, The filter condition will ignore incase of your input value is null. 

    For testing purpose , in the condition, you can update the query input value(Rule input you have mentioned)  with a constant value and can check whether your query is working or not.

    For ex: 

     filters: {
        a!queryFilter(
          field: recordType!TE_Customer.testcase.testname,
          operator: "=",
          value: "Test01"
        )
      },

Children
No Data