Is it possible to have a page created from a template with Scriptrunner when a page has been approved (final state) in Comala Document Management?
To be specific:
1. I have created a workflow in Comala Document Management.
2. When the final status of the workflow has been reached (the page has been approved), a page should be created from a template.
I found out that it is possible to use the Eventlisterner from Scriptrunner to activate it when a certain status is reached in Comala: https://docs.adaptavist.com/sr4c/latest/features/event-listeners/custom-event-listener/comala-document-management
Question about this: Is it possible to specify a specific workflow or would a script be activated whenever any workflow has reached the final status?
Unfortunately, I can't find any instructions on how to create a page from a template in Confluence using the event listener from Scriptrunner. Any information on this?
Kind regards,
Ben
Hello @Ben
I've checked with the development team and they explained that you will to use the WorkflowService method getActiveWorkflows to identify the workflow applied.
Our customer success team are available to help you understand the API documentation if you need, you can reach out to them at https://support.comalatech.com
All the best
James
https://docs.adaptavist.com/sr4c/latest/features/event-listeners/custom-event-listener/comala-document-management is dead, can You share code or advise a link...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.