Novell Home

My Favorites

Close

Please to see your favorites.

How to specify multiple recipients in the finish workflow activity

This document (3236621) is provided subject to the disclaimer at the end of this document.

Environment

Novell Designer 1.2 for Novell Identity Manager

Situation

How to allow for multiple email recipients in finish workflow activity

Resolution

For Designer(1.2 or M3) the way to send email to multiple recipients is to change the RequestDefs XML code of the workflow.

As an example, if you add a CC to the notify template only the initiator receives the "Provisioning Approval Completed Notification” email, when the to is left default. If you change the TO from "_default_” to you should see the email sent to a CC.

To send an email to more then one "TO" you have to add another target=”TO” line. Below are two examples of how this can be done:


If you change the TO from "_default_” to <map source="IDVault.get(initiator, 'user', 'Email')" target="TO"/>
you should see the email sent to a CC.

To send an email to more then one "TO" you have to add another
target=”TO” line. Below are two examples of how this can be
done:

example 1:

<finish-activity activity-id="finish">
<display-name xml:lang="en">Finish</display-name>
<notify template="cn=Provisioning Approval Completed Notification,cn=Default Notification Collection,cn=Security">
<map source="'false'" target="AUTHENTICATE"/>
<map source="IDVault.get(initiator, 'user','Email')" target="TO"/>
<map source="IDVault.get(recipient, 'user','Email')" target="CC"/>
<map source="process.getName()" target="requestTitle"/>
<map source="process.getRequestId()" target="requestId"/>
<map source="process.getTimestamp().toString()" target="requestSubmissionTime"/>
<map source="process.getApprovalStatus()" target="requestStatus"/>
<map source="IDVault.get(initiator, 'user','preferredName') + '' + IDVault.get(initiator, 'user','LastName')" target="initiatorFullName"/>
<map source="IDVault.get(recipient, 'user','preferredName') + '' + IDVault.get(recipient, 'user','LastName')" target="recipientFullName"/>
</notify>
</finish-activity>

 
example 2:

<finish-activity activity-id="finish">
<display-name xml:lang="en">Finish</display-name>
<notify template="cn=Provisioning Approval
Completed Notification,cn=Default Notification
Collection,cn=Security">
<map source="'false'" target="AUTHENTICATE"/>
<map source="IDVault.get(initiator, 'user','Email')" target="TO"/>
<map source="IDVault.get(recipient, 'user','Email')" target="TO"/>
<map source="process.getName()" target="requestTitle"/>
<map source="process.getRequestId()" target="requestId"/>
<map source="process.getTimestamp().toString()" target="requestSubmissionTime"/>
<map source="process.getApprovalStatus()" target="requestStatus"/>
<map source="IDVault.get(initiator, 'user','preferredName') + '' + IDVault.get(initiator, 'user','LastName')" target="initiatorFullName"/>
<map source="IDVault.get(recipient, 'user','preferredName') + '' + IDVault.get(recipient, 'user','LastName')" target="recipientFullName"/>
</notify>
</finish-activity>


Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3236621
  • Creation Date:03-OCT-06
  • Modified Date:26-APR-12
    • NetIQIdentity Manager

Did this document solve your problem? Provide Feedback