The utility Tokens are used in the integration payload configuration for ServiceDesk (incident, task, service request, problem), resources, and alerts in the Outbound Configurations.

Incident

Incident

NameTokenDescription
Access URL$utils.ticketAccessURL($incident.id,$incident.client.id,$incident.msp.id,$incident.serviceProviderId)Access URL of the incident.
Alert created time$utils.alertTime($incident.alertIdList,"create","yyyy-MM-dd'T'HH:mm:ssZ","GMT")Alert created time.
Alert ID(s)$incident.alertList"Alert id(s) of the incident in case incident is created from alert.
Alert Metric$utils.alertMetric($incident.alertIdList)Incident Related Alert Metric Name
Alert source$incident.tagValues.alertSourceSource of the alert in case the incident is created from alert.
Alert State$utils.alertState($incident.alertIdList)Incident Related Alert status.
Alert updated time$utils.alertTime($incident.alertIdList,"update","yyyy-MM-dd'T'HH:mm:ssZ","GMT")Alert updated time
Assigned user$incident.assignedTo.fullNameAssigned user to the incident.
Assignee group name$incident.assigneeGroup.nameAssignee Group name of the Incident.
Associated change request ID$incident.changeRequest.idAssociated changeRequest ID of the incident.
Associated incident ID$incident.parentTicket.idAssociated parent incident ID of the incident.
Associated problem ID$incident.problem.idAssociated problem ID of the incident.
Attachment base64 binary$utils.attachmentData($incident.latestResponse.attachments)Attached file content in base64 binary data.
Attachment file multipart$utils.attachmentMultipart($incident.latestResponse.attachments,$incident.client.uniqueId,$installedAppId,$incident.uniqueId,$incident.latestResponse.id,$entity)Attached file multipart
Attachment file name$utils.attachmentFileName($incident.latestResponse.attachments)Attached file name of incident.
Attachment type$utils.attachmentFileType($incident.latestResponse.attachments)Attached file type of incident.
Business Impact$incident.businessImpact.nameBusiness Impact name.
Category$utils.ticketCategory(false,$incident.id)Category of the Incident.
CC Mail List$incident.ccCC mail list of incident.
Client name$incident.client.nameClient name of the incident.
Client unique ID$incident.client.uniqueIdClient UniqueId of the Incident.
Client UUID$incident.client.uuidClient UUID of the Incident.
Comment$incident.responseComment of the Incident.
Conversations$utils.ticketConversations($incident.id,limit,isHMTL,latestOrder)Total conversations of ticket based on filtering limit.
Created By user$incident.createdBy.fullNameCreated By of incident.
Created dateFor Client timezone
$utils.convertDate($incident.client.uniqueId,$incident.createdDate,"yyyy-MM-dd'T'HH:mm:ssZ")
For MSP timezone
$utils.convertDate($incident.msp.uniqueId,$incident.createdDate,"yyyy-MM-dd'T'HH:mm:ssZ")
Details:
convertDate(orgUUID,date,pattern)
orgUUID -> cliient/msp UUID
date -> ticket created/updated date
pattern -> required date format

Created date of the Incident.
Alert's date format with client/partner level timezoneFor Client timezone
$utils.alertTime($incident.client.uniqueId,$incident.alertIdList,"create","yyyy-MM-dd'T'HH:mm:ssZ")
For partner level timezone
$utils.alertTime($incident.msp.uniqueId,$incident.alertIdList,"create","yyyy-MM-dd'T'HH:mm:ssZ")
Details:
alertTime(orgUUID, alertIds, type, pattern)
orgUUID -> client/msp UUID
alertIds -> mapped alertIds
type -> date type created/updated
pattern -> required date format

Create date/updated date of the alert with partner/client timezone support
Description$incident.impactDescription of the incident.
Due date$utils.convertDate($incident.dueDate,"yyyy-MM-dd'T'HH:mm:ssZ")Due date of the Incident.
External Client ID$utils.extClientId($incident.client.id)External Client ID of Client.
External incident id$incident.extTicketIdExternalId of the incident.
External ticket ID$utils.extEntityId($incident.id,$installedAppId,$entity)Integrated third party ticket ID.
Incident ID$incident.uniqueIdID of the incident.
Latest comment description$incident.latestResponse.descriptionLatest comment description.
Latest comment HTML description$incident.latestResponse.htmlDescriptionLatest comment description in HTML format.
Latest comment subject$incident.latestResponse.subjectResponse Subject of the Incident.
Latest comment visible to customer$incident.latestResponse.visibleToCustomerResponse visibleToCustomer of the Incident.
Latest comments added by$incident.latestResponse.creator.fullNameUser who added latest response to incident.
Latest KB description$utils.kbArticleDetails($incident.id,$entity,"content")Description of latest KB article IDs attached.
Latest KB ID$utils.kbArticleDetails($incident.id,$entity,"uniqueId")UniqueId of latest KB article IDs attached.
Latest KB subject$utils.kbArticleDetails($incident.id,$entity,"subject")Subject of latest KB article IDs attached.
List KB article IDs$utils.kbArticleIds($incident.id,$entity)Returns List of KB article IDs attached.
Note$utils.latestNotes($incident.id,$incident.client.id)Note of the incident.
Partner name$incident.msp.namePartner name of the incident.
Partner unique ID$incident.msp.uniqueIdPartner UniqueId of the Incident.
Partner UUID$incident.msp.uuidPartner uuid of the Incident.
Priority$incident.priority.namePriority of the incident.
Priority updated by$incident.priorityUpdatedBy.fullNameUser who updated priority of the incident.
PSA Ticket ID$incident.psaTicketIdpsaTicketId of the Incident.
Reason to change status$incident.reason.nameCorresponding reason to change incident status.
Reported by$incident.requester.fullNameUser who has created the incident.
Resolution summary$incident.notesResolution summary of the Incident.
Source entity$incident.sourceEntityType.nameFrom which source the incident was created (e.g, Alert or API, etc.).
Source entity ID$incident.sourceEntityTypeIdID of the source from which incident was created(e.g, Alert ID).
Source policy$incident.sourcePolicyType.nameFrom which policy the incident was created (e.g, Autoincident, etc.) if any.
Source policy ID$incident.sourcePolicyTypeIdID of the policy from which incident was created(e.g, Autoincident policy ID).
Status$incident.status.nameStatus of the incident.
Status updated by$incident.statusUpdatedBy.fullNameUser who updated the status of the incident.
Sub category$utils.ticketCategory(true,$incident.id)Sub Category of the Incident.
Subject$incident.subjectSubject of the incident.
Suspend end date$utils.convertDate($incident.suspendEndDate,"yyyy-MM-dd'T'HH:mm:ssZ")Suspend end date of the Incident.
TicketResponseId$incident.latestResponse.extTicketResponseIdTicket response external id.
Time spent (mins)$incident.timeSpentTime spent on incident.
To Mail List$incident.toEmailTo mail list of incident.
Updated by$incident.lastUpdatedBy.fullNameUser who has updated the incident.
Urgency$incident.urgency.nameUrgency name.
External ResourceId$utils.getExternalResourceId($incident.id,$installedAppId,$entity)External resource Id attached to an incident.
inferenceAlertId$inferenceAlertIdInference alertId of alerts attached to an incident.
inferenceAlertMetric$inferenceAlertMetricInference alert metric of alerts attached to an incident.
inferenceAlertState$inferenceAlertStateInference alert state of alerts attached to an incident.
inferenceAlertCreatedTime$inferenceAlertCreatedTimeInference alert Created time of alerts attached to an incident.
inferenceAlertUpdatedTime$inferenceAlertUpdatedTimeInference alert updated time of alerts attached to an incident.
inferenceAlertDeviceName$inferenceAlertDeviceNameInference alert device name of alerts attached to an incident.
inferenceAlertDeviceId$inferenceAlertDeviceIdInference alert deviceId of alerts attached to an incident.
inferenceAlertDeviceLocation$inferenceAlertDeviceLocationInference alert device location of alerts attached to an incident.
inferenceAlertDeviceTags$inferenceAlertDeviceTagsInference alert device custom attributes of alerts attached to an incident.
Domain attribute value$utils.domainAttributeValue($incident.resources,"attrName")Returns the value of the specified domain attribute.
Group$incident.groups.nameName of group attached to the incident.
Random UUID$utils.randomUUID()Random UUID

Resource

NameTokenDescription
Impacted first resource group$utils.resourcesGroupDetails($incident.groups,"name")Impacted first resource group.
Impacted location details
  1. $utils.locationDetails($incident.resources,"description")
  2. $utils.locationDetails($incident.resources,"path")
For description of the location: use token #1
For path of the location: use token #2
Impacted resource host name$incident.resources.hostNameHost name of the Resource Attached to Incident.
Impacted resource id(s)$incident.deviceIdsAssigned device id(s) of the incident.
Impacted resource IP address$incident.resources.ipAddressIP Address of the Resource Attached to Incident.
Impacted resource last discovered time$incident.resources.lastDiscoveredTimeLast discovered time of the Resource Attached to Incident.
Impacted resource name$incident.resources.nameName of the Resource Attached to Incident.
Impacted resource name(s)$incident.deviceListAssigned device name(s) of the incident.
Impacted resource unique id$incident.resources.uniqueIdUnique ID of the Resource Attached to Incident.
Impacted resource(s) location$utils.locationDetails($incident.resources,"name")Assigned device(s) location of the incident.
Impacted single resource details$utils.resourceDetails($incident.resources,"uniqueId")Impacted single resource details.
Logical disk drive details[
{
"diskTotalSpace": "$defaultresource.logicalDiskDrivesList.totalSpace",
"driveName": "$defaultresource.logicalDiskDrivesList.driveName",
"fileSystem": "$defaultresource.logicalDiskDrivesList.fileSystem",
"freeDiskSpace": "$defaultresource.logicalDiskDrivesList.freeSpace"
}
]

Use this syntax for event payload configuration.
Networking details of a resource.
Physical disk drive details[
{
"driveName": "$defaultresource.physicalDiskDrivesList.diskName", "drivePartitions": "$defaultresource.physicalDiskDrivesList.partitions"
}
]

Use this syntax for event payload configuration.
Physical details of a resource.
CPU details[
{
"processorName": "$defaultresource.processorDetailsList.processorName", "processor": "$defaultresource.processorDetailsList.processor", "noOfCore": "$defaultresource.processorDetailsList.nCores"
}
]

Use this syntax for event payload configuration.
CPU details of a resource.
Network details[
{
"networkIpaddress": "$defaultresource.networkCardsList.ipAddress", "networkMacAddress": "$defaultresource.networkCardsList.macAddress", "networkCardName": "$defaultresource.networkCardsList.networkName", "networkDhcpStatus": "$defaultresource.networkCardsList.dhcpEnabled"
}
]

Use this syntax for event payload configuration.
Network details of a resource.
Resource Notes Description$utils.resourceDetailNotes($incident.resources,"description")Description of the ticket resource notes.
Resource Notes Subject$utils.resourceDetailNotes($incident.resources,"subject")Subject of the ticket resource notes.
Resource domain attribute value$utils.domainAttributeValue($defaultresource,"attrName")Value of the specified domain attribute of a resource. Replace attrName with the attribute name.
Client UUID$utils.clientUUID($defaultresource.clientId)Client New ID of the resource.
Client ID$utils.clientUniqueId($defaultresource.clientId)Client ID of the resource.
Msp ID$utils.mspUniqueId($defaultresource.mspId)Msp ID of the resource.
Management profile name$utils.mangmentProfileName($defaultresource.saId)Management profile name
Management profile type$utils.mangmentProfileType($defaultresource.saId)Management profile type

Custom Fields

NameTokenDescription
MSP attributes$utils.customField($incident.msp.id,$incident.id,"incident","MSP attributes")MSP attributes.
Partner_custom_attribute$utils.customField($incident.msp.id,$incident.id,"incident","Partner_custom_attribute")Partner_custom_attribute.
Partner$utils.customField($incident.msp.id,$incident.id,"incident","Partner")Partner
drop-down-api-lab-INCIDENT$utils.customField($incident.msp.id,$incident.id,"incident","drop-down-api-lab-INCIDENT")drop-down-api-lab-INCIDENT.
text-api-lab$utils.customField($incident.msp.id,$incident.id,"incident","text-api-lab")text-api-lab

Functions

NameTokenDescription
Concatenate strings$utils.concatenateStrings(,)Concatenate two strings.
replaceString$utils.replaceString(,,)Replace Function.
substring$utils.substring(,,)Substring Function
truncate$utils.truncate(,)Truncate Function.
truncateByBytes$utils.truncateByBytes(,)TruncateByBytes Function is used to truncate a string on the basis of byte size.
Resource custom attribute value$utils.customAttributeValue($.resources,"")Returns the value of the specified custom attribute of the resource attached to the ticket. Replace `` with the ticket type (`incident`, `serviceRequest`, `problem`, `change`, `task`) and `` with the attribute name. If multiple resources are attached, the value is resolved from the first resource only. Returns an empty string if the attribute is not assigned.

Service Request

Service Request

NameTokenDescription
Access URL$utils.ticketAccessURL($serviceRequest.id,$serviceRequest.client.id,$serviceRequest.msp.id,$serviceRequest.serviceProviderId)Access URL of the service request.
Assigned user$serviceRequest.assignedTo.fullNameAssigned user to the serviceRequest.
Assignee group name$serviceRequest.assigneeGroup.nameAssignee Group name of the service request.
Attachment base64 binary$utils.attachmentData($serviceRequest.latestResponse.attachments)Attached file content in base64 binary data.
Attachment file multipart$utils.attachmentMultipart($serviceRequest.latestResponse.attachments,$serviceRequest.client.uniqueId,$installedAppId,$serviceRequest.uniqueId,$serviceRequest.latestResponse.id,$entity)Attached file multipart.
Attachment file name$utils.attachmentFileName($serviceRequest.latestResponse.attachments)Attached file name of incident.
Attachment type$utils.attachmentFileType($serviceRequest.latestResponse.attachments)Attached file type of incident.
Category$utils.ticketCategory(false,$serviceRequest.id)Category of the service request.
cc$serviceRequest.cccc of the service request.
Client name$serviceRequest.client.nameClient of the service request.
Client unique ID$serviceRequest.client.uniqueIdClient UniqueId of the service request.
Client UUID$serviceRequest.client.uuidClient uuid of the service request.
Conversations$utils.ticketConversations($serviceRequest.id,limit,isHMTL,latestOrder)Total conversations of ticket based on filtering limit.
Created date$utils.convertDate($serviceRequest.createdDate,"yyyy-MM-dd'T'HH:mm:ssZ"))Created date of the service request.
Description$serviceRequest.impactDescription of the service request.
External Client ID$utils.extClientId($serviceRequest.client.id)External Client ID of Client.
External ticket ID$utils.extEntityId($serviceRequest.id,$installedAppId,$entity)External ticket id of the service request.
Latest comment description$serviceRequest.latestResponse.descriptionLatest comment description of the serviceRequest.
Latest comment HTML description$serviceRequest.latestResponse.htmlDescriptionLatest comment description of the serviceRequest in HTML format.
Latest comments added by$serviceRequest.latestResponse.creator.fullNameUser who added latest response to service request.
Latest KB description$utils.kbArticleDetails($serviceRequest.id,$entity,"content")Description of latest KB article IDs attached.
Latest KB ID$utils.kbArticleDetails($serviceRequest.id,$entity,"uniqueId")UniqueId of latest KB article IDs attached.
Latest KB subject$utils.kbArticleDetails($serviceRequest.id,$entity,"subject")Subject of latest KB article IDs attached.
List KB article IDs$utils.kbArticleIds($serviceRequest.id,$entity)Returns List of KB article IDs attached.
Partner name$serviceRequest.msp.namePartner of the service request.
Partner unique ID$serviceRequest.msp.uniqueIdPartner UniqueId of the service request.
Partner UUID$serviceRequest.msp.uuidPartner uuid of the service request.
Priority$serviceRequest.priority.namePriority of the service request.
Priority updated by$serviceRequest.priorityUpdatedBy.fullNameUser who updated priority of the service request.
Reason to change status$serviceRequest.reason.nameCorresponding reason to change service request status.
Reported by$serviceRequest.requester.fullNameUser who has created the service request.
Resolution summary$serviceRequest.notesResolution summary of the service request.
Service request ID$serviceRequest.uniqueIdID of the service request.
Source entity$serviceRequest.sourceEntityType.nameFrom which source the service request was created (e.g, Alert or API, etc.).
Source entity ID$serviceRequest.sourceEntityTypeIdID of the source from which service request was created(e.g, Alert ID).
Status$serviceRequest.status.nameStatus of the service request.
Status updated by$serviceRequest.statusUpdatedBy.fullNameUser who updated the status of the service request.
Sub category$utils.ticketCategory(true,$serviceRequest.id)Sub Category of the service request.
Subject$serviceRequest.subjectSubject of the service request.
Updated by$serviceRequest.lastUpdatedBy.fullNameUser who has updated the service request.
Domain attribute value$utils.domainAttributeValue($incident.resources,"attrName")Returns the value of the specified domain attribute.
External ticket ID$serviceRequest.extTicketIdExternal ticket id of the service request.
Group$serviceRequest.groups.nameName of group attached to the serviceRequest.
Random UUID$utils.randomUUID()Random UUID

Resource

NameTokenDescription
Impacted first resource group$utils.resourcesGroupDetails($serviceRequest.groups,"name")Impacted first resource group.
Impacted resource id(s)$serviceRequest.deviceIdsAssigned device id(s) of the service request.
Impacted resource name(s)$serviceRequest.deviceListAssigned device name(s) of the service request.
Impacted resource(s) location$utils.locationDetails($serviceRequest.resources,"name")Assigned device(s) location of the service request.

Custom Fields

NameTokenDescription
Numeric-api-lab$utils.customField($serviceRequest.msp.id,$serviceRequest.id,"serviceRequest","Numeric-api-lab")Numeric-api-lab

Functions

NameTokenDescription
Concatenate strings$utils.concatenateStrings(,)Concatenate two strings.
replaceString$utils.replaceString(,,)Replace Function
substring$utils.substring(,,)Substring Function
truncate$utils.truncate(,)Truncate Function
truncateByBytes$utils.truncateByBytes(,)TruncateByBytes Function is used to truncate a string on the basis of byte size.

Problem

Problem

NameTokenDescription
Access URL$utils.ticketAccessURL($problem.id,$problem.client.id,$problem.msp.id,$problem.serviceProviderId)Access URL of the problem.
Application$problem.applicationApplication of the problem.
Assigned user$problem.assignedTo.fullNameAssigned user to the problem.
Assignee group name$problem.assigneeGroup.nameAssignee Group name of the problem.
Associated change request ID$problem.changeRequest.idAssociated changeRequest ID of the problem.
Attachment base64 binary$utils.attachmentData($problem.latestResponse.attachments)Attached file content in base64 binary data.
Attachment file multipart$utils.attachmentMultipart($problem.latestResponse.attachments,$problem.client.uniqueId,$installedAppId,$problem.uniqueId,$problem.latestResponse.id,$entity)Attached file multipart.
Attachment file name$utils.attachmentFileName($problem.latestResponse.attachments)Attached file name of incident.
Attachment type$utils.attachmentFileType($problem.latestResponse.attachments)Attached file type of incident.
Category$utils.ticketCategory(false,$problem.id)Category of the problem.
cc$problem.cccc of the problem.
Client name$problem.client.nameClient of the problem.
Client unique ID$problem.client.uniqueIdClient UniqueId of the problem.
Client UUID$problem.client.uuidClient uuid of the problem.
Conversations$utils.ticketConversations($problem.id,limit,isHMTL,latestOrder)Total conversations of ticket based on filtering limit.
Created date$utils.convertDate($problem.createdDate,"yyyy-MM-dd'T'HH:mm:ssZ")Created date of the problem.
Description$problem.impactDescription of the problem.
Estimated Hours$utils.minutesToHours($problem.estimatedHours)Estimated Hours of the problem.
External ticket ID$utils.extEntityId($problem.id,$installedAppId,$entity)External ticket id of the problem.
External Client ID$utils.extClientId($problem.client.id)External Client ID of Client.
Latest comment description$problem.latestResponse.descriptionLatest comment description of the problem.
Latest comment HTML description$problem.latestResponse.htmlDescriptionLatest comment description of the problem in HTML format.
Latest comments added by$problem.latestResponse.creator.fullNameUser who added latest response to problem.
Latest KB description$utils.kbArticleDetails($problem.id,$entity,"content")Description of latest KB article IDs attached.
Latest KB ID$utils.ticketAccessURL($incident.id,$incident.client.id,$incident.msp.id,$incident.serviceProviderId)Access URL of the incident.
Latest KB subject$utils.kbArticleDetails($problem.id,$entity,"uniqueId")Access URL of the incident.
List KB article IDs$utils.kbArticleIds($problem.id,$entity)Returns List of KB article IDs attached.
Partner name$problem.msp.namePartner of the problem.
Partner unique ID$problem.msp.uniqueIdPartner UniqueId of the problem.
Partner UUID$problem.msp.uuidPartner uuid of the problem.
Priority$problem.priority.namePriority of the problem.
Priority updated by$problem.priorityUpdatedBy.fullNameUser who updated priority of the problem.
Problem ID$problem.uniqueIdID of the problem.
Reason to change status$problem.reason.nameCorresponding reason to change problem status.
Reported by$problem.requester.fullNameUser who has created the problem.
Resolution summary$problem.notesResolution summary of the problem.
Root cause$problem.rootCauseRoot cause of the problem.
Source entity$problem.sourceEntityType.nameFrom which source the problem was created (e.g, Alert or API, etc.).
Source entity ID$problem.sourceEntityTypeIdID of the source from which problem was created(e.g, Alert ID).
Status$problem.status.nameStatus of the problem.
Status updated by$problem.statusUpdatedBy.fullNameUser who updated the status of the problem.
Sub category$utils.ticketCategory(true,$problem.id)Sub Category of the problem.
Subject$problem.subjectSubject of the problem.
Updated by$problem.lastUpdatedBy.fullNameUser who has updated the problem.
Work around$problem.workaroundWork around of the problem.
Domain attribute value$utils.domainAttributeValue($incident.resources,"attrName")Returns the value of the specified domain attribute.
External ticket ID$problem.extTicketIdExternal ticket id of the problem.
Group$problem.groups.nameName of group attached to the problem.
Random UUID$utils.randomUUID()Random UUID

Resource

NameTokenDescription
Impacted first resource group$utils.resourcesGroupDetails($problem.groups,"name")Impacted first resource group.
Impacted resource id(s)$problem.deviceIdsAssigned device id(s) of the problem.
Impacted resource name(s)$problem.deviceListAssigned device name(s) of the problem.
Impacted resource(s) location$utils.locationDetails($problem.resources,"name")Assigned device(s) location of the problem.

Custom Fields

NameTokenDescription
problem_Partner$utils.customField($problem.msp.id,$problem.id,"problem","problem_Partner")problem_Partner

Functions

NameTokenDescription
Concatenate strings$utils.concatenateStrings(,)Concatenate two strings.
replaceString$utils.replaceString(,,)Replace Function
substring$utils.substring(,,)Substring Function
truncate$utils.truncate(,)Truncate Function
truncateByBytes$utils.truncateByBytes(,)TruncateByBytes Function is used to truncate a string on the basis of byte size.

Change Request

Change Request

NameTokenDescription
Access URL$utils.ticketAccessURL($change.id,$change.client.id,$change.msp.id,$change.serviceProviderId)Access URL of the change.
Assigned user$change.assignedTo.fullNameAssigned user to the change request.
Assignee group name$change.assigneeGroup.nameAssignee Group name of the change request.
Attachment base64 binary$utils.attachmentData($change.latestResponse.attachments)Attached file content in base64 binary data
Attachment file multipart$utils.attachmentMultipart($change.latestResponse.attachments,$change.client.uniqueId,$installedAppId,$change.uniqueId,$change.latestResponse.id,$entity)Attached file multipart.
Attachment file name$utils.alertState($incident.alertIdList)Incident Related Alert status.
Attachment type$utils.attachmentFileName($change.latestResponse.attachments)Attached file type of incident
Category$utils.ticketCategory(false,$change.id)Category of the change request.
cc$change.cccc of the change request.
Change plan$change.changePlanChange plan of the change request.
Change request ID$change.uniqueIdID of the change request.
Change type$change.changeType.nameChange type of the change request.
Client name$change.client.nameClient of the change request[].
Client unique ID$change.client.uniqueIdClient UniqueId of the change request.
Client UUID$change.client.uuidClient uuid of the change request.
Conversations$utils.ticketConversations($change.id,limit,isHMTL,latestOrder)Total conversations of ticket based on filtering limit.
Created date$utils.convertDate($change.createdDate,"yyyy-MM-dd'T'HH:mm:ssZ")Created date of the change request.
Description$change.impactDescription of the change request.
External Client ID$utils.extClientId($change.client.id)External Client ID of Client.
External ticket ID$utils.extEntityId($change.id,$installedAppId,$entity)External ticket id of the change request.
Group$change.groups.nameName of group attached to the change.
Latest comment description$change.latestResponse.descriptionLatest comment description of the change request.
Latest comment HTML description$change.latestResponse.htmlDescriptionLatest comment description of the change request in HTML format.
Latest comments added by$change.latestResponse.creator.fullNameUser who added latest response to change.
Latest KB description$utils.kbArticleDetails($change.attachedKBIds,$change.id,$entity,"content")Description of latest KB article IDs attached.
Latest KB ID$utils.kbArticleDetails($change.attachedKBIds,$change.id,$entity,"uniqueId")UniqueId of latest KB article IDs attached.
Latest KB subject$utils.kbArticleDetails($change.attachedKBIds,$change.id,$entity,"subject")Subject of latest KB article IDs attached.
List KB article IDs$utils.kbArticleIds($change.attachedKBIds,$change.id,$entity)Returns List of KB article IDs attached.
Partner name$change.msp.namePartner of the change request.
Partner unique ID$change.msp.uniqueIdPartner UniqueId of the change request.
Partner UUID$change.msp.uuidPartner uuid of the change request.
Planned end date$utils.convertDate($change.plannedEnd,"yyyy-MM-dd'T'HH:mm:ssZ")Planned end date of the change request.
Planned start date$utils.convertDate($change.plannedStart,"yyyy-MM-dd'T'HH:mm:ssZ")Planned start date of the change request.
Priority$change.priority.namePriority of the change request.
Priority updated by$change.priorityUpdatedBy.fullNameUser who updated priority of the change.
Reason to change status$change.reason.nameCorresponding reason to change the change request status.
Reported by$change.requester.fullNameUser who has created the change request.
Resolution summary$change.notesResolution summary of the change request.
Rollback plan$change.rollbackPlanRollback plan of the change request.
Source entity$change.sourceEntityType.nameFrom which source the change was created (e.g, Alert or API, etc.).
Source entity ID$change.sourceEntityTypeIdID of the source from which change was created(e.g, Alert ID).
Status$change.status.nameStatus of the change request.
Status updated by$change.statusUpdatedBy.fullNameUser who updated the status of the change.
Sub category$utils.ticketCategory(true,$change.id)Sub Category of the change request.
Subject$change.subjectSubject of the change request.
Test plan$change.TestPlanTest plan of the change request.
Updated by$change.lastUpdatedBy.fullNameUser who has updated the change request.
Work end date$utils.convertDate($change.workEnd,"yyyy-MM-dd'T'HH:mm:ssZ")Work end date of the change request.
Work start date$utils.convertDate($change.workStart,"yyyy-MM-dd'T'HH:mm:ssZ")Work start date of the change request.
Domain attribute value$utils.domainAttributeValue($incident.resources,"attrName")Returns the value of the specified domain attribute.
External ticket ID$change.extTicketIdExternal ticket id of the change request.
Random UUID$utils.randomUUID()Random UUID

Resource

NameTokenDescription
Impacted first resource group$utils.resourcesGroupDetails($change.groups,"name")Impacted first resource group.
Impacted resource id(s)$change.deviceIdsAssigned device id(s) of the change request.
Impacted resource name(s)$change.deviceListAssigned device name(s) of the change request.
Impacted resource(s) location$utils.locationDetails($change.resources,"name")Assigned device(s) location of the change request.

Functions

NameTokenDescription
Concatenate strings$utils.concatenateStrings(,)Concatenate two strings.
replaceString$utils.replaceString(,,)Replace Function.
substring$utils.substring(,,)Substring Function
truncate$utils.truncate(,)Truncate Function.
truncateByBytes$utils.truncateByBytes(,)TruncateByBytes Function is used to truncate a string on the basis of byte size.

Task

Task

NameTokenDescription
Access URL$utils.ticketAccessURL($task.id,$task.client.id,$task.msp.id,$task.serviceProviderId)Access URL of the task.
Assigned user$task.assignedTo.fullNameAssigned user to the task.
Assignee group name$task.assigneeGroup.nameAssignee Group name of the task.
Attachment base64 binary$utils.attachmentData($task.latestResponse.attachments)Attached file content in base64 binary data.
Attachment file multipart$utils.attachmentMultipart($task.latestResponse.attachments,$task.client.uniqueId,$installedAppId,$task.uniqueId,$task.latestResponse.id,$entity)Attached file multipart.
Attachment file name$utils.attachmentFileName($task.latestResponse.attachments)Attached file name of incident.
Attachment type$utils.attachmentFileType($task.latestResponse.attachments)Attached file type of incident.
Category$task.entityCategory.categoryNameCategory of the task.
cc$task.cccc of the task.
Client name$task.client.nameClient of the task.
Client unique ID$task.client.uniqueIdClient UniqueId of the task.
Client UUID$task.client.uuidClient uuid of the task.
Conversations$utils.ticketConversations($task.id,limit,isHMTL,latestOrder)Total conversations of ticket based on filtering limit.
Created date$utils.convertDate($task.createdDate,"yyyy-MM-dd'T'HH:mm:ssZ")Created date of the task.
Description$task.impactDescription of the task.
Due date$utils.convertDate($task.endDate,"yyyy-MM-dd'T'HH:mm:ssZ")Due date of the task.
Estimated Hours$utils.minutesToHours($task.estimatedHours)Estimated Hours of the task.
External Client ID$utils.extClientId($task.client.id)External Client ID of Client.
External ticket ID$utils.extEntityId($task.id,$installedAppId,$entity)External ticket id of the task.
Latest comment description$task.latestResponse.descriptionLatest comment description of the task.
Latest comment HTML description$task.latestResponse.htmlDescriptionLatest comment description of the task in HTML format.
Latest comments added by$task.latestResponse.creator.fullNameUser who added latest response to task.
Latest KB description$utils.kbArticleDetails($task.attachedKBIds,$task.id,$entity,"content")Description of latest KB article IDs attached.
Latest KB ID$utils.kbArticleDetails($task.attachedKBIds,$task.id,$entity,"uniqueId")UniqueId of latest KB article IDs attached.
Latest KB subject$utils.kbArticleDetails($task.attachedKBIds,$task.id,$entity,"subject")Subject of latest KB article IDs attached.
List KB article IDs$utils.kbArticleIds($task.attachedKBIds,$task.id,$entity)Returns List of KB article IDs attached.
Partner name$task.msp.namePartner of the task.
Partner unique ID$task.msp.uniqueIdPartner UniqueId of the task.
Partner UUID$task.msp.uuidPartner uuid of the task.
Priority$task.priority.namePriority of the task.
Priority updated by$task.priorityUpdatedBy.fullNameUser who updated priority of the task.
Project$task.projectproject of the task.
Reason to change status$task.reason.nameCorresponding reason to change task status.
Reported by$task.requester.fullNameUser who has created the task.
Resolution summary$task.notesResolution summary of the task.
Source entity$task.sourceEntityType.nameFrom which source the task was created (e.g, Alert or API, etc.).
Source entity ID$task.sourceEntityTypeIdID of the source from which task was created(e.g, Alert ID).
Start date$utils.convertDate($task.startDate,"yyyy-MM-dd'T'HH:mm:ssZ")Start date of the task.
Status$task.status.nameStatus of the task.
Status updated by$task.statusUpdatedBy.fullNameUser who updated the status of the task.
Sub category$task.subCategory.categoryNameSub Category of the task.
Subject$task.subjectSubject of the task.
Task ID$task.uniqueIdID of the task.
Updated by$task.lastUpdatedBy.fullNameUser who has updated the task.
Domain attribute value$utils.domainAttributeValue($incident.resources,"attrName")Returns the value of the specified domain attribute.
Group$task.groups.nameName of group attached to the task.
Random UUID$utils.randomUUID()Random UUID

Resource

NameTokenDescription
Impacted first resource group$utils.resourcesGroupDetails($task.groups,"name")Impacted first resource group.
Impacted resource id(s)$task.deviceIdsAssigned device id(s) of the task.
Impacted resource name(s)$task.deviceListAssigned device name(s) of the task.
Impacted resource(s) location$utils.locationDetails($task.resources,"name")Assigned device(s) location of the task.

Custom Fields

NameTokenDescription
Action$utils.customField($task.serviceProviderId,$task.id,"task","Action")Action

Functions

NameTokenDescription
Concatenate strings$utils.concatenateStrings(,)Concatenate two strings.
replaceString$utils.replaceString(,,)Replace Function
substring$utils.substring(,,)Substring Function
truncate$utils.truncate(,)Truncate Function
truncateByBytes$utils.truncateByBytes(,)TruncateByBytes Function is used to truncate a string on the basis of byte size.

Custom Field

Custom Field

NameTokenDescription
Search$searchStrSearch String.
Domain attribute value$utils.domainAttributeValue($incident.resources,"attrName")Returns the value of the specified domain attribute.