cancel
Showing results for 
Search instead for 
Did you mean: 

Comparing string in workflow

former_member217000
Active Participant
0 Kudos

Hi Experts,

I am using send mail activity in the workflow where i am passing email address from workflow container element W_EMAIL. But when container element W_EMAIL is blank, workflow stops due to error. So i want to know How to put check on this if W_EMAIL is blank then by pass this activity.

I have tried to put condition like If W_EMAIL <> initial then send email. But its not working.

If you have any solution then please provide me.

Thanks

Sameer Dhuke

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi Sameer,

In the design of the workflow, but a condition step after finding the w_email and check the condition like this

&w_mail =

True end the loop

False continue

in the true path use the process control step and complete the workflow.

and in the false path proceed further.

Hope it will help u.

Thanks and Regards

Balaji K.

narin_nandivada3
Active Contributor
0 Kudos

Hi Sameer,

Rather set a Default value to W_EMAIL as 'X' and check the condition if it is Not 'X' then send the mail.

Check the condition in CONDITION STEP as necessary and go ahead based on the condition..

Hope this would help you.

Good luck

Narin