Hi @YohoGDES
The select field push_notification_type
can only hold 1 value at 1 time, so your above code featuring the if
and else
statements, should work correctly.
Only 1 of those statements will be true, and then only 1 of the actions will be run (the_field).
I can’t explain why you are seeing 2 urls. Perhaps you need to debug the code to make sure the the_field values are correct.
Thanks
E