using custom expression in recipient field of email notificaiton workflow in FIM

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

March 16th, 2015 10:43am

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

Free Windows Admin Tool Kit Click here and download it now
March 16th, 2015 10:51am

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.


March 16th, 2015 10:55am

Leo,

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

Thanks,

Mann


  • Edited by Mann.Cool 15 hours 30 minutes ago
Free Windows Admin Tool Kit Click here and download it now
March 16th, 2015 11:51am

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.


March 16th, 2015 2:54pm

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.


Free Windows Admin Tool Kit Click here and download it now
March 16th, 2015 2:54pm

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
March 16th, 2015 3:49pm

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
Free Windows Admin Tool Kit Click here and download it now
March 16th, 2015 3:49pm

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 Nordstrm, or any course by the Oxford Computer Group.


March 17th, 2015 3:11am

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 Nordstrm, or any course by the Oxford Computer Group.


Free Windows Admin Tool Kit Click here and download it now
March 17th, 2015 7:09am

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 Nordstrm, or any course by the Oxford Computer Group.


March 17th, 2015 7:09am

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

Free Windows Admin Tool Kit Click here and download it now
March 17th, 2015 7:13am

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 16 hours 42 minutes ago
March 17th, 2015 8:36am

Many thanks Leo :)

Just tested this it in UAT and it worked.

Post marked answered.

-Mann

Free Windows Admin Tool Kit Click here and download it now
March 17th, 2015 10:40am

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
March 17th, 2015 12:35pm

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
Free Windows Admin Tool Kit Click here and download it now
March 17th, 2015 12:35pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics