Implemented tasks search by process instance ID in the legacy REST API.