VBScript Lua
This GSE action creates a new note/comment to an existing ticket.
Example call routing scripts can be found here A.2 - Example: Create Note and here A.4 - Example: Check Status and Create Note.
Configure action parameters
By double clicking a parameter in the list, you can edit it.
Domain Required
This is the name of your subdomain in the Freshservice URL of your support portal, for example: https://domain.freshservice.com
This is a string value.
APIKey Required
This is the API Key you obtained from your Freshservice Support portal. This is a string value.
Please refer to 1 - Preparations for more details.
TicketID Required
This is the id of the ticket you want to add a note/comment to.
This is a string value.
Body Required
This is the text of the note/comment.
This is a string value.
Private
You can define, if the new note/comment will only be visible internally (1) or is also visible to your customer (0).
Valid values or 0 and 1. Default: 1
This is a number value.
Configure action exits
Exit 0 (Default)
This exit will be reached when everyhting worked fine and the note/comment was created. It is recommmended to name this exit "ok" or "created".
Exit 1
This exit will be reached when there was any kind of problem and no note/comment has been created. It is recommended to name this exit "failed".
If you reach this exit you can refer to 3.4 - Trouble Shooting to figure what went wrong.
Additional return value (as global variable)
g_sLatestFreshserviceTicketID (string)
This global variable holds the ID of the ticket the note/comment was added to. after the ok (0) exit has been reached.
By Tom Wellige