im trying to use event switcher to filter empty value in array and save data to database.
but the problem is after the first return of 'success' every event in event switcher will be fired no matter what is returned.
here is custom php code:
as you can see in my attachment (response),after first success event both events will be fired regardless of what is returned value.
but the problem is after the first return of 'success' every event in event switcher will be fired no matter what is returned.
here is custom php code:
$res=$this->get("loop_event29.row");
$event='fail';
if(strlen($res)>0){
//echo "row :".$this->get("loop_event29.key");
$event= 'success';
}
return $event;
as you can see in my attachment (response),after first success event both events will be fired regardless of what is returned value.