I have a ScriptRunner script to move a page, but I need to build in an extra check:
the page has a status based on a workflow on that page (created with the Comala Document Management add-on). Now, depending on that page state I want to move the concerned page to another place. E.g. when in draft under the Drafts page, when approved under the Approved page, etc.
Can I in a ScriptRunner script test the Comala page state, and if yes, how do I do that?
Many thanks,
Patrick