Skip to main content

deleteTopologyNode

A Workflow Engine function that deletes a node in the named topology. The node name can be static or a substitution value. To substitute a value, use $(<attribute_name>). For example $(source). As a best practice, set 'first match only' for this action.

This function is available for alert workflows.

Back to Workflow Engine Functions Reference.

Arguments

Workflow Engine function deleteTopologyNode takes the following arguments:

Name

Required

Type

Description

topologyName

yes

string

The name or substited value for the topology. To substitute a value, use $(<attribute_name>). For example $(custom_info.myTopology).

nodeName

yes

string

The name or substituted value for the 'A' endpoint (source node). To substitute a value, use $(<attribute_name>). For example $(custom_info.node).

Example

The following example demonstrates typical use of Workflow Engine function deleteTopologyNode.

If you want to delete a node in the topology "My Network" for alert source, set the following:

  • topologyName: my network

  • )sourceNode: $(source)

The UI translates your settings to the following JSON:

{"topologyName":"my network","nodeName":"$(source)"}

For an alert where source = sflinux101, the action deletes the node.