none
using custom expression in recipient field of email notificaiton workflow in FIM RRS feed

  • Question

  • Experts,

    We have an requirement wherein we need to send mail notification to manager while creating a new user account.

    Problem is currently FIM is not integrated with exchange hence email of the users is not present in FIM.

    So we need to email using employeenumber@domain.com.

    Basically I want to send mail to user's manager using manager's employee number.

    When in workflow Iif I user [//Target/Manager] as recipient, it gives me postprocessing error of not finding emailaddress which is expected.

    I thought of using something like [//Target/Manager/AccountName]+"domain.com" in email workflow.

    It is not letting me save. How can I put something custom in recipient field of email workflow.

    Thanks,

    Mann

    Monday, March 16, 2015 2:42 PM

Answers

  • No, this will not update the Email attribute in FIM. It will only store the calculated value in WorkflowData (which will be discarded when the workflow ends).

    Please mark the post as Answer if it solved your problem :)

    • Marked as answer by Mann.Cool Tuesday, March 17, 2015 2:38 PM
    Tuesday, March 17, 2015 12:35 PM

All replies

  • Hello,

    that is not possible within the OOB mail functionality.

    What do you mean with Exchange is not integrated, can FIM webservice interact with Exchange ?

    To get the eMail from AD is a very small thing to do ist just a Attribute to flow, there is nothing to connect to with Exchange.

    You can also set the eMail address manually with a workflow if there is an Logical process on how emails are generated.

    -Peter


    Peter Stapf - ExpertCircle GmbH - My blog: JustIDM.wordpress.com

    Monday, March 16, 2015 2:50 PM
  • You can do this using a Workflow variable.

    Use the Function Evaluator to set a Workflow variable, e.g. [//WorkflowData/email], to [//Target/Manager/AccountName]+"@domain.com".

    Then use [//WorkflowData/email] as Recipient in the Notification Activity.


    Monday, March 16, 2015 2:54 PM
  • Leo,

    Could you please give some more direction as I never used function evaluator.

    Thanks,

    Mann


    • Edited by Mann.Cool Monday, March 16, 2015 3:50 PM
    Monday, March 16, 2015 3:49 PM
  • See attached example (image).

    I you need an introduction to FIM2010 I highly recommend  the book Microsoft Forefront Identity Manager 2010 R2 Handbook by Kent Nordström, or any course by the Oxford Computer Group.


    Tuesday, March 17, 2015 7:09 AM
  • Thanks Leo for detailed explanation and recommendation.

    It really helped!

    Would you be kind enough to answer one more query.

    Will this actually be udpating the email attribute in FIM as I dont want to update email attribute till exchange integration.

    -Mann

    Tuesday, March 17, 2015 11:11 AM
  • No, this will not update the Email attribute in FIM. It will only store the calculated value in WorkflowData (which will be discarded when the workflow ends).

    Please mark the post as Answer if it solved your problem :)

    • Marked as answer by Mann.Cool Tuesday, March 17, 2015 2:38 PM
    Tuesday, March 17, 2015 12:35 PM
  • Many thanks Leo :)

    Just tested this it in UAT and it worked.

    Post marked answered.

    -Mann

    Tuesday, March 17, 2015 2:38 PM