We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Include more than one Hr criteria in evaluate by ID

kuttti
Kilo Guru

Hello All,

Can I add more than one HR criteria in following line ?

var evalUser = hrCriteria.evaluateById('e8c6e78cdb19d418bfa279398c96194a', gs.getUserID());

Thanks!

1 REPLY 1

Musab Rasheed
Kilo Patron

Hello,

No, that's not possible. Basically whatever you are seeing is User criteria which was created from HR criteria, you cannot add additional criteria to it.

Please hit like and mark my response as correct if that helps

Regards

Please hit like and mark my response as correct if that helps
Regards,
Musab