AnsweredAssumed Answered

Webscript and simple workflow

Question asked by pierre.duracel on May 14, 2008
Dear reader,

I'm doing some work based on webscripts and need to fire programmaticaly the approve/reject  copy/move actions associated to some content.

The approve/reject are steps inside what is called "simple workflow" inside Alfresco.

The simple workflow relies on an aspect called "app:simpleworkflow" and describe by associated values (app:approveMove, …).

I know I can get these properties and do the job by using javascript code.

But I will prefere to have it done based on some java code called by javascript.

Does somebody have any idea about the best way to do that ?  Maybe by using the WorkflowUtil class or some bean (based on perhaps BaseDetailsbean ) service ???

Thanks in advance for your help.