-- No supervisor found, assign to custom_arg party_id (user or group)
RAISENOTICE'im_workflow__assign_to_supervisor(task_id=%, oid=%): No supervisor of object creator, assigning to party_id in custom_arg="%" ',p_task_id,v_object_id,p_custom_arg;
-- Cast to integer from parties.party_id. NULL argument gracefully handled or use global default