Is it possible to build an Audience via a Script?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2022 02:21 PM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2022 08:21 AM
that actually sounds better ! and should work oob which is great ...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2024 05:24 AM
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?