commentsToContext
Common Scripts Pack.#
This Script is part of theUse this script to take the comments of a given entry ID and stores them in the incident context, under a provided context key.
In order to access the last executed task's comments, provide ${lastCompletedTaskEntries.[0]}
as the value for the entryId
input parameter.
#
Script DataName | Description |
---|---|
Script Type | javascript |
Tags | Utility |
#
InputsArgument Name | Description |
---|---|
entryId | The entry ID to get the comments from. |
contextKey | The context key to store comments into. |
listSeperator | If value is a list - provide a list seperator. |
#
OutputsThere are no outputs for this script.