Sending SMS Through Twilio - Trouble with IF Statements

Sending SMS Through Twilio - Trouble with IF Statements

I am trying to send a message to only certain workers who are:
Active 
and either
Foremen
or
Leadmen

The if statements below don't seem to be working like I thought they would. 

Any thoughts? 

  1. for each r in Worker_Information  [Worker_Status1 = 2937369000000532011]
  2. {
  3.     if (input.Enter_Worker_Designations  =  2937369000000747003)
  4.     {
  5.         mob = "+1" + r.Mobile_Phone_Number.getAlphaNumeric();
  6.         m = "<Red Iron Alert> " + r.First_Name + ", " + input.Message;
  7.         resp = twilio.sms.send("Zoho1", mob, m);
  8.     }
  9. }
  10. for each s in Worker_Information  [Worker_Status1 = 2937369000000532011]
  11. {
  12.     if (input.Enter_Worker_Designations  =  2937369000001180009)
  13.     {
  14.         mob = "+1" + s.Mobile_Phone_Number.getAlphaNumeric();
  15.         m = "<Red Iron Alert> " + s.First_Name + ", " + input.Message;
  16.         //r = zoho.sms.send(input.Mobile, m);
  17.         resp = twilio.sms.send("Zoho1", mob, m);
  18.     }
  19. }