AnsweredAssumed Answered

TaskListener Logs could not be found on JBoss WildFly. Why?

Question asked by sankarts on Sep 8, 2014
Latest reply on Sep 9, 2014 by sankarts

Being a beginner of Activit, I've deployed Activiti archives (both activiti-explorer.war & activiti-rest.war) on JBoss WildFly 8.1.0 server.

My Activiti Project includes Activity Diagram along with Task Listener class implementation.
Upon certain condition (say for experenced candidates), the approved_task should get executed. XML section  is as follows.

<userTask id="approved_task" name="Approved" activiti:assignee="kermit" activiti:priority="7">
        <activiti:taskListener event="create" class="my_activiti_proj.Approved_Task"></activiti:taskListener>

I am only logging in my Notify method & it looks like as below.

public class Approved_Task implements TaskListener {
   public void notify(DelegateTask delegateTask) {
      System.out.println("Inside notify method ….");"TASK COMPLETE from Activiti " + delegateTask.toString());      
I deploy my process & then start using Activiti Explorer. Though the process & tasks got completed, I could never find this log message in JBoss Wildfly log.

The class file say Approved_Task has been placed under WEB-INF\classes\my_activiti_proj\Approved_Task.class of "activiti-explorer.war".

1) Any clue what could be wrong? Why the logs are not present?

2) If I intend to persist into DB as part of "User Task", then how I can perform this user task using Activiti REST?

Thanks in advance.