Creating Notify activities
concept australia Updated Sep 10, 2026 1 min read c_CreatingNotifyActivities.md
Default Notify workflow generally performs a single action, such as initiating a phone call. You can create custom Notify workflow activities to implement more complex functionality.
Use event handler functions in each Notify activity definition to design your own activity behavior. For example, you can set the activity result if the caller hangs up by using the onCompleted function.
JavaScript
onCompleted: function() {activity.result = 'call_ended';},When creating a new Notify workflow activity, follow these design principles.
- Within onExecute event handler function, create a new NotifyAction object. Use this object to create a simple or complex action, then serialize the object to the notify_wf_activity table.
- Within the onUpdate event handler function, deserialize the NotifyAction object from the notify_wf_activity table and use this object to perform any other operations.
- Use the other event handler functions and the Notify as needed to implement the desired activity behavior.
Parent Topic:Notify workflow activities
Related topics
[bundle-crapiref.c_NotifyActionApi]
40 lines · 1.9 KB
---
title: Creating Notify activities
description: Default Notify workflow generally performs a single action, such as initiating a phone call. You can create custom Notify workflow activities to implement more complex functionality.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/servicenow-platform/notify/c\_CreatingNotifyActivities.html
release: australia
product: Notify
classification: notify
topic_type: concept
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Notify workflow activities, Notify reference, Notify, Manage service capabilities, Extend ServiceNow AI Platform capabilities]
---
# Creating Notify activities
Default Notify workflow generally performs a single action, such as initiating a phone call. You can create custom Notify workflow activities to implement more complex functionality.
Use event handler functions in each Notify activity definition to design your own activity behavior. For example, you can set the activity result if the caller hangs up by using the onCompleted function.
```
onCompleted: function() {
activity.result = 'call_ended';
},
```
When creating a new Notify workflow activity, follow these design principles.
- Within onExecute event handler function, create a new NotifyAction object. Use this object to create a simple or complex action, then serialize the object to the notify\_wf\_activity table.
- Within the onUpdate event handler function, deserialize the NotifyAction object from the notify\_wf\_activity table and use this object to perform any other operations.
- Use the other event handler functions and the Notify as needed to implement the desired activity behavior.
**Parent Topic:**[Notify workflow activities](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/notify/c_NotifyActivities.md)
**Related topics**
[bundle-crapiref.c_NotifyActionApi]
| title | Creating Notify activities |
| description | Default Notify workflow generally performs a single action, such as initiating a phone call. You can create custom Notify workflow activities to implement more complex functionality. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/servicenow-platform/notify/c\_CreatingNotifyActivities.html |
| release | australia |
| product | Notify |
| classification | notify |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Notify workflow activitiesNotify referenceNotifyManage service capabilitiesExtend ServiceNow AI Platform capabilities |