Executing the Service Connector API Calls

To execute the Service Connector API calls, you must invoke the method on the appropriate BPM service API.

For example:

WorkResponse workResponse = getServiceConnector(req).getWorkPresentationService().completeWorkItem(buildWorkRequest(req));

Schema validation

When executing the Service Connector API calls, you must ensure that the inputs conform to the schema. This is necessary as schema validation for the inputs is not available in the Service Connector.

For example, ensure that you provide values for all the mandatory fields.