register_event
Register a custom event in ServiceNow's event registry to trigger table-specific workflows. Assign a unique name and specify the source table for automation.
Instructions
Register a new custom event in the event registry (requires SCRIPTING_ENABLED=true)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"table": "<table>"
},
"name": "register_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Unique event name (e.g. "my_app.record_created") | |
| table | Yes | Table that fires this event (e.g. "incident") | |
| description | No | Description of when this event fires |