Foren

Kaleo send notification email recipients

Luca Lupo, geändert vor 11 Jahren.

Kaleo send notification email recipients

Regular Member Beiträge: 106 Beitrittsdatum: 01.10.12 Neueste Beiträge
Hi Guys,

I'm customizing Kaleo single approver logic. In particular I have to send an email to all users with a specific role, but when I set in the recipients tag the following xml it seems impossible to import the xml (Error in the portal, but nothing in console.)


                       <notification>
				<name>Review Completion Notification</name>
				<template>
					Your submission has been reviewed and the reviewer has applied the following ${taskComments}.</template>
				<template-language>freemarker</template-language>
				<notification-type>email</notification-type>
				<recipients>
					<role>
            			             <role-type>regular</role-type>
            			              <name>Portal Content Reviewer</name>
            			              <auto-create>false</auto-create>
        			         </role>
				</recipients>
				<execution-type>onExit</execution-type>
			</notification>


Do you know why?

Thanks,

Luc
thumbnail
Harish Kumar, geändert vor 11 Jahren.

RE: Kaleo send notification email recipients

Expert Beiträge: 483 Beitrittsdatum: 31.07.10 Neueste Beiträge
Hi Luca

Looks like your xml definitions missing the <roles> tag. Try with the following code -


			<roles>
				<role>
					<role-type>regular</role-type>
					<name>My Portal Content Reviewer</name>
				</role>
			</roles>


HTH
Luca Lupo, geändert vor 11 Jahren.

RE: Kaleo send notification email recipients

Regular Member Beiträge: 106 Beitrittsdatum: 01.10.12 Neueste Beiträge
hh that worked....thanksss
thumbnail
Harish Kumar, geändert vor 11 Jahren.

RE: Kaleo send notification email recipients

Expert Beiträge: 483 Beitrittsdatum: 31.07.10 Neueste Beiträge
Good to know it worked .. emoticon