Hi , I am new to Alfresco Activiti and just trying to use a mail task and it fails .Could any one help me please?

cancel
Showing results for 
Search instead for 
Did you mean: 
omar_h
Member II

Hi , I am new to Alfresco Activiti and just trying to use a mail task and it fails .Could any one help me please?

Jump to solution

1 Solution

Accepted Solutions
rallegre
Alfresco Employee

Re: Hi , I am new to Alfresco Activiti and just trying to use a mail task and it fails .Could any one help me please?

Jump to solution

I assume you are using Activiti 6.

You need to set the properties of the mail server you want to use.

Here is the doc explaining how to configure the activiti.cfg.xml 

https://www.activiti.org/userguide/#bpmnEmailTask

Raphael

View solution in original post

4 Replies
rallegre
Alfresco Employee

Re: Hi , I am new to Alfresco Activiti and just trying to use a mail task and it fails .Could any one help me please?

Jump to solution

Hi,

Can you provide more details on the error you are getting?

Meanwhile here is the doc for mail task: (Mail task | Alfresco Documentation 

Thanks

omar_h
Member II

Re: Hi , I am new to Alfresco Activiti and just trying to use a mail task and it fails .Could any one help me please?

Jump to solution

Hi , 

The deployement was getting success before that i added the mail task. Now , it shows an error .

Besides , i want to ask how can i receive the mail although the sender didn't confirm that he sends this e-mail. does the sender must parametrize his e-mail?

Thanks for your help .

rallegre
Alfresco Employee

Re: Hi , I am new to Alfresco Activiti and just trying to use a mail task and it fails .Could any one help me please?

Jump to solution

I assume you are using Activiti 6.

You need to set the properties of the mail server you want to use.

Here is the doc explaining how to configure the activiti.cfg.xml 

https://www.activiti.org/userguide/#bpmnEmailTask

Raphael

amruta_w
Senior Member

Re: Hi , I am new to Alfresco Activiti and just trying to use a mail task and it fails .Could any one help me please?

Jump to solution

Hi,

I have designed custom stencil which contains the value as follows

[{id=3, name=Environmental Incident, checked=true, value=true}, {id=6, name=Fire/ Explosion, checked=true, value=true}]

In my mail task I'm trying to iterate this as follows

<#list incidenttype as x>
${x.name}
</#list>

but on tomcat console i'm getting error unknown property x is used.

Please kindly help me to resolve this.

Thanks

Amruta