Follow

SMS Tags

 

Token Value Example
<<JOBID>> The Job ID. 101
<<JOBREF>> The Job ref. J000101
<<INCIDENT_ADDRESS_LINE_1>> Address line 1 on the Work Log. Unit 4 Silverdown Office Park
<<INCIDENT_ADDRESS_LINE_2>> Address line 2 on the Work Log. Fair Oak Close
<<INCIDENT_ADDRESS_LINE_3>> Address line 3 on the Work Log. Exeter
<<INCIDENT_ADDRESS_LINE_4>> Address line 4 on the Work Log. Devon
<<INCIDENT_POSTCODE>> Postcode on the Work Log. EX5 2UX
<<SALUTATION>> Salutation on the Work Log. Mr
<<FIRSTNAME>> Forename on the Work Log. John
<<NAME>> Surname on the Work Log. Smith
<<FULLNAME>> Salutation, forename, and surname on the Work Log, appended together into a single string (only set values are used). With no name set: Mr Smith
With name set: Mr John Smith
<<DATE>> The reported date on the Work Log. No specific date format seems to be attached, so it looks like it will use the default format from the Date.toString method: EEE MMM dd HH:mm:ss zzz yyyy Wed Nov 11 13:42:56 GMT 2015
<<JOBDETAILS>> The damage/cause description on the Work Log. Caused by Weather.
<<COMPLETION>> The resolution date on the Job. Again, no specific date format set, so it will use the default format from the Date.toString method: EEE MMM dd HH:mm:ss zzz yyyy Wed Nov 11 13:42:56 GMT 2015
<<JOB_PRIORITY>> The priority description on the Job. Urgent - within 7 days
<<JOB_CLIENT_REF>> the Job client ref. With client ref explicitly set: My set client ref
With client ref not explicitly set: J000101
<<JOBSTARTDATE>> The planned start date on the Job, with format dd-MM-yy. 22-01-15
<<AMPM>> AM or PM for the planned start date on the Job. If job planned start is prior to 12:00: AM
If job planned start is at 12:00 or later: PM
<<APPOINTMENT_START_DATE>> The planned start date on the Appointment, with format dd-MM-yy. 22-01-15
<<APPOINTMENT_END_DATE>> The planned end date on the Appointment, with format dd-MM-yy.  22-01-15
<<APPOINTMENT_START_AMPM>> AM or PM for the planned start date on the Appointment. If appointment planned start is prior to 12:00: AM
If appointment planned start is at 12:00 or later: PM
<<PLANNED_START_TIME>> The planned appointment start time. HH:mm planned_start_date  13:00
<<PLANNED_END_TIME>> The planned appointment end time HH:mm planned_end_date 15:00 
<<DAYDIVISION_START_TIME>> The start time of the day division on the appointment, with format HH:mm. If no day division is set on the appointment, the day division which corresponds to the planned start date on the appointment for the client is retrieved and used instead. 15:00
<<DAYDIVISION_END_TIME>> The end time of the day division on the appointment, with format HH:mm. If no day division is set on the appointment, the day division which corresponds to the planned start date on the appointment for the client is retrieved and used instead. 18:00
<<DAYDIVISION_NAME>> The name of the day division on the appointment. If no day division is set on the appointment, the day division which corresponds to the planned start date on the appointment for the client is retrieved and used instead. Late PM
<<SUPPLIER>> The name of the Supplier on the Job. PNG Group
<<ENGINEER>> The trade name of the Supplier on the Job, or "our contractor" if no supplier is set. With Supplier set: PNG Group
With no Supplier set: our contractor
<<STDDESC>> The work description of the WorkType on the Job (column wt_work_description on the table), or "Work as Requested" if no WorkType or work description on the WorkType is set. With work description set: Gas Service
With no WorkType or WorkType work description set: Work as Requested
<<SERVICE>> The description of the Service on the Job. GAS_SERVICING
<<TODAYSDATE>> The system date at time of running, with format dd-MM-yy. 22-01-15
<<ADDRESS>> Address lines 2 to 4 and the postcode on the Work Log. Each part is separated from the next by the string "\\\\par ", though I'm unclear on why - it might get re-formatted somewhere. Also unclear why line 1 of the address is not used. Fair Oak Close\\\\par Exeter\\\\par Devon\\\\par EX5 2UX
<<INCIDENT_ADDRESS>> Exactly the same as <<ADDRESS>> above. Fair Oak Close\\\\par Exeter\\\\par Devon\\\\par EX5 2UX
<<CLIENTTEL>> The telephone number of the Client on the Work Log. 01273 295 725
<<CLIENTNAME>> The name of the Client on the Work Log. Brighton Council

Note that tokens will be replaced with blanks if the data they reference is not set. For example, if there is no planned appointment start date, or no appointment, <<APPOINTMENT_START_DATE>> and <<APPOINTMENT_START_AMPM>> will simply be replaced with an empty string.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request