Job notification templates
Templates can contain "placeholders" that will be replaced with real data from the supplier, the job or the project.
Templates can further contain conditional statements as described at the bottom.
Times are shown in the timezone of the platform owner. The timezone indicator is shown next to each date (e.g. "GMT+1")
Placeholders
Placeholder | Description |
{{Event}} | A code for the event or change that is notified. For example: 'Accepted' or 'Rejected' |
{{EventName}} | The title of the event being notified. This text is also placed in the email subject. |
{{EventDetails}} | Additional details for the event. Currently unused. This field serves for future extensions. |
{{IsCopy}} | Boolean value. If false, then this is a message sent to a supplier. If true then this message is for users who subscribed to receive a copy of this type of event. |
{{IsStandard}} | Boolean value. If true then the job is of a standard project. If false then the job is of a Codyt project. |
{{JobReference}} | The job reference. |
{{JobDeadline}} | The job deadline as per the default timezone of the platform. This field can be null if deadline not set. |
{{RecipientDeadline}} | The job deadline as per the recipient’s timezone. Only works for supplier assignments. This field can be null if deadline not set. |
{{JobApproximateStartDate}} | The probable start date of the job if available. Set to the latest deadline of jobs preceeding the current job. |
{{JobSourceLanguage}} | The source language. |
{{JobTargetLanguage}} | The target language. |
{{JobTask}} | The type of work, such as Translation, Revision, etc. |
{{JobTaskCode}} | Internal code for the type of work such as TR, RV, PROOF, etc. Use only in the context of conditional statements. |
{{JobStatus}} | The current status of the job. |
{{JobStatusCode}} | An internal code for the current status. Use this for conditional statements. The possible values are: 'NotAssigned', 'Draft', 'Proposal', 'NotStarted', 'InProgress', 'Completed', 'Delivered', 'Inactive', 'Delivered', 'Archived', 'Rejected' and 'Cancelled'. |
{{JobOldStatus}} | The previous job status. This can be null if the job was just created. |
{{JobOldStatusCode}} | The internal code for the previous status. Use this for conditional statements. The possible values are: null (if this is a new job), 'NotAssigned', 'Draft', 'Proposal', 'NotStarted', 'InProgress', 'Completed', 'Delivered', 'Inactive', 'Delivered', 'Archived', 'Rejected' and 'Cancelled'. |
{{JobInstructions}} | Job instructions for workers. Such instructions can be added to Standard jobs. They are not available with Codyt jobs and will be blank. |
{{JobUrl}} | The url to the job details page. |
{{JobDocumentCount}} | The number of documents in the job. |
{{JobDocuments}} | Comma separated list of all documents in the job. |
{{JobDocumentsAndVersion}} | Comma separated list of all documents in the job. If a document has a version number, this number is appended to the document name. |
{{CustomStr1,2,3...}} | If custom fields are defined for jobs then use the custom field ID (e.g. CustomStr1 or CustomStr10) to insert the values. IMPORTANT: Go to the custom field configuration screen, edit a field and look up the corresponding ID to use. Please note: When previewing templates with test data, the system will print a text like '[Value of MyCustomField]'. With real data, the actual custom field value is printed. |
{{IsFixedAssignmentMode}} | Boolean value. If true then the job is assigned to a specific supplier by client. |
{{IsGroupAssignmentMode}} | Boolean value. If true then the job is assigned to a group of suppliers. The first supplier who picks up the job obtains the assignment. If a supplier drops a job it is again available to the initial group. |
{{IsCrowdAssignmentMode}} | Boolean value. If true then the job is crowd sourced. It is not assigned to a specific supplier but all authorised suppliers can contribute their work simultaneously. |
{{UserOrderId}} | The Order Id that appears in the related order details page. |
{{ProjectReference}} | The project reference. |
{{ProjectInstructions}} | The project instructions. |
{{ProjectManagerName}} | The name of the manager in charge of the project. The manager is an inhouse user. This field is set only if a manager was attributed to the project. |
{{ProjectManagerEmail}} | The email of the manager in charge of the project. This field is set only if a manager was attributed to the project. |
{{ProjectCustomStr1,2,3...}} | If custom fields are defined for projects then use the custom field ID (e.g. CustomStr1 or CustomStr10) to insert the values. IMPORTANT: Go to the custom field configuration screen, edit a field and look up the corresponding ID to use. Please note: When previewing templates with test data, the system will print a text like '[Value of MyCustomField]'. With real data, the actual custom field value is printed. |
{{UserMessage}} | The optional message a user may have typed when sending the notification. The message can be null. |
{{SenderName}} | The first and last name of the sender. The sender is either the client or the supplier, the person who is at the origin of the notification. |
{{SenderFirstName}} | The first name of the sender. |
{{SenderLastName}} | The last name of the sender. |
{{SenderCompany}} | The company name of the sender. |
{{SenderNameAndCompany}} | The sender's full name and company name (comma separated). |
{{SenderNameInvAndCompany}} | The sender's reversed full name and company name (comma separated). The reversed full name prints the last name and then the first name. |
{{SenderFirstNameOrFullNameOrCompany}} | Contains the sender's first name. If no person specific assignment then returns the supplier contact name. If no contact name was supplied with the supplier record then it returns the company name. |
{{SenderNameOrCompany}} | The sender first/last name if supplied, otherwise the sender company name. |
{{SenderNameInvOrCompany}} | The sender last/first name if supplied, otherwise the sender company name. |
{{SenderEmail}} | The email of the sender. |
{{SenderEmailUrl}} | The url to use in hyperlinks to send an email to the sender. It is the same as SenderEmail prefixed with 'mailto:', e.g. mailto:john@dummy.com |
{{DestinationAny}} | Boolean value. Indicates if this email contains an explicit destination. Value is false, if a notification refers to a supplier but the notification is not to be sent. This concerns e.g. status changes 'Closed' and 'Draft' which are for internal purposes only. |
{{DestinationName}} | The first and last name of the destination of this notification. The sender is either the client or the supplier, the person to whom the notification is sent. |
{{DestinationFirstName}} | The first name of the destination. |
{{DestinationLastName}} | The last name of the destination. |
{{DestinationCompany}} | The company name of the destination. |
{{DestinationNameAndCompany}} | The destination's full name and company name (comma separated). |
{{DestinationNameInvAndCompany}} | The destination's reversed full name and company name (comma separated). The reversed full name prints the last name and then the first name. |
{{DestinationFirstNameOrFullNameOrCompany}} | Contains the destination's first name. If no person specific assignment then returns the supplier contact name. If no contact name was supplied with the company record then it returns the company name. |
{{DestinationNameOrCompany}} | The destination first/last name if supplied, otherwise the destination company name. |
{{DestinationNameInvOrCompany}} | The destination last/first name if supplied, otherwise the destination company name. |
{{DestinationEmail}} | The email of the destination. |
{{DestinationEmailUrl}} | The url to use in hyperlinks to send an email to the destination. It is the same as SenderEmail prefixed with 'mailto:', e.g. mailto:john@dummy.com |
{{DestinationLanguage}} | The preferred language of communication (language code) to use with the destination company. It can be set in the company's details page. |
{{DestinationTitle}} | The title of the person to whom the email is sent. |
{{SupplierAny}} | Boolean value. Indicates if a supplier is assigned to the job or not. Furthermore, in case the supplier is not disclosed to the recepient, this boolean is set to false. |
{{SupplierName}} | The supplier first and last name. If the job is not assigned to a specific person then this field is null. |
{{SupplierFirstName}} | The first name of the supplier. If job is assigned to supplier company and no specific person, this field is null. |
{{SupplierLastName}} | The last name of the supplier. If job is assigned to supplier company and no specific person, this field is null. |
{{SupplierCompany}} | The supplier company name. |
{{SupplierNameAndCompany}} | The supplier first/last name together with the company name (comma separated). |
{{SupplierNameInvAndCompany}} | The supplier's reversed full name and company name (comma separated). The reversed full name prints the last name and then the first name. |
{{SupplierFirstNameOrFullNameOrCompany}} | Contains the supplier first name. If no person specific assignment then returns the supplier contact name. If no contact name was supplied with the supplier record then it returns the company name. |
{{SenderNameOrCompany}} | The supplier first/last name if supplied, otherwise the supplier company name. |
{{SenderNameInvOrCompany}} | The supplier last/first name if supplied, otherwise the supplier company name. |
{{SupplierEmail}} | The email of the supplier. |
{{SupplierEmailUrl}} | The url to use in hyperlinks to send an email to the supplier. It is the same as SupplierEmail prefixed with 'mailto:', e.g. mailto:john@dummy.com |
{{SupplierLogin}} | The login of the supplier. If job is assigned to supplier company and no specific person, this field is null. |
{{ClientCompany}} | The client company name. |
{{TotalWords}} | Total number of words. Null if not calculated. |
{{TotalSegments}} | Total number of segments. Null if not calculated. |
{{TotalChars}} | Total number of characters. Null if not calculated. |
{{TotalPages}} | Total number of pages. Null if not calculated. |
{{TotalMinutes}} | Total number of minutes required to complete the job. Null if not calculated. |
{{TotalWordsExcluded}} | Total number of words not to translate. Null if not calculated. |
{{TotalCharExcluded}} | Total number of characters not to translate. Null if not calculated. |
{{TotalNoMatch}} | Total number of words with no match. Null if not calculated. |
{{TotalCharNoMatch}} | Total number of characters with no match. Null if not calculated. |
{{TotalWordsPretrans100}} | Total number of 100% pre-translations. Null if not calculated. |
{{TotalCharPretrans100}} | Total number of 100% pre-translations. Null if not calculated. |
{{TotalWordsPretrans110}} | Total number of perfect pre-translations. Null if not calculated. |
{{TotalCharPretrans110}} | Total number of perfect pre-translations. Null if not calculated. |
{{TotalWordsMT}} | Total number of words translated by machine. Null if not calculated. |
{{TotalCharMT}} | Total number of characters translated by machine. Null if not calculated. |
{{PretranslationThreshold}} | Represents the minimum match percentage to pretranslate a segment. |
{{PretransFuzzy}} | Total number of segments pretranslated at the pretranslation threshold. Null if not calculated. |
{{Match_1_Interval | Minimum percentage of the first fuzzy interval. Null if interval not configured. |
{{Match_1}} | Total number of fuzzy matches in the first fuzzy interval. Null if interval not configured. |
{{MatchChar_1}} | Total number of fuzzy matches in the first fuzzy interval. Null if interval not configured. |
{{Match_2_Interval | Minimum percentage of the second fuzzy interval. Null if interval not configured. |
{{Match_2}} | Total number of fuzzy matches in the second fuzzy interval. Null if interval not configured. |
{{MatchChar_2}} | Total number of fuzzy matches in the second fuzzy interval. Null if interval not configured. |
{{Match_3_Interval | Minimum percentage of the third fuzzy interval. Null if interval not configured. |
{{Match_3}} | Total number of fuzzy matches in the third fuzzy interval. Null if interval not configured. |
{{MatchChar_3}} | Total number of fuzzy matches in the third fuzzy interval. Null if interval not configured. |
{{Match_4_Interval | Minimum percentage of the fourth fuzzy interval. Null if interval not configured. |
{{Match_4}} | Total number of fuzzy matches in the fourth fuzzy interval. Null if interval not configured. |
{{MatchChar_4}} | Total number of fuzzy matches in the fourth fuzzy interval. Null if interval not configured. |
{{Match_5_Interval | Minimum percentage of the fifth fuzzy interval. Null if interval not configured. |
{{Match_5}} | Total number of fuzzy matches in the fifth fuzzy interval. Null if interval not configured. |
{{MatchChar_5}} | Total number of fuzzy matches in the fifth fuzzy interval. Null if interval not configured. |
{{PlatformCompany}} | Your company name or the licensee of this platform. |
{{PlatformEmail}} | Your contact email as specified in the 'My company' page. |
{{PlatformEmailUrl}} | The url to use in hyperlinks to send an email to the platform. It is the same as PlatformEmail prefixed with 'mailto:', e.g. mailto:mycompany@dummy.com |
{{PlatformUrl}} | Your company web site as specified under Settings. If not set this field is null. |
Â
Conditional statements
Â
IF - ELSE - ENDIF
Â
{% if JobStatusCode == 'InProgress' or JobStatusCode == 'Completed' %} In progress! {% else %} Not in progress! {% endif %}
Â
CASE - WHEN - WHEN - ELSE - ENDCASE
Â
{% case JobStatusCode %} {% when 'InProgress' %} In progress! {% when 'Cancelled' %}Cancelled! {% else %}Other status! {% endcase %}
Â
Â
Â
Â
Copyright Wordbee - Buzzin' Outside the Box since 2008