Show error message on RITM without close compaleting SC TASKS

ShaziyaS4380655
Tera Contributor

HI community,

 

I want to show error message on RITM when user tries to close RITM if SC tasks are not closed complete, i am not allowed to use BR. is there any way to accomplish this requirement.

7 REPLIES 7

Connectmustaq
Giga Guru

Assalamualaikum @ShaziyaS4380655 ,

 

yes, you can do it by using  Use a UI Policy + Client Script   or Flow Designer with Error Logging

 

You may find below thread helpful:

 

If it is helpful, please hit the thumbs button please mark the answer as correct based on the impact!!

 

Kind Regards,

Shaik Mohammed Mustaq

 

 

@Connectmustaq 
Walaikumassalam
SInce  it is OOTB iam not allowed to write BR's,Client script, UI polciy

Hi @ShaziyaS4380655 ,

 

Flow Designer can be used for customization, even in OOTB setups if permitted. You can trigger a flow when the RITM state changes, add a decision step to check if any related records are not "Closed Complete," and if there are open tasks, set a field on the RITM. Optionally, you can log an error or send a notification.

After that, use form layout or read-only conditions (if allowed) to prevent closure based on the value of that field.

 

If it is helpful, please hit the thumbs button please mark the answer as correct based on the impact!!

 

Kind Regards,

Shaik Mohammed Mustaq

 

 

 

 

 

inorder to add the trigger as when RITM state changes to closed complete , i dont see the sc_req_item into the table field