AnsweredAssumed Answered

Adding logger to  workflow in alfresco 4.0 share

Question asked by sradha on Oct 5, 2012
Latest reply on Oct 5, 2012 by dranakan

I am using alfresco 4.0. I have added a logger to "Review and Approve" workflow . but i am not able to see the logger statement in  alfrescotomcat-stdout.log file.

modified in in share as

then put the logger in  reviewbpmn20.xml file as

<userTask id="reviewTask" name="Review Task"
               <activiti:taskListener event="create" class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener">
                  <activiti:field name="script">
                logger.log("Hello, World!");
                        if (typeof bpm_workflowDueDate != 'undefined') task.dueDate = bpm_workflowDueDate
                        if (typeof bpm_workflowPriority != 'undefined') task.priority = bpm_workflowPriority;


Can anybody tell me where I have done the wrong?