Skip to main content
May 6, 2024
Question

I have process model which contains interfaces one after other and some of the system task , the process has actvity chaining now my requirement is after submission of 1st form we need to send mail and we kept that send email smart service in betwee

  • May 6, 2024
  • 4 replies
  • 0 views

I have process model which contains interfaces one after other and some of the system task , the process has actvity chaining  now my requirement is after submission of 1st form we need to send mail and we kept that send email smart service in between , now if the email got failied flow shouls not stop ie the flow should be continued.

    4 replies

    shubhama926776
    Brainy
    May 6, 2024

     [mention:142e415315644989b294e1d75107c1e9:e9ed411860ed4f2ba0265705b8793d05]  
    You can create a separate sub-process containing only the "Send Email" Smart Service. This sub-process would be responsible for handling the email sending logic. Within your main process, you can leverage the "Start Process" node configured in asynchronous mode. This initiates the sub-process to send the email after form submission, allowing your main process to continue its execution without waiting for the email to send.

    May 6, 2024

    Thank You [mention:dea33493db6342c9a73dc108d45120c0:e9ed411860ed4f2ba0265705b8793d05] 

    stefanhelzle0001
    May 6, 2024

    You can just put that email node is a parallel flow.

    csteward
    May 6, 2024

    Agree with Stefan, I would run this as:

    We can use a sub process as well, but that is a little 'heavy' to me for just a single email node.  However, depending on the email contents, if there are something like user guides, policy versions, etc that may need to be updated for active process instances in the future, a sub/separate process for the email node would have benefits there.