AS.getSimpleEventBlobFromPayload()

Signature

Object getSimpleEventBlobFromPayload(SimpleEvent event, String blobFieldName, SimpleEvent eventTemplate)

Domain

action, condition, query

Description

Get SimpleEvent's Blob from the payload of SimpleEvent.

Parameters

NameTypeDescription
eventSimpleEventAn SimpleEvent with payload
blobFieldNameStringThe field name of Blob
eventTemplateSimpleEventThe template of SimpleEvent

Returns

TypeDescription
byte[] or SimpleEventReturn null if there's no payload or the field name is nonexistent