cancel
Showing results for 
Search instead for 
Did you mean: 

Email Step in Worklfow

nishantbansal91
Active Contributor
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member185167
Active Contributor
0 Kudos

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

nishantbansal91
Active Contributor
0 Kudos

Hi Rick,

Yes, we need to email address before sending mail to user that if the EMAIL address is maintained or not.

Regards,

Nishant

former_member185167
Active Contributor
0 Kudos

Hello,

How are you getting that email address?

Or are you sending it to a user?

regards

Rick

nishantbansal91
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.