How to define inbound population in javascript activity.

Avatar

Avatar
Validate 1
Level 2
shivakumar_pore
Level 2

Likes

7 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
shivakumar_pore
Level 2

Likes

7 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
View profile
shivakumar_pore
Level 2

07-09-2019

Dear Members,

I am writing a workflow in Adobe Campaign for A/B testing, but this flow will be executed many times, I can use recurring/continuous deliveries for A/B templates but when it comes winner deciding template I have to use the delivery coming from the inbound transition. I cannot achieve this by using recurring/continuous deliveries. Can you please tell me how this can be achieved using javascript activity, basically I am looking for a code snippet to define inbound target population in javascript.

Thanks,

Shiv.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 3
Level 2
shiva_kumarp498
Level 2

Likes

4 likes

Total Posts

16 posts

Correct reply

1 solution
Top badges earned
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Boost 3
Level 2
shiva_kumarp498
Level 2

Likes

4 likes

Total Posts

16 posts

Correct reply

1 solution
Top badges earned
Boost 3
Boost 1
Affirm 1
View profile
shiva_kumarp498
Level 2

08-09-2019

I figured it out, I am using the below script-let after getting the target population by querying targetSchema

nms.delivery.SubmitNotification(delivery.internalName, <delivery> <targets> <deliveryTarget> <targetPart type='query' exclusion='false' ignoreDeleteStatus='false'> <where> <condition expr={'@id in ('+ comaSepId + ')'}/> </where> </targetPart> </deliveryTarget> </targets> </delivery>)

Thanks for the response though and I got to know that this can also be achieved by setting activity.scenario_id  in continuous delivery activity.

Answers (2)

Answers (2)

Avatar

Avatar
Contributor
MVP
Anita_p
MVP

Likes

118 likes

Total Posts

119 posts

Correct reply

29 solutions
Top badges earned
Contributor
Shape 1
Ignite 3
Ignite 1
Validate 1
View profile

Avatar
Contributor
MVP
Anita_p
MVP

Likes

118 likes

Total Posts

119 posts

Correct reply

29 solutions
Top badges earned
Contributor
Shape 1
Ignite 3
Ignite 1
Validate 1
View profile
Anita_p
MVP

08-09-2019

Hi Shiv,

Hope this document helps you :

https://docs.campaign.adobe.com/doc/AC/en/WKF_Use_cases_A-B_testing.html

Regards,
Anita

Avatar

Avatar
Contributor
MVP
Anita_p
MVP

Likes

118 likes

Total Posts

119 posts

Correct reply

29 solutions
Top badges earned
Contributor
Shape 1
Ignite 3
Ignite 1
Validate 1
View profile

Avatar
Contributor
MVP
Anita_p
MVP

Likes

118 likes

Total Posts

119 posts

Correct reply

29 solutions
Top badges earned
Contributor
Shape 1
Ignite 3
Ignite 1
Validate 1
View profile
Anita_p
MVP

10-09-2019

Thanks Shiv for sharing the solution.