You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

I am trying to automate the following process:

. Adding items with an expiry date after which they have to be removed.

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:

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ad1d94ac-40b2-4d2d-9cba-bca8f72b9d83"><ac:plain-text-body><![CDATA[

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

]]></ac:plain-text-body></ac:structured-macro>

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.

  • No labels