Reporting from custom workflow step
I have set up a series of custom workflow steps on AEM's DAM functions, that through OSGi link AEM assets to objects in a PIM system.
What I would like is an information report to be sent back and displayed within AEM once assets have been created/updated/deleted in the PIM. So it would display a report in a similar way to the product importer wizard, to show details of the assets that have been processed. The report could be sent as a notification to a user once the workflow is complete perhaps, but at the moment we are only notified on workflow failure, is there a way to extend this?
Can you advise how to send back information to the user to show error messages and 'success' messages from an OSGi service in a workflow? Thanks.