Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
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="01d5a2c6-86ff-421d-946a-9c8943dc8213"><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.,