How to call system property in Condition field of ui action

Sravanthi Dhara
Tera Contributor

Hello All,

 

I have a requirement to call System property in condition field of ui action. I have given something like below but it is not working. Can you please help me with that.

 

SravanthiDhara_0-1704250840725.png

 

SravanthiDhara_1-1704250888741.png

 

SravanthiDhara_2-1704250909980.png

 

1 REPLY 1

Tai Vu
Kilo Patron
Kilo Patron

Hi @Sravanthi Dhara 

Let's try my below adjustment. It will only display the UI Action when the Incident Business Service and Assignment Group match to one of the value from your properties.

gs.getProperty('OBS.ebonding.integration.assignmentgroup').indexOf(current.assignment_group) && gs.getProperty('OBS.ebonding.integration.business.services').indexOf(current.business_service) && new Hide_or_Show_Integration_button_on_incident().check_integration_tickets(current);

 

Cheers,

Tai Vu