dear team,
I need to start work flow and assign to someone.If I am a normal user(not Admin),how I assign with email notification.
I tried several times.But,There Is an error message.
tell me the reason and help me to resolve it.
Thank You.
There might be couple of reason behind this.For identification will be needing the bpmn file.
If you have written mail notification code by your self, there might be some issue in that.
Thanks Krutik.
But this error comes when i try to start a workflow using default workflow. I have tried to find bpmn files for those workflows, but i'm unable to find them. I haven't did any code for mail notification sending, but only did some configurations in alfresco-global.properties file. Please help me to solve this issue.
Thank you.
can you add your configuration here?is your mail server working perfactly?
Create a test folder somewhere, it does not matter where. Then add a folder rule on that test folder. The action for the folder rule should be to send an email to your email address when a document is created or added to the folder.
Once your rule is in place, drop a document into the folder and verify that you received an email.
If not, go look in the server log and determine why. If it is not obvious to you, then share the full stack trace with us.
If email is working in general, then there must be something else going on with your process. To debug that you can turn on the Rhino Script Debugger on the repo tier by editing log4j.properties, then try kicking off your workflow again. You should be able to step through any JavaScript that you have added to your process and find the bug that is preventing your workflow from starting.
Try setting the property bellow inside the alfresco-global.properties file:
mail.from.enabled=false
I have faced this kind of problem before, and in my case, it was because Alfresco was trying to use the current logged in user's email address to send the email, and as alfresco has no idea about the user's email password, it failed.
Whith that property in place, Alfresco will always use the email account configured in the SMTP section.
I guess it is working for you with the admin user because, usually, the admin's email is the same account used to configure the SMTP for Alfresco.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.