AS.getSimpleEventBlobFromPayload()
Signature
Object getSimpleEventBlobFromPayload(SimpleEvent event, String blobFieldName, SimpleEvent eventTemplate)
Domain
ACTION, CONDITION, QUERY, BUI
Description
Get SimpleEvent's Blob from the payload of SimpleEvent.
Parameters
Name | Type | Description |
event | SimpleEvent | SimpleEvent with payload |
blobFieldName | String | The field name of Blob |
eventTemplate | SimpleEvent | The template of SimpleEvent |
Returns
Type | Description |
byte[] or SimpleEvent | Return null if there's no payload or the field name is nonexistent |