Skip to main content
Tom_liolios2
Level 2
October 25, 2018
Question

List registered members of program in token

  • October 25, 2018
  • 4 replies
  • 4318 views

Is there a way to create a token that lists all members in a progam that have a specific Program Status? Particularly, I would like to select all registered members of a program.

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

4 replies

Sonali_Jadeja3
Level 4
October 25, 2018

Hi Frank,

Is there a reason you want to use a token in this? Not sure if I understood your question correctly.

Basically, if you're looking for all members of a program you would create a smart list with filter 'Member of program'. That will give you all the persons engaged with that particular program.

Kevin_McMahon1
Level 4
October 25, 2018

Hey Frank,

A token is a variable for dynamic content that references the content specific to each individual campaign or person. A little confusing to define, but easier to understand in practice. Check out Tokens Overview to learn more about using tokens and the different tokens available.

As for your request, @Sonali Jadeja​'s method is the way to go.

Tom_liolios2
Level 2
October 26, 2018

Hi Kevin,

Thanks for your answer. However, the idea is that I want to send an internal email to let colleagues know which people have signed up for their events. I was thinking about creating a token that lists all people that have the Program Status 'Registered' and then use this in an email. But based on all the answers in this thead, I assume it's not possible to do something like this.

SanfordWhiteman
Level 10
October 26, 2018

This is a much better fit for a Smart List subscription, which naturally includes info for multiple leads. It's pretty much what the feature is for.

An alert, though sent to a non-lead, still runs in the context of a single lead record.

Grégoire_Miche2
Level 10
October 25, 2018

HI Franck,

No, this is not possible. Theprogram member table is not accessible for velocity scripting, AFAIK. @Sanford Whiteman​, do you confirm ?

-Greg

SanfordWhiteman
Level 10
October 25, 2018

The program member table is not accessible for velocity scripting, AFAIK. Sanford Whiteman, do you confirm ?

Confirmed, although I don't think "token" was really meant here.

It is, however, possible to know whether someone is a program member from Velocity via a roundabout way: use Member of Program in a segmentation, then consult that seg from Velocity.

Grégoire_Miche2
Level 10
October 25, 2018

Hoping you do not want to do this on too many programs

-Greg

Jay_Jiang
Level 10
October 26, 2018

To directly answer your question, you'd need to use API to get members from program id, collate members matching a status and make an API call to create/update token with the value.