I have an ad hoc workflow which applies view and edit restrictions to Confluence pages within a space. It has been tested using a blank page and all works as expected. When I have used a template (space or global) then the restrictions are not applied. How do I fix this?
Hi,
Just to let you know that we have fixed the bug for our next release(Ad hoc Workflows 4.3.1) due in the next week or two. To be updated on new versions of Ad hoc Workflows please go to our Marketplace listing here - https://marketplace.atlassian.com/plugins/com.comalatech.workflow - click on the Details tab then again on "Watch Add-on". An email will then be automatically sent out whenever a new version is released.
Thanks,
Miguel
Quick update on that - 4.3.1 was released a couple days ago. Please try it out and let us know if you have any more issues.
Thanks,
Miguel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not sure on fix date, but in a previous reporting of this issue one of my coworkers had come up with a workaround. The workaround is to add a new initial state before your first state, set a 1 minute due date on it and have it automatically change to your actual first state after about 1-2 minutes after the page is created.
Something like this:
{workflow} {state:Creation State|duedate=PT1M|expired=In Progress} {state} {state:In Progress|approved=Approved|taskable=true} {approval:Review|assignable=true} {state} {state:Approved|final=true|updated=In Progress|hideselection=true} {state}
{trigger:statechanged|state=In Progress} {add-restriction:type=View|user=@user@} {add-restriction:type=Edit|user=admin} {trigger} {workflow}
Basically all you need to do is insert a state(with whatever name you want) like "Creation State" above with the "expired" parameter set to your actual first state which in this case is "In Progress" Nothing else needs to be done to the workflow apart from insuring you use a statechanged trigger on your actual starting state. This new state won't be used again in future iterations of the workflow.
Thanks,
Miguel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Colleen/Charles,
I have confirmed that an issue does exist with Ad hoc Workflows in Confluence 5+ where triggers fire but {add-restriction} doesn't work on triggers fired upon page creation when created a page from a template/blueprint.
Not sure on why or where the problem originates(Confluence or Ad hoc Workflows) but I've logged a bug for the developers to look into it.
Thanks,
Miguel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is you workflow operating on all pages in a space, or just those with a certain label?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's a space level workflow, applied to all pages. With a space template the red lock appears but when clicked on shows no restrictions.
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.