Configuración del jBPM

From OpenKM Documentation
Jump to: navigation, search


El archivo de configuración de jBPM se localiza en $JBOSS_HOME/server/default/deploy/OpenKM.war/WEB-INF/classes/jbpm.cfg.xml. Si editas este archivo, se observará lo siguiente:

<string name="jbpm.mail.smtp.host" value="smtp.your-domain.com " />
<string name="jbpm.mail.from.address" value="noreply@your-domain.com" />
<string name="resource.mail.templates" value="jbpm.mail.templates.xml"/>
<bean name="jbpm.mail.address.resolver" class="com.openkm.workflow.OKMAddressResolver" singleton="true"/>

Como en la configuración de correos, solo debe editar algunas propiedades:

  • jbpm.mail.smtp.host: este es su servidor de correos. Puede ser localhost si usted tiene instalado un servidor de correo local (al igual que Postfix). Por lo general debe tener el mismo valor de mail.smtp.host.
  • jbpm.mail.from.address: all the mails send by OpenKM will be from this mail. Can be in the form of noreply@your-domain.com. Typically the same value of mail.from.

jBPM notify you when a task has been assigned to you or when he wants to send you a reminder. These mail templates are defined in the file jbpm.mail.templates.xml which is located at the same place of the previous one. Here you can define a more elegant mail message. Also you have to configure a parameter here:

For more info, read http://docs.jboss.com/jbpm/v3.2/userguide/html/mail.html.