내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards
해결됨

Query about Sysfilters in Adobe campaign classic

Avatar

Level 5

Hello All,

 

I am stuck in a requirement where I have to create sysfilters in schema like this:

IF brand = 0 then 999999 else table1.BRANCH_ID =table.iBrandId

 

 

Please suggest how can we create sysfilters in schema like this

please give some guidance

주제

토픽은 커뮤니티 콘텐츠를 분류하여 관련성 있는 콘텐츠를 찾는 데 도움이 됩니다.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi @Shruti1,

 

I share with you a useful documentation link, that can help you to clarify your issue.

 

Try with these two options  inside the XML schema where you need the filter:

A:

<sysFilter>
    <expr>
      <![CDATA[
        (@brand=0 and @branchId=999999) or (@brand!=0 and @branchId=table1.BRANCH_ID)
      ]]>
    </expr>
</sysFilter>

B:

<sysFilter>
    <expr>
      <![CDATA[
        ([@brand=0] and 999999) or ([@brand!=0] and @branchId=table1.BRANCH_ID)
      ]]>
    </expr>
  </sysFilter>

 

 

Regards, 

Celia

원본 게시물의 솔루션 보기

1 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

Hi @Shruti1,

 

I share with you a useful documentation link, that can help you to clarify your issue.

 

Try with these two options  inside the XML schema where you need the filter:

A:

<sysFilter>
    <expr>
      <![CDATA[
        (@brand=0 and @branchId=999999) or (@brand!=0 and @branchId=table1.BRANCH_ID)
      ]]>
    </expr>
</sysFilter>

B:

<sysFilter>
    <expr>
      <![CDATA[
        ([@brand=0] and 999999) or ([@brand!=0] and @branchId=table1.BRANCH_ID)
      ]]>
    </expr>
  </sysFilter>

 

 

Regards, 

Celia