Rule Effect
ticketCommand
Back to IndexReturn this effect to apply a ticket command from hooks that supports it.
Type
{ effect: 'ticketCommand' type: text // Command type // Additional command properties are added here}
Payment Commands
addActivityLog | Adds an activity log to a Ticket |
addTag | Adds a tag to a Ticket |
createItem | Adds a new Ticket Item to a Ticket |
createItemRelation | Adds a new graph node relation to a Ticket Item |
createRelation | Adds a new graph node relation to a Ticket |
deleteItem | Removes a Ticket Item from a Ticket |
deleteItemRelation | Removes a graph node relation from a Ticket Item |
deleteRelation | Removes a graph node relation from a Ticket |
generateTicketNumberByPrefix | Generates a ticket number for a Ticket based on the given prefix |
removeTag | Removes a tag from a Ticket |
setDynamicFields | Sets dynamic fields of a ticket. Non specified fields will be left unchanged. Set value to null to remove field. |
setItemDynamicFields | Sets dynamic fields of a ticket item. Non specified fields will be left unchanged. Set value to null to remove field. |