Interface: SDKExecutionPayload
The payload for creating an execution
Interface
SDKExecutionPayload
Table of contents
Properties
- serviceName
- input
- functionName
- sync
- projectId
- notification
- title
- caption
- successMessage
- onSuccessEvent
- onFailureEvent
Properties
serviceName
• serviceName: string
The name of the service
input
• input: Dictionary
The function's inputs as a dictionary
functionName
• functionName: string
The name of the function
sync
• Optional
sync: boolean
Enabled by default, this feature ensures that the platform subscribes to changes and monitors the execution's status, consequently triggering events for execution status updates. To track these changes from an application, you can subscribe to the DlEvent.EXECUTION_STATUS
event.
projectId
• Optional
projectId: string
The project id
notification
• Optional
notification: boolean
Add a notification to the execution
title
• Optional
title: string
The notification title
caption
• Optional
caption: string
The notification caption
successMessage
• Optional
successMessage: string
A success toast message string
onSuccessEvent
• Optional
onSuccessEvent: EventPayload
An event to be triggered on execution success
onFailureEvent
• Optional
onFailureEvent: EventPayload
An event to be triggered on execution failure