You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AriadnePlus/dnet-ariadneplus/src/main/resources/eu.dnetlib.bootstrap.profil.../ariadneplus_mail_template.xml

47 lines
1.5 KiB
XML

<RESOURCE_PROFILE>
<HEADER>
<RESOURCE_IDENTIFIER value="aab4d1c6-b6c5-4147-9341-bce4637ece59_RW1haWxEU1Jlc291cmNlcy9FbWFpbERTUmVzb3VyY2VUeXBl"/>
<RESOURCE_TYPE value="EmailDSResourceType"/>
<RESOURCE_KIND value="EmailDSResources"/>
<RESOURCE_URI value=""/>
<DATE_OF_CREATION value="2017-07-03T12:00:00.0Z"/>
</HEADER>
<BODY>
<EMAIL_NAME>ARIADNEplus workflow message</EMAIL_NAME>
<SUBJECT_TEMPLATE>[ARIADNEplus AGGREGATOR] $proc.status$: $proc.name$</SUBJECT_TEMPLATE>
<EMAIL_TEMPLATE>
<![CDATA[
<div>
<p>**** This mail has been generated automatically by the D-NET Manager Service of the ARIADNEplus Aggregator, please don't reply ****</p>
<p>
<b>Datasource name:</b>$proc.dsName$<br/>
<b>Datasource API:</b>$proc.dsInterface$<br/>
<b>Workflow:</b>$proc.name$<br/>
<b>Status:</b> $proc.status$<br/>
</p>
<hr />
<p>
<b>Workflow details:</b><br />
<table>
<tr><td>Process ID: </td><td>$proc.id$</td></tr>
<tr><td>Start date: </td><td>$proc.humanStartDate$</td></tr>
<tr><td>End date: </td><td>$proc.humanEndDate$</td></tr>
$if(proc.outputParams)$
$proc.outputParams.keys:{k|<tr><td>$k$: </td><td><i>$proc.outputParams.(k)$</i></td></tr>}$
$endif$
</table>
</p>
$if(error)$
<hr />
<p>
<b>Error message:</b> <i>$proc.error$</i><br />
<b>Error stacktrace:</b><br/>
<pre>$proc.errorStacktrace$</pre>
</p>
$endif$
</div>
]]>
</EMAIL_TEMPLATE>
</BODY>
</RESOURCE_PROFILE>