Invoke-Notification
  • 1 Minute to read
  • Dark
    Light
  • PDF

Invoke-Notification

  • Dark
    Light
  • PDF

Article summary

Summary

Invoke a notification using a request type and an id. 

When items are created with a script, they are created "silently", meaning they are created without triggering any notifications or events. It is designed this way so scripts can perform many actions without clogging up the notification system. This utility is useful when you, for example, do want to specifically send a notification based on a certain request type, such as creating a new task or issuing a mention to someone. Please do note, though, that there are safety mechanisms in place that prevent too many notifications from being triggered at once.

Invoke-Notification    
    -RequestType
    -Id

Returns nothing.

Parameters

ParameterTypeRequired?Notes
RequestTypeStringYesSee table below for the accepted values.
IdInt64YesThe key value of object. For example, the Task id, Task comment id, the project id, or the mention id.

RequestType Accepted Values

New Project
Update Project
New Task
Update Task
New Task Comment
Update Task Comment
Share Task
Mention

Examples

Trigger a notification after creating a new task comment

# TODO

What's Next