CS_SERVICEREQUEST_PVT.Delete_ServiceRequest with parameter p_purge_source_with_open_task ='Y'
I am using CS_SERVICEREQUEST_PVT.Delete_ServiceRequest with parameter p_purge_source_with_open_task ='Y' in my code which means to ignore all validation of the Tasks.
But while purging all of my SR having the associated task with task status for which the flags (closed_flag,completed_flag,cancelled_flag) is not set to Y, gives the CSF:CSF_DEBRIEF_PURGE_FAILED error.
this means the SR is linked to FS tasks that are in Closed/Completed/Cancelled status.
But via p_purge_source_with_open_task ='Y' , I have ignored the task status validations then is it correct to check this link between the SR and Task?