UI action condition via HR service

eyal abu hamad
Mega Sage

Hey all,

I'm trying to achieve a condition in UI action that shows the button based on the HR service that is selected in HR case

eyalabuhamad_0-1695730408707.png

tried with ( current.hr_service == 'NAME OF THE SERVICE') and also tried with (current.sys_id == (id of the service)

but no luck

 

anyone knows how and if it is possible to do this ?

1 ACCEPTED SOLUTION

AnveshKumar M
Tera Sage
Tera Sage

Hi @eyal abu hamad 

Have you tried current.hr_service == 'sys_id of the service'?

 

 

Thanks,
Anvesh

View solution in original post

3 REPLIES 3

AnveshKumar M
Tera Sage
Tera Sage

Hi @eyal abu hamad 

Have you tried current.hr_service == 'sys_id of the service'?

 

 

Thanks,
Anvesh

THANKS ALOT !

 

I didn't think of that 😂

 

IT WORKED

Ankur Bawiskar
Tera Patron
Tera Patron

@eyal abu hamad 

UI action is on which table?

are you using correct field which stores HR Service?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader