event variable in ACC | Community
Skip to main content
Level 4
January 30, 2024
Question

event variable in ACC

  • January 30, 2024
  • 1 reply
  • 662 views

 

 

@ParthaSarathy

@ParthaSarathy 

@ParthaS 

@AkshayAnand 

@Craig_Thonis 

@Manoj_Kumar_ 

@Amine_Abedour 

@Marcel_Szimonisz

@DavidKangni 

@Amit_Kumar 

@ShashankNigam02

@Ganesh5067

@Jonathon_wodnicki

 

wHAT IS event variable in ACC

Lets say a workflow is having 3 activities, activiy1, actiity2,activity3

IF WE DECLARE EVENT VARIable in acc, in 1st activity, i know we can use that event variable in activity2

 

can we use that event variable which is declared in acitivity1  in actiity3??

 

 

 

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

1 reply

ParthaSarathy
Community Advisor
Community Advisor
January 30, 2024

Yes, If all activities are connected in same transition, then event variable can be called in activity 3 as well.

In the below diagram, event variable created in js1 can be called in js2, js3 and js4.

But when you call the event variable created in js1 in js5, it will be undefined.

 

Refer 'Tuesday tech bytes' series, where event variable is explained in detail with example.

 

~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups
Level 3
January 30, 2024

if in your first wkf, if we have-- test/fork acitivity in between and in false transition

means if we use this event variable defined in js1 then will it work

 

 

Also, if

the event variable created in js1 in js5 also, then whats the diff between event variable and instance varibale

ParthaSarathy
Community Advisor
Community Advisor
January 30, 2024

@jefrii , in the 1st flow, if you use fork/Test activity, still you can use the event variable in both true and false transitions.

To know the difference between event and instance variable with example, refer the documentation - https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic/tuesday-tech-bytes-adobe-campaign-classic/m-p/627479/highlight/true#M2588

~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups