SOLVED

Re: Comparing Two field value

Go to solution
Harish_Gupta6
Level 8

Comparing Two field value

Suppose we have two String field

@josh

Field A contains 1, 2, 3, 4, 5

Field B contains 2

How to execute the following:

If Field A contains Field B then

Skip

Else

Field A = Field A + Field B

Thanks

Harish Gupta
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Comparing Two field value

You must use a webhook to do the comparison.

View solution in original post

5 REPLIES 5
Dan_Stevens_
Level 10 - Champion Alumni

Re: Comparing Two field value

I’m not Josh, so take this for what it’s worth. Field A is essentially a “history” field. So all you need is a conditional CDV flow step that says:

if Field A not contains {{Field B}}

Field A value = {{Field A}}, {{Field B}}

else

do nothing.

SanfordWhiteman
Level 10 - Community Moderator

Re: Comparing Two field value

Except you can't compare to a token by its token name, ​only by value.

Dan_Stevens_
Level 10 - Champion Alumni

Re: Comparing Two field value

Of course. I knew I should have build this out using an actual flow. The "choices" act as mini smart lists - and as we all know, you can't use tokens in smart lists. Good catch, Sandy.

Harish_Gupta6
Level 8

Re: Comparing Two field value

Thanks Dan and Sanford. Is there any solution to achieve this use case in Marketo.

Harish Gupta
SanfordWhiteman
Level 10 - Community Moderator

Re: Comparing Two field value

You must use a webhook to do the comparison.