none
Workflow notification activity RRS feed

  • Question

  • I am writing a workflow to send email notification to an external email address stored in FIM under the variable ExternalEmail. While I am doing a Lookup for the Recipients, when I am selecting "Target" as Workflow Parameter, I do not see ExternalEmail among the Parameter Attributes. Basically, I want to setup something like [//Target/ExternalEmail] as the Recipient. How can I achieve that? 
    Friday, September 4, 2015 1:35 PM

All replies

  • Hello,

    Your recipient is a custom object?

    There is an old FIM bug with the dropdownlist on Workflow parameters, you have to bind your attribute to the person or group object. And do an IISRESET of course.

    Regards,


    Sylvain

    Friday, September 4, 2015 2:05 PM
  • Recipient is a User object.

    ExternalEmail is an binding attribute of the User object.

    • Edited by _Sourav_ Friday, September 4, 2015 2:15 PM
    Friday, September 4, 2015 2:09 PM
  • In case you have not done so,

    1. You need to create this attribute as indexed attribute

    2. Bind it to user

    3. Grant access to the user running the WF and Administrators, of course


    Nosh Mernacaj, Identity Management Specialist

    Friday, September 4, 2015 2:57 PM
  • Yes, I have done that. If I want to create a Function Evaluator activity, I can see all the attributes for the Target, but not seeing in Notification activity.
    Friday, September 4, 2015 3:27 PM
  • I am sorry, I guess I did not think this through.

    In the activity you can only chose the object, such as target (user) or manager, or something else. FIM will automatically look for the email of the object and you don't have a choice on that.

    Notification Activity is coded to go against known emails, not custom ones. You will need a custom activity for this.


    Nosh Mernacaj, Identity Management Specialist

    Friday, September 4, 2015 6:05 PM
  • That's not accurate. Type the expression [//Target/ExternalEmail] in manually and ignore the picker. It has a hardcoded list of attributes.

    Thanks, Brian

    Tuesday, September 8, 2015 4:53 AM
    Moderator
  • Typing in manually the expression [//Target/ExternalEmail] gives the error "Unable to process your request".
    Wednesday, September 9, 2015 2:22 PM