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

vars

Avatar

Avatar
Validate 10
Level 4
davidl14970702
Level 4

Likes

30 likes

Total Posts

93 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 4
davidl14970702
Level 4

Likes

30 likes

Total Posts

93 posts

Correct Reply

13 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
davidl14970702
Level 4

13-01-2018

I am declaring vars.subName = 'lwFilmsGenComm'; in a JS activity in the first step of the workflow. I was hoping to call $(vars/@subname) down line within a query. But I keep getting this error

01/13/2018 3:11:02 PM XTK-170036 Unable to parse expression '[service/@name] = ''lwFilmsGenComm'''.

01/13/2018 3:11:02 PM Executing query 'Result' (step 'subscriptions exist such as internal name of service equal to '$(vars/@subName)'')

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 50
Employee
shrawans3153003
Employee

Likes

69 likes

Total Posts

150 posts

Correct Reply

66 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
shrawans3153003
Employee

Likes

69 likes

Total Posts

150 posts

Correct Reply

66 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
shrawans3153003
Employee

14-01-2018

Hi David,

I have tested the same and it's working fine.

I have taken a JS activity as the first activity in workflow in which I have initialize a variable i.e vars.subName = 'newsletter';

In the second step, I have taken the query activity to query all the recipients who are subscribed to that service and workflow query running fine without any errors and i am getting the expected output.

1395331_pastedImage_5.png

1395335_pastedImage_6.png

Please note I have tested this in V6.

Answers (0)