none
Using custom attribute for sending email in FIM portal RRS feed

  • Question

  • Hi ,

    I have a scenario where i need to store user's personal email address and send mails to it. I cannot save this value in default email attribute in FIM portal as it holds the official email address value. So I have created a custom attribute for storing this value. But in a workflow activity we get option to specify "[//Target/ObjectID]". How can I specify my custom attribute at this place.


    Dolly

    Wednesday, June 26, 2013 11:23 AM

All replies

  • Dolly,

    Please examine the following thread -- I believe it will answer your question:

    http://social.technet.microsoft.com/Forums/en-US/d64d6020-0adb-4d25-8ea1-f6360b038363/sending-notification-to-alternate-email-attribute


    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

    Wednesday, June 26, 2013 3:46 PM
  • Hi,

    For this as per i think you should follow following steps:

    1) As you already said you created a custom attribute in MV and storing E-mail ID into this attribute.

    2) Now you have to create an attribute on FIM portal also and map it with this attribute.

    3) After that Go to workflow and choose Function define and give name for activity display name like "Email".

    4) On destination option click "lookup".

    5) choose "WorkflowData" and in next option put "ActivityName" like i used "Email".

     Now destination tab will look like "[//WorkflowData/Email/]"

    6) Now, below this in value click concatinate value and choose your desired attribute from drop down and save it.

    7) now add notification activity and in target option click lookup again and choose like step-5 or you can type directly "[//WorkflowData/Email/]"- must be same as step-5.

    8) Define mail body and here you are good to go.

    I hope it will help you to achieve your desired goal :) .

    Thanks~

    Giriraj

    • Proposed as answer by DeepakArora Monday, July 1, 2013 10:17 PM
    Thursday, June 27, 2013 2:02 PM
  • Why is there any need for the Workflow Dictionary lookup here?

    [//Target/CustomAttribute] in the TO field should work.


    My Book - Active Directory, 4th Edition
    My Blog - www.briandesmond.com

    Thursday, June 27, 2013 6:31 PM
    Moderator
  • Hi Brian,

    You are right that if we want to send E-mail to one recipient but i am also asuming if there are two or more recipients. So, I suggested this for the safer side.But yeah if we will have only one recipient thn [//Target/CustomAttribute/] will work for sure.

    Thanks~

    Giriraj Singh


    • Edited by GirirajSingh Friday, June 28, 2013 1:59 PM spell check
    Friday, June 28, 2013 1:58 PM
  • Hi Brian,

    The custom attribute doesnt appear in the look up, only reference attributes appear there.


    Dolly

    Sunday, July 7, 2013 3:38 PM