boolean processWorkItem(Work work, HashMap inputProperties, HashMap outputParameters, StringBuffer errors)
Processes a work item. Returns true if the processing was successful. The errors parameter should be populated with any error messages if the processing fails. A BICException will be thrown if the processing fails. This will flag the work item with an error (if the activity is not configured to send on error).
- work – details on the work item being processed
- inputProperties – map of input properties and their values, which have been resolved (if the activity configuration contained work item property references)
- outputParameters – map for the output properties and their values generated by the Callout BIC and stored with statements like the following:
outputParameters.put(OUTPUT_PARAMETER_NAME, valueForParameter);