Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

I have tried to use the deadline plugin which has an issue when I try to send email using email plugin or update workflow variable using beanshell plugin after deadline timeout occur. The process is as shown below:

If the process was run without waiting for the deadline time out it works properly, and if we waited for the time out to occur, it reaches the final activity however it fails to send emails, Please advice.

Ti investigate I made the following process: Image Added

When the process is run it sends an email, however if actitiy1 did not complete and is allowed to timeout, the email is not sent. When looking at the Audit trail windows I found the following:

2011-09-24 17:33:43.0

roleAnonymous

executeTool

6_3_kl_process1_tool1

org.joget.workflow.shark.WorkflowToolActivityHandler

2011-09-24 17:33:43.0

roleAnonymous

executeActivity

Could not execute tool [processId=kl#2#process1, version=2, activityId=tool1]

org.joget.workflow.shark.WorkflowToolActivityHandler

2011-09-24 17:33:43.0

roleAnonymous

processCompleted

3_kl_process1

org.joget.workflow.model.service.WorkflowManagerImpl

2011-09-24 17:32:42.0

admin

getDefaultAssignments

5_3_kl_process1_activity1

org.joget.workflow.shark.WorkflowAssignmentManager

2011-09-24 17:32:42.0

admin

processStart

kl#2#process1

WorkflowManagerImpl

Clearly the tool was executed by roleAnonymous (lost the admin role after timeout) which did not have permission to send email. Please advice since this is a show stopper for me.,

I tried the same design in version 2.03 and works fine so this is a critical bug in version 3 beta 2 . Please advice.