Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 06:58 AM
Hi All,
I need to get the number field value and add it to the below message using business rule...please guide me
SNC.Notify.sendSMS('twilio number','' + current.u_contact_phone, ''+ gs.getMessageLang("dutch",'nl'),+current.number, current);
Eg : need to send SMS should be like this ABC : XXXXXXX reference number successfully
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 01:47 AM
Thanks for your reply,
I have tried with the below syntax, it is working fine
SNC.Notify.sendSMS('+twilio number','' + current.u_mobile_phone,''+"abc "+':'+current.getValue('number')+''+ gs.getMessageLang("dutch",'nl')+ current.number,current);
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2024 08:57 AM
SNC.Notify.sendSMS(
/** Phone Number */ <<twilioNumberHere>>,
/** toPhone Number */ current.getValue('u_contact_phone'),
/** messageBody */ gs.getMessageLang('ABC : {0} reference number successfully' , 'nl-NL' , [current.getValue('number')]),
/** source */ current
)
assuming the "number" you're referring to is the number field on a record.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2024 01:47 AM
Thanks for your reply,
I have tried with the below syntax, it is working fine
SNC.Notify.sendSMS('+twilio number','' + current.u_mobile_phone,''+"abc "+':'+current.getValue('number')+''+ gs.getMessageLang("dutch",'nl')+ current.number,current);