User criteria referencing HR criteria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
hi all - for a while I have been creating HR criteria and then a related user criteria by clicking on the related link which gives me a user criteria with the script "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello,
Can you please share any scripts you have tried for your system properties? suggested approach, create a string system property with the HR Criteria sys_id, then call it from the script in your user criteria record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Thankyou nolan since I messaged you this morning I have managed to get the user criteria to work with no scan findings - so I think I am all good!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Thankyou for your quick response - this is an example of one I have tried that isnt working
var currentUserId = gs.getUserID();
new sn_hr_core.hr_Criteria().evaluateById(gs.getProperty("propertyname"), currentUserId);
The property itself is in the sys_properties table and is a string type property that links to the SYS ID of the HR criteria
