The CreatorCon Call for Content is officially open! Get started here.

Errors: escalationID is undefined and Unable to call as the Notify Number to call from is not define

Murali Pathuri
Giga Contributor

I am working on ServiceNow and Twilio integration. Below is the code that I have written in the Business Rule.

 

var vars={};
    vars.groupID='fd7ab1c2c360f2100accb275e4013134';
    vars.rotaID='d8b088d6c36032100accb275e4013101';
    vars.escalationID='7f470492c3a032100accb275e40131da';
    vars.rotatime=new GlideDateTime();
   
    var wrkflw=new Workflow();
    wrkflw.startFlow('9f4476e7ffdb6210ed76ffffffffffe4',current,current.operation(),vars);
Below is the number that I have configured using Twilio.
 
MuraliPathuri_0-1760493809113.png

I am using the following workflow.

On-Call: Assign by Acknowledgement per Rota

 

I am getting the following errors in the system log

 

escalationID undefined and Unable to call as the Notify Number to call from is not define

 

Can anyone help or advise 

0 REPLIES 0