BPM User Task Overdue Handler Plugin


#1

Hi,

I wanted to use the camunda-consulting duedatehandler plugin.When a job is overdue I want to send a mail to the candidate group .

Unit test executed properly.But in the camunda application which tasks overdue JobHandler is not trigger. And not able see in console " Escalation received!"

Steps performed:

  1. Maven Clean and Install
  2. Copy task-overdue-job-handler.jar in the server/lib
  3. Added in bpm-platform.xml
 <plugin>
        <class>com.camunda.demo.task.escalation.WatchUserTaskDueDateProcessEnginePlugin</class>
       </plugin>
  1. started server

refered code:

Appriciate your help.

Regards,
Kedari


#2

Hi Kedari,

can you please share your complete log file?

Best regards,
Philipp


#3

Hi Philipp,

Thanks for reply.

Task due date screen .

Logs below.
10-Jan-2018 11:44:06.742 INFO [http-nio-8080-exec-3] com.camunda.demo.task.escalation.AddWatchDuedateParseListener.parseUserTask register com.camunda.demo.task.escalation.DeleteWatchDuedateJobTaskListener on activity UserTask_11fud4o
10-Jan-2018 11:44:06.793 INFO [http-nio-8080-exec-3] com.camunda.demo.task.escalation.AddWatchDuedateParseListener.parseUserTask register com.camunda.demo.task.escalation.DeleteWatchDuedateJobTaskListener on activity UserTask_11fud4o
10-Jan-2018 11:44:06.858 INFO [http-nio-8080-exec-3] com.camunda.demo.task.escalation.AddWatchDuedateParseListener.parseUserTask register com.camunda.demo.task.escalation.DeleteWatchDuedateJobTaskListener on activity approveInvoice
10-Jan-2018 11:44:06.874 INFO [http-nio-8080-exec-3] com.camunda.demo.task.escalation.AddWatchDuedateParseListener.parseUserTask register com.camunda.demo.task.escalation.DeleteWatchDuedateJobTaskListener on activity prepareBankTransfer

And not able see in console " Escalation received!"

Regards,
Kedari


#4

Hi Kedari,

that’s odd. You should see the log message “Add WatchDueDateJob for task …” when a user task is entered.

Can you give me more details how to reproduce the issue?
What Camunda version do you use? What process do you start?

Best regards,
Philipp


#5

HI Philipp,

I am also surprised that. I am running Invoice process.

Camunda version: “camunda-bpm-tomcat-7.8.0”

Regards,
Kedari