DeleteRelation

Labels: :IA_Function:IA_DeleteRelation

Can be used to delete relationships from a Neo4j database. Before the delete is performed a confirmation is required from the user.

Parameters

Key Description Default value Possible values
$area Area in which the confirm message will appear
$container Container in which the confirm message will appear
$id Id of the relationship to be deleted positive interger
$store Name of the store from where to delete the relationship name of configured Neo4j store

Outgoing triggers (types)

Type Description
Deleted Relationship has been deleted successfully

Deleted trigger

Key Possible value Required
type deleted yes
Example of deleted trigger event data
{
	type: 'deleted',
	relation: {
		id: 1,
		type: 'rel',
		source: 1,
		target: 2,
		properties: {},
		meta: {}
	}
}