Twilio profile in notification block doesn't pass to the next profile on errors

I’m using a notification block to send alarms and have it set up in a way where the first profile in the block is a Twilio one, and the second is an Email one. The behavior I would expect from this (and that I was almost certain I had observed before) was that if a user it tries to send to doesn’t have an SMS number configured, that it would try the next profile in the notification block, in this case email.

Currently what is happening is that when the user doesn’t have an SMS number, I get an error in the logs and the email is never sent.

Is this a bug? Or am I just mistaken as to what the behavior should be? Is there a workaround if that’s the case?

From what I can see if an attempt to notify using Twilio profile is being made then that user has an SMS contact info defined.

It doesn’t try one profile, look for an error, then try another. It looks at each profile in order, asks the profile what contact info type it can send to, then checks if the user has a contact info of that type.

Ah, I understand.

The method I’m using to add users uses some Perspective views that I created, and in those views they generally set the SMS number for a user to an empty string, which is causing an error in Twilio and then causing the notification block to drop out.

I’ll look into ensuring that SMS numbers are simply not set, then, I wasn’t aware this was the behavior. Thank you for clearing it up!

I was trialing twilio today, added a twilio profile to an existing notification block which already had an email profile. What I am seeing is that Ignition only sends to the first notification block profile which in my case was email. I was banging my head against the wall all day until I switched twilio to the first profile and then I got the text (but then not the email). Is this a bug? I am using V8.1.10

Each notification block can target multiple notification profiles, which represents different methods of notification, but it will only notify the user on the first profile that the user has contact information for. So having a notification block with both email and SMS listed will first attempt to contact a person with the profile type listed first. If that fails because the user does not have contact information for that profile type, it will try the second profile.

1 Like

Ahhhh, thanks for the explanation, makes sense. So if I want each person to get an email AND a text, I simply use a splitter block and 2 separate notification blocks from there.

Yep, that would do it. Or 2 notification blocks in a row would work too, I think.