We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

When HR Task is Awaiting Information, Change the Parent HR Case state to 'Suspended'

Kushi
Tera Contributor

Hello,

Question: When HR Task is Awaiting Information, Change the Parent HR Case state to 'Suspended'.

I have written a business rule for the above on HR Task Table 'AFTER UPDTAE' when 'STATE IS AWAITING INFORMATION'.

Kushi_0-1723784819975.png

can anyone help if there's anything wrong with the script

3 REPLIES 3

Mame Diarra__
Mega Guru

@Kushi 

Line 7 should be : if(current.state =='5')

Thanks, i tried but its not working

If you have already added the AWAITING INFORMATION on the condition, you don't need it on the script; you can have something more simple (see screenshots)