Hi,
This is probably a very simple problem, but somehow it doesn't work...
It's about sending SMS out of a workflow. I set this up with my provider Sms77 and it works wonderfully.
I use the following script in the workflow, which Espo specifies as follows:
However, I would now like the variable $body not to be fixed text, but to send me 2 fields from the entity separated by a space.
I thought I'd take care of that
$body = fieldname1 + ' ' + fieldmane 2;
but that doesn't work.
How can I affect $body accordingly?
This is probably a very simple problem, but somehow it doesn't work...
It's about sending SMS out of a workflow. I set this up with my provider Sms77 and it works wonderfully.
I use the following script in the workflow, which Espo specifies as follows:
Code:
--- $body = 'Hi! This is an SMS notification from EspoCRM.'; // Phone number is obtained from the entity. $phoneNumber = phoneNumber; $smsId = record\create( 'text', 'to', $phoneNumber, 'body', $body ); ext\sms\send($smsId); ---
I thought I'd take care of that
$body = fieldname1 + ' ' + fieldmane 2;
but that doesn't work.
How can I affect $body accordingly?

Comment