Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Does not work "delivery.variables._var [0] .stringValue = instance.vars.xxx" in "Recurring Delivery"

Avatar

Avatar
Validate 1
Level 1
uz2020
Level 1

Likes

0 likes

Total Posts

32 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
uz2020
Level 1

Likes

0 likes

Total Posts

32 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
uz2020
Level 1

16-02-2021

I asked a question before and got an answer.

Error no outout, but it does not appear in the preview.

I don't know the cause.

I'm at a loss....

 

"Enable but do not run", "Enable (waiting for approval)" Can Ipreview in this state? Can preview without sending?

Am I doing something wrong?

 

Thanks,

 

JS

instance.vars.yearTest = formatDate (new Date(), "%Y")

Script Tab

delivery.variables._var [0] .stringValue = instance.vars.yearTest

Property

yearTest

Text Content Tab

<%= variables.yearTest%>

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Contributor
MVP
wodnicki
MVP

Likes

923 likes

Total Posts

1,050 posts

Correct Reply

493 solutions
Top badges earned
Contributor
Shape 1
Give Back 100
Give Back 50
Give Back 25
View profile

Avatar
Contributor
MVP
wodnicki
MVP

Likes

923 likes

Total Posts

1,050 posts

Correct Reply

493 solutions
Top badges earned
Contributor
Shape 1
Give Back 100
Give Back 50
Give Back 25
View profile
wodnicki
MVP

16-02-2021

Hi,

 

Everything you have there is correct (though it can be reduced to <%= formatDate(new Date(), "%Y") %> ;).

You can preview 'without' sending by sending the delivery with confirmation/approvals enabled.

Once sent, the executed delivery can be opened and previewed against target population/vars before confirm button is pressed.

 

Thanks,

-Jon

Answers (0)