cancel
Showing results for 
Search instead for 
Did you mean: 

Activity to check if constrol parameter has a value

Former Member
0 Kudos

Hi,

I'm trying to send a notification but just when the control parameter who contains the email address is not empty.

For that i'm trying to use an activity which checks that the value is not empty, before using the activity ALERT_CREATE.

Do you know of such an activity? I have tried with CHECK PARAMETER VALUE, but it is not really working for this.

Thansk and regards,

Accepted Solutions (1)

Accepted Solutions (1)

Berthold_vH
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi  Iñigo

You can use the COMPARE activity. As Field 1 use your control parameter. Please use the metadata (CTRL + F10) and select your parameter from the popup. Field 2 you leave empty and select “NE” as comparison.

This method will give back return code 0 when the value is not blank. So in an multi task activity you can check on the previous return code and just call the alert creation function when the return code is 0.

Best regards
Berthold

Answers (1)

Answers (1)

former_member190756
Active Contributor
0 Kudos

Hello Iñigo,

try Activity Method

COMPARE    Compare Two Fields    ACT_COMPARE

Best regards,

Steffen