template.print not working in Notification

ABC6
Tera Contributor

I am working on a requirement where i need to trigger a notificationfrom belowrequirement and template.print is not pulling value from SI,Please help me to get this issue resolved

 

Created a Script Include:

ABC6_0-1706096771079.png

call this script include from notification

ABC6_1-1706096820181.png

 

1 ACCEPTED SOLUTION

Jaspal Singh
Mega Patron
Mega Patron

Hi,

Replace line 3 &4 of message as below

var SMSNotSupport= new TwillioPropVal().not_allow_message();

template.print(SMSNotSupport);

 

while line 8 of script include as below

not_allow_message: function()

{

return 'Your text here';

}

View solution in original post

3 REPLIES 3

Sonam_Tiwari
Kilo Sage

Hi @ABC6 ,

 

Can you try placing the 8th line in your script include after the 4th line and try.

Consider indicating the response as helpful and marking it as correct if it meets your needs.

Tried the same,but not working,Actually previously its a property and as per the discussion with seniors i need to delete the property and use the same thing with SI and Notification

ABC6_0-1706097565849.png

 

Jaspal Singh
Mega Patron
Mega Patron

Hi,

Replace line 3 &4 of message as below

var SMSNotSupport= new TwillioPropVal().not_allow_message();

template.print(SMSNotSupport);

 

while line 8 of script include as below

not_allow_message: function()

{

return 'Your text here';

}