Currently, the WACS-OFS integration assigns activities to a bucket based on the service area or a default bucket. However, in certain business scenarios, activities need to be assigned directly to crews or individual users, which is not currently supported.
Upon reviewing the mapping, I found that the WACS preferredCrewId field is mapped to OFS resourceId preference, whereas it should be mapped to resourceId to enable direct assignment.
To achieve this, the logic should be:
- If crewId is provided by WACS, map it to resourceId, ensuring direct assignment to the specified crew or technician in OFS.
- Otherwise, follow the default mapping as per the OIC Lookups.
This adjustment will allow for both bucket-based and direct user assignments as needed.