none
Sending mail from a workflow RRS feed

  • Question

  • Hi,

    I have a SR which creates users in our AD as they are added to the HR system.  As part of the same WF which executes the SR, there is an email notification to notify the service desk about the new users.  I noticed that the mail is send for every user which is created - resulting in a flood of mail messages depending on the number of new users.  I actually want only one email message when the process has finished for all users.

    To try and resolve this, I have created another WF containing only the notification and added it to the same MPR as a second WF and was hoping that it would first finish the first WF which executes the SR and then the notification WF - but it doesn't, it still send an email per user object.

    Is there another way to achieve this? (I want only one email message once the whole provisioning excersice has completed)

    Thank You

    Johan Marais


    JkM6228

    Thursday, November 22, 2012 11:30 AM

Answers

  • Thank you all.  I am using SSIS to run the MAs, I think I will do it as part of SSIS.  In fact with my ILM 2007 implimentation I am doing it like that.  I just though that I could do it differently now.

    JkM6228

    • Marked as answer by Johan Marais Wednesday, November 28, 2012 12:08 PM
    Friday, November 23, 2012 4:59 AM

All replies

  • Every object is processed within a single transaction, from the FIM Portal you will never know if more objects are being provisioned.

    An option would be to run sort temporal set, that searches all new users, group them within a single notification and set some 'IsProcessed' attribute which is used to identity new created users.

     

    Need realtime FIM synchronization and advanced reporting? check out the new http://www.imsequencer.com that supports FIM 2010, Omada Identity Manager, SQL, File, AD or Powershell real time synchronization!

    Thursday, November 22, 2012 11:47 AM
  • Every object is processed within a single transaction, from the FIM Portal you will never know if more objects are being provisioned.

    An option would be to run sort temporal set, that searches all new users, group them within a single notification and set some 'IsProcessed' attribute which is used to identity new created users.

     

    Need realtime FIM synchronization and advanced reporting? check out the new http://www.imsequencer.com that supports FIM 2010, Omada Identity Manager, SQL, File, AD or Powershell real time synchronization!


    Another option would be to use a script to post-process the run history on the sync engine side and format an email message based on that.

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

    Thursday, November 22, 2012 7:07 PM
    Moderator
  • Thank you all.  I am using SSIS to run the MAs, I think I will do it as part of SSIS.  In fact with my ILM 2007 implimentation I am doing it like that.  I just though that I could do it differently now.

    JkM6228

    • Marked as answer by Johan Marais Wednesday, November 28, 2012 12:08 PM
    Friday, November 23, 2012 4:59 AM