Receiving information about deleted activities

In ION Desk you can delete archived monitors, archived activation policies, and archived workflows. When you delete these, the activities they have generated are also deleted. If an application has subscribed to receive status updates from Sync Pulse BODs, it also receives Sync Pulse BODs about deleted activities.

The messages about deleted activities have these characteristics:

  • Depending on the type of activities being deleted, a SyncPulseAlert, SyncPulseTask, or a SyncPulseNotification is sent.
  • These BODs have actionCode=”Delete”.
  • These BODs contain a list of IDs that represent a batch of activities being deleted simultaneously.

This code shows an example of a message that is sent for a set of deleted alerts:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SyncPulseAlert releaseID="10.1.3"
	 xmlns="http://schema.infor.com/InforOAGIS/2">
	<ApplicationArea>
		<Sender>
			<LogicalID>infor.engine.pulse</LogicalID>
			<ConfirmationCode>OnError</ConfirmationCode>
		</Sender>
		<CreationDateTime>2018-01-18T15:16:50.397Z</CreationDateTime>
	</ApplicationArea>
	<DataArea>
		<Sync>
			<TenantID>INFOR</TenantID>
			<ActionCriteria>
				<ActionExpression actionCode="Delete"/>
			</ActionCriteria>
		</Sync>
		<PulseAlert>
			<DocumentID>
				<ID>90</ID>
			</DocumentID>
		</PulseAlert>
		<PulseAlert>
			<DocumentID>
				<ID>91</ID>
			</DocumentID>
		</PulseAlert>
		<PulseAlert>
			<DocumentID>
				<ID>92</ID>
			</DocumentID>
		</PulseAlert>
	</DataArea>
</SyncPulseAlert>