Skip to main content

Dear Community, 

 

Maybe you have some ideas for our small issue. 

We are using Apps10 UPD14.

We have some email sending event actions, but not all the time we have “To:” email addresses (coming from substitution field: &EMAIL_SENDER_ADDR). 

If there is no value in the &EMAIL_SENDER_ADDR the Application message status will be Failed because no To: address. 

Question is: how can I tell the event action, it should perform the event only if the &EMAIL_SENDER_ADDR IS NOT NULL? 

Can I use e.g.: = ‘%’ or LIKE ‘%’ or do you know any trick? 

 

 

Thank you very much in advance for any suggestion!

Kind regards, 

Balazs

Hi,

We faced the same issue. LIKE % will be true for any value other than NULL and not fire the action.

Good luck!

Alexander


Hi @bapehu . I can confirm that what @jaw has said should work. Actually using “=%” should also work.

 

For future reference: The conditions for the “=” option are actually evaluated by database method “Report_SYS.Parse_Parameter” which supports all the usual search syntaxes that are also available in the client. This includes wildcards “A%”, lists “B;C;D”, ranges “E..G”, or a combination of it “A%;B;C;D;E..G”.


Hi,

We faced the same issue. LIKE % will be true for any value other than NULL and not fire the action.

Good luck!

Alexander

Thank you very much Alexander, I tried and works! 


Hi @bapehu . I can confirm that what @jaw has said should work. Actually using “=%” should also work.

 

For future reference: The conditions for the “=” option are actually evaluated by database method “Report_SYS.Parse_Parameter” which supports all the usual search syntaxes that are also available in the client. This includes wildcards “A%”, lists “B;C;D”, ranges “E..G”, or a combination of it “A%;B;C;D;E..G”.

Hi Jonas, 

Thank you so much the explanation and the examples! Very helpful to understand if we have more possibilities! 

Kind Regards, 

Balazs


Reply