Writing a vars.somevariable into a List without a query activity.

Avatar

Avatar
Validate 10
Level 2
rahulg1930481
Level 2

Likes

7 likes

Total Posts

46 posts

Correct reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 10
Level 2
rahulg1930481
Level 2

Likes

7 likes

Total Posts

46 posts

Correct reply

2 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 1
View profile
rahulg1930481
Level 2

27-06-2019

Hi

I have a Javascript in which I am calculating some vars variables. I want to write these variable into a list. I am not using any query activities where I can enrich these values and right into the list. I want to write the vars into the list without any query activities.

Capture.PNG

Replies

Avatar

Avatar
Validate 1
Level 4
pierrec70731455
Level 4

Likes

62 likes

Total Posts

59 posts

Correct reply

14 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 4
pierrec70731455
Level 4

Likes

62 likes

Total Posts

59 posts

Correct reply

14 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
pierrec70731455
Level 4

28-06-2019

Hi,

here is the doc to do so : group

Kind regards,

Pierre

Avatar

Avatar
Validate 1
MVP
Jean-Serge_Biro
MVP

Likes

353 likes

Total Posts

464 posts

Correct reply

153 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Validate 1
MVP
Jean-Serge_Biro
MVP

Likes

353 likes

Total Posts

464 posts

Correct reply

153 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile
Jean-Serge_Biro
MVP

28-06-2019

Hi Rahulg,


Writing down the variables into a list (group=recipients, list any kind of objects schemas/tables temp or not/any kind of columns) can be done the way given by Pierre, but the question is that lists are used and useful for targeting purposes (recipients, visitors, custom data for targeting purposes).

If it is only for debugging or keeping interim results between 2 workflows execution, most of people rather use to use XtkOptions with the standard JS Api getOption() and setOption().

setOption

getOption


First define an or several options in NmsOptions by the user interface (Administration>Platform>Options), or if must be done dynamically, do it by using standard API such as Write/WriteCollection for inserting records into xtk:options.

Regards

J-Serge