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 |
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.
16 Comments
Hugo
Hi Mahmoud,
Thanks for the thorough explanation on the issue that you are facing. The development team will try to look into this issue now. Thanks again for the initiative you took here!
Mahmoud Refky
Thank you for the efforts, hope you can resolve this and send us an update soon.
Mahmoud Refky
Can we expect a resolution for this critical issue soon? please advice.
Hugo
Hi Mahmoud,
This issue has been fixed recently. You may access to the latest fixes if you check out Joget v3 community SVN and build it. Thanks.
Mahmoud Refky
Hi Hugo;
Can you please validate this. It only takes few minutes with one activity and one tool as displayed in the second picture I attached. I have compiled the sources after many hours of trial and failure due to the lack of information provided, but at the end I got a sucessful compilation and the issue is still present. Thanks.
Mahmoud Refky
I did (installed 824af4d ) and same issue exists. I am using windows XP and after timeout the email plugin does not exexute.
Mahmoud Refky
I also installed the linux version on open susue and have the very same issue.
Mahmoud Refky
Can I get a response to this PLEASE.....I want to know if this is a bug or I am doing something wrong that I don't know, PLEASE HELP
Hugo
Hi there,
We are looking into this now. Thanks.
Hugo
Hi Mahmoud,
Just a quick update. We have confirmed that this issue exists and we are in the midst of solving it right now. I'll keep you posted. Thanks for reporting the issue again.
Mahmoud Refky
Thanks,
Hugo
Hi Mahmoud,
We are delighted to inform that this bug has been fixed accordingly. You may get the fix via SVN Update shortly after or you may also wait for the public release of Joget v3 Beta 3 in just a couple of days more.
Thanks for your continued support and interest in Joget!
Have a nice weekend ahead.
guntur siagian
Hi Hugo,
Why i am still facing the same issue as above, when i put deadline on tool, then the whole process after deadline triggered are completed. While i need the process are continue. please help me with this issue, thanks a lot Hugo.
Regards,
Guntur HS
(gunturhs@hotmail.com)
Hugo
Hi Guntur,
You are responding to a very old thread which may not be relevant anymore to your question. This thread talks about Joget version 3 beta 2 and version 2.03.
Please create a new question in http://dev.joget.org/community/questions.
Thank you.
Mahmoud Refky
I will try now, Thanks again,
Nothing seems to be commited today, last commit is 3 days ago. I will wait till new code changes are commited to GIT.
Mahmoud Refky
I got it and confirm its working properly now, Thanks for the efforts and keep the good work.