createAutomation()
Home > @gooddata/sdk-backend-spi > IWorkspaceAutomationService > createAutomation
IWorkspaceAutomationService.createAutomation() method
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Create new automation
Signature:
createAutomation(automation: IAutomationMetadataObjectDefinition, options?: IGetAutomationOptions): Promise<IAutomationMetadataObject>;
Parameters
Parameter | Type | Description |
---|---|---|
automation | IAutomationMetadataObjectDefinition | definition of the automation |
options | IGetAutomationOptions | (Optional) specify additional options |
Returns:
Promise<IAutomationMetadataObject>
Promise resolved with created automation.