Hello Louis, I have architected the solution! I will first try use the second option . I will create a template to ITI with a "Status" Property with three values: "Approved", "Disapproved" and "Pending Approval" . One time a week I will trigger the scheduler job to send an email to the manager with the "pending approval". One time a month I will trigger the scheduler job to trigger an email to the team with the list with the outdate and disapproved ITIs. It will solve our problem by now! Ty Danilo -----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Guillaume "Louis-Marie" Delhumeau Enviada em: quinta-feira, 13 de junho de 2013 09:38 Para: XWiki Users Assunto: Re: [xwiki-users] RES: Approval Request ITI Hi Danilo. You have several options: - Create a "DocumentListener" which will be called each time a document is saved. Then, you can script whatever you want, as sending an email, etc... http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial - Create a "Scheduler Job", which will be executed once a day (or every hours, or every minutes, as you like), that looks at the document status and send an email if needed. http://extensions.xwiki.org/xwiki/bin/view/Extension/Scheduler+Application The 2 options need the use of the Groovy language. I hope it helps. Louis-Marie 2013/6/12 Danilo Amaral de Oliveira <[email protected]>
Good Morning People!
More one day working in XWiki!
Well, I have talked with my team and we want to use the Xwiki to save our ITIs (Information Technology Instructions) but I will need implement specifics customizations.
Well, Ii is two customizations.
First: create a template to ITI document. It is ok, I did through the Template tool.
Second: Implement request approval flow to changes in the ITI documents. All changes in our ITI need to be approved by our manager, then my idea is: All changes done in the ITI document generate a request to our manager (email) that can approve or not the change. I am thinking to put a "state" in the document that represents if the document is updated, in other words, if it the last updated has less than 1 year. Updated less than 1 year -> Document OK (green) Updated bigger than 1 year -> Document not OK (red)
How can I do it? Will I need to develop any extension?
Ty Danilo
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users