Is it possible to build an Audience via a Script?

G Phoenix
Giga Guru

I have an idea to create an audience (in Content Publishing) based off of logic from the sys_user table (ie, if a user has a specified date in one field I want to create notifications and banners for their specific managers).  I have tried to use the internal Audience logic to create this but have yet to succeed.  I would like to build the audience via a script so that I can include the specific logic in the script and have the script run everyday so that the audience is changed daily.  Is this possible or am I just barking up the wrong tree?

 

Example:  If User's prim_location is 'Florida', then I want to show a banner for that employee's manager.

11 REPLIES 11

Ravi9
ServiceNow Employee
ServiceNow Employee

that actually sounds better ! and should work oob which is great ... 

Community Alums
Not applicable

Were you able to figure this out? I am in the same stitch and somehow ServiceNow decided that they don't want to use the User Criteria here which has the advanced box check. Please let me know if you were able to figure this out?