XpressUtils - Helping Sun Identity Management Professionals
   
 
Utilities
Tech Talk
Tip of the day
You can add attachments to emails sent out by IDM. Refer to the article specifically guiding on how to accomplish this.

Current Poll
Which product (arranged below in alphabetical order), do you think has the best features in the 'Identity & Access Management' space today?

CA IDM
IBM Tivoli
Novell IDM
Oracle (Sun) IDM
Others (please specify)

Comments:

View previous poll results

Articles / Forum - Email Notifications : variables not showing in email-body

We hope you find the information below useful. If you feel you could add or refine this article to make it better, feel free to modify this page. Share, wiki and grow!
<< Back to all Articles

Email Notifications : variables not showing in email-body Last modified by Stephen
on Feb 26, 06:15 AM
Rate this article
1 of 52 of 53 of 54 of 55 of 5
  

Subscribe to updates


Hi,

I urgently need some help here.

I am configuring my IDM to send out Email Notifications.

These notifications are being configured in my "Update User Workflow".

I am having a problem : some variables are not being displayed within the body of the email.

The way my IDM is set up, is : one Administrator "Creates" the user. When the user is created, the "Create-User Workflow" sends out Email Notifications, which contain a web-link, so that other administrators can log into IDM, and UPDATE the same user  (each administrator has a different Interface, depending on WHAT information he/she needs to update for that same user).

The email notifications which are sent when the user is CREATED are working fine. All the variables are displaying properly in the body of the email.

However, the Email Notifications which are sent after each administrator performs their respective UPDATE, are not working!  Some variables are not being shown in the email-body.

I think I may know why this is happening.

The variables which are provided when the user is CREATED  (like firstname, lastname, email address, etc etc) are being shown properly in the email after CREATE.

However, these SAME variables are NOT showing in the email-body after UPDATE.  (The only variables which are showing properly in the email-notification after update, are those variables which need to be input by each consequent administrator.

In other words (to put it in layman's terms) :  variables (and their values) are not being transfered from one User Form (during CREATE) to the next (during UPDATE). 


Here is my Email Notification (update performed by one of our administrators) :

<EmailTemplate name='>
  <Variable name='firstname'>
    <select>
      <ref>user.global.firstname</ref>
    </select>
  </Variable>
  <Variable name='lastname'>
    <select>
      <ref>user.global.lastname</ref>
    </select>
  </Variable>

<Variable name='jobtitle'>
    <select>
      <ref>user.global.jobtitle</ref>
    </select>
  </Variable>
<Variable name='roomnumber'>
    <select>
      <ref>user.global.roomnumber</ref>
    </select>
  </Variable>

  <subject>Notification : New Employee needs to be Updated<subject>
  <body></body>
  <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#All' name='All'/>
  </MemberObjectGroups>
  <Properties>


The first two variables (firstname, lastname) are supplied when the user is CREATED  (these two variables are NOT showing in the email-body)

The second two variables (job title, room number) are supplied by the administrator who is doing the update.  (These variables are being shown properly in the email)


Here is the "Action" in my Update-User workflow,  which activates the Email Notification  :



<Action id='1' name='email1' application='com.waveset.provision.WorkflowServices'>
          <Argument name='op' value='notify'/>
          <Argument name='template' value='Send Email for Update'/>
        </Action>



I have tried everything I can think of to solve this problem.  I even added the variables themselves into the workflow, as follows :


<Action id='1' name='email1' application='com.waveset.provision.WorkflowServices'>
          <Argument name='op' value='notify'/>
          <Argument name='template' value='Send Email for Update'/>
          <Argument name='firstname' value='$(user.global.firstname)'/>
          <Argument name='lastname' value='$(user.global.lastname)'/>
        </Action>


But, this did not work.

Secondly, I tried to replicate these same attributes in the User Form of the administrator who does updating (I thought that, maybe, these attributes need to be present on the user form itself).

But, still, this did not help.


Any help, please??


  

The views expressed in this article are solely those of its contributor(s) and are not necessarily endorsed by xpressutils.com. << Back to all Articles


Feedback

Feedback / Comments:

We value comments from XpressUtils users! We strive to make this site better for you each day, so all constructive comments are appreciated.
Please feel free to send us your feedback!
 
From: Achin Aug 30, 07:48 AM
Comment Hi, team i want to know how to add uid to LDAP groups. if any body knows please help
From: mike Aug 25, 09:08 AM
Comment Can you give an example to use this rule? What does it mean "The trick to achieve this is use the "P ...
From: ajay nalawade Jul 29, 08:43 AM
Comment i want information about how to call java from expree boolean isConnectionSuccessful=connectDB.co ...
From: Carrie Cain Jul 24, 05:22 AM
Comment Want more clients and customers? We will help them find you by putting you on the 1st page of Google ...
From: nimish Jul 20, 12:53 AM
Comment In Handy Tools, Test Regular Expressions is not working. anybody used it?
From: nimish Jul 13, 02:18 AM
Comment hi team, I have some problem related to configure openSSO. Can I ask you for this or should I go to ...
From: Anirudha Jul 13, 01:41 AM
Comment Wish you all the best...
From: hussain Jun 05, 06:59 AM
Comment Could u please provide an ebook for Sun Certified Integrator for Identity Manager 7.1
From: docsnyder May 07, 05:52 AM
Comment Hi! I have downloaded the rule tester JSP file and followed the instructions, but the following err ...
From: jagadisham Mar 21, 12:48 PM
Comment day by day it is improving...all the best!!!
View all comments >>

Submit a comment:

Name: required
E-mail: required
Comments: required
Submit Comments
Tip: If you have a question related to programming in Xpress or some functionality in IDM, please post it as a new article in the Articles section.

It's quick, easy and does not require you to sign-up too!
 
    Home | Terms of use | Contact us | Help    
  Copyright © 2008-2009 XpressUtils.com. All rights reserved.