1 Reply Latest reply on Jun 17, 2012 10:44 PM by tsurdilovic

    Multiple Email Tasks with Different Parameters ?

    bhatia.anshuman

      Hi ,

       

      So i just started with jbpm and am trying to build a small application . So starting with a pretty stupid quetion :-)

       

       

      I have atleast 5 different different email tasks in my workflow , so is there any way to have or to configure the EmailWorkItemHandler using the IDs of the Email Tasks(all 5 tasks have different mailservers and config).

        • 1. Re: Multiple Email Tasks with Different Parameters ?
          tsurdilovic

          IIRC with the current email handler implementation you pass this info to its constructor rather than be able to set it via task assignments. You would need to either create your custom email handler impl based on whats available now, or configure 5 different handlers and 5 different service tasks (one for each). My guess is that changing the handler code would be better