Skip to Content

Email Step in Worklfow

Hi,


We have created one email step. If the emailĀ  is not maintained in system then workflow generated exception.

)

Is there any way to by pass the step if the email is not maintained in system without ( if Condition).

or is there any way to handle that exception .

Please give us valuable inputs.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jan 13, 2015 at 07:27 AM

    you can handle exceptions using the block step. Please, search for it's use. But your problem is business-orientated, so a simple if statement should probably be the best solution.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 13, 2015 at 08:32 AM

    Hello Nishant,

    Try to use Fork step to by pass it. You can create fork with 2 branches and with at least 1 branch executable. So if it gets stuck in email step, it will execute the other step which actually doesn't has any processing in it.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 13, 2015 at 08:42 AM

    Hello,

    (Not sure how that fork idea would work.)

    How did you define that Sendmail step, do you send to an email address or to a user?

    What error does it give if no email is defined?

    Are you asking how to check if a user has an email before attempting a Send?

    regards

    Rick Bakker

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Rick,

      Actually we get that email ID From user HR master data.

      there might be chance that Email id is not maintained, So in this case workflow was generated one exception. But we don't want that workflow will be in error state just because of email not maintained.


      Regards,

      Nishant