"Enable if" function - Update activity | Community
Skip to main content
Level 2
July 25, 2022
Solved

"Enable if" function - Update activity

  • July 25, 2022
  • 1 reply
  • 1382 views

Hi all,

we’d like to use on Campaign Standard the “enabled if” function in the update activities (tab. Fields to update).

How does this “enabled if” function work and behave with operation type INSERT OR UPDATE?

Thanks in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SatheeskannaK

Hi @giuliap42357798,

 

It's working if i do the same thing with below,

On the reconciliation activity, i have enabled link to profile resource using email field to know whether customer id exists or not on the profile.

Update activity will have following,

Try this and let me know if it works.

 

Thanks!

 

1 reply

SatheeskannaK
Community Advisor
Community Advisor
July 25, 2022

Hi @giuliap42357798,

 

Take a look at below example screenshot where i used enabled if condition when email address IS NOT NULL then it will insert/update customer id in ACS.

Thanks!

Thanks, Sathees
Level 2
July 28, 2022

Hi @satheeskannak 
this is the status I have on Campaign:

Email

CustomerID

Title

test@gmail.com

01

 

test@gmail.com

 

 

 

I’d like to update just the row already present on Campaign with CustomerID field empty (the second row), in order to insert a valued title.

On the import file there are the email and title fields.
Trying to loading this file, reconciliating it through the email field, once that I set the update activity with operation type INSERT OR UPDATE and the Enable if condition on the Title field like this:

([target/@cusCustomerID] IS NULL OR [target/@cusCustomerID] = '')

The result I get is:

Email

CustomerID

Title

test@gmail.com

01

Mr

test@gmail.com

 

Mr

 

How should I do to update only the row with CustomerID empty?

SatheeskannaK
Community Advisor
SatheeskannaKCommunity AdvisorAccepted solution
Community Advisor
July 29, 2022

Hi @giuliap42357798,

 

It's working if i do the same thing with below,

On the reconciliation activity, i have enabled link to profile resource using email field to know whether customer id exists or not on the profile.

Update activity will have following,

Try this and let me know if it works.

 

Thanks!

 

Thanks, Sathees