Form-centric workflow: How to implement a OSGi service for custom metadata (assign task)
Hello
Currently I'm working on forms-centric workflows. I'm using the assign task component and I need to add some custom values into the custom email templates. As per documentation (https://docs.adobe.com/content/help/en/experience-manager-65/forms/publish-process-aem-forms/use-metadata-in-email-notifications.html#use-an-osgi-bundle-and-java-interface-to-add-custom-metadata) I should be able to write my own OSGi service which prepares the metadata map.
Unfortunately I'm not able to successfully get the OSGi service listed in the field Assign Task --> Advanced --> Custom Metadata. It seems that the above linked documentation is incomplete (e.g. see point 4).
Was anyone able to create such a OSGi service and get it listed for selection? If so, is there a working example available?
Kind regards
Richard