How to add two or more sys_id in system property?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2021 09:17 AM
I'm trying to add multiple sys_id in a single system property.
Labels:
- Labels:
-
Delegated Development
8 REPLIES 8
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2021 09:20 AM
You can add them comma(,) separated.
And in scripts, you can get them using gs.getProperty('property_name');
then split them using .split(",").
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2021 09:38 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2021 09:52 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2021 09:59 AM
you can try like,
var ids = gs.getProperty('property name');
ids = ids.split(",");
now ids will have sys_id values in array format.
Thanks,
Maniraj