When RITM's and Sc_task's assigned to is empty at that time RITM and task should not be closed

Community Alums
Not applicable

Hi There,

 

I have one Question on RITM and task table,

 

 If  RITM table's Assigned to field and is  empty and someone try to close the RITM at that they shouldn't close the RITM, they should get one Error message, but now in my case i'm able to close the RITM

and same for sc_task, in sc_task table, assigned to is empty at that time also task shouldn't be closed.

 

Can someone please help me how to achieve this.

 

Thanks,

Priya

1 REPLY 1

Kavyashree UK
Tera Guru

hi @Community Alums , 

try with business rule attached below. And apply the same for sc_req_item table as well

Also add this line below 4th line i.e error message -

current.state = previous.state;