Thank you so much,
Probably it"s because i don't understand XWIKi basics, now i'll take my
time to understand basics
You're a good community !
2014-05-13 9:50 GMT+01:00 Anca Luca <lucaa(a)xwiki.com>om>:
Hello,
So first you need to make sure you installed both the API and the
application (the APi is a dependency of the application, so if you install
with Extension Manager that will just work, if you install manually you
need to handle it yourself).
Then, once installed, create at least one workflow in the place of your
choice (iirc, there is a template provider that is available in the
PublicationWorkflow space, so just use the "Add -> Page" menu in this
space). This workflow is an association of groups of contributors,
validators, etc. Then, in the space where you wanna keep your draft
documents, add the PublicationWorkflow.PublicationWorkflowPanel panel from
the administration. Then, for a draft document that you created, use the
form in this panel to setup the destination document, where the draft
should be copied when it was approved for publication (the "published
document"). The rights on the draft documents are handled by the workflow
extension, but the rights on the published document need to be handled by
you (e.g. remove all edit rights of people on that space, since nobody
should be editing directly a published document, they should go through the
draft and publication process). Now, you're all done, this panel should be
showing you actions that you can do on the document. Also, if you put this
panel (or use the macro somehow) on the published document, it will allow
you to go back from the published document to its corresponding draft.
If you still have troubles, check the logs of your wiki and give the
exception/message/warning if there is any in the logs (when you get
workflow.script.failed).
Happy XWikiing,
Anca
On Mon, May 12, 2014 at 11:46 PM, walid yaich <walid.yaich(a)gmail.com>
wrote:
Hi,
Basically my need is to have a simple workflow, someone to edit a page
and
another to validate and publish.
I can't get this extension working, i setup it on XWIKI 4.4 (5.2 too) and
try to run a workflow but i always get "workflow.script.failed".
Please, do you know how to get it work ?
Thanks in advance
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users