I am using Oracle Applications 11.5.10 . While trying to create a Service Request from the application , when a problem code value is passed , the SR gets created automatically with all the tasks attached to a task template mapped to the problem code . But when I try to do the same from the cs_servicerequest_PUB.Create_ServiceRequest public API , the task assignment fails with the following error :
No Resource Found. Please Try Again.
API Error(CS_SR_TASK_AUTOASSIGN_PKG.ASSIGN_TASK_RESOURCE). Unable to automatically assign Task Owner. Please Check your Territory Set Up or manually assign Task Owner.
API Error: System could not automatically Assign an Owner for task template: Auto Task Grouping Problem. Task Owner field is Mandatory
The territory setup seems to be fine in the environment. I am calling the API with P_auto_assign => 'Y',p_auto_generate_tasks => 'Y' . Could anyone help me out with what could be the probable
problem and what other check should I do .