Early Access: The content on this website is provided for informational purposes only in connection with pre-General Availability Qlik Products.
All content is subject to change and is provided without warranty.
Skip to main content Skip to complementary content

export_task

Export definitions from the selected task on the selected server. The definitions always include task settings, tables/table patterns (include/exclude), table settings and global transformations. The endpoint definition is only exported along with the task definition if with endpoints=true is set.

Required User Role: See Required Enterprise Manager permissions.

Syntax

def export_task(

self,

server,

task,

withendpoints = False

)

Parameters

Parameters
Parameter Type Description
server string The name of the server on which the task is defined.
task string The task to be exported.

withendpoints

bool

Whether or not to export the endpoint definitions as well.

Return values

Exported task JSON file as a string.

Errors

All of the general errors as well as the errors listed in the table below.

Error responses
Error Message Description

AEM_METHOD_NOT_SUPPORTED_VERSION

AemExportTask is only supported on Replicate 5.5 or above.

AemExportTask is only supported on Replicate 5.5 or above.

AEM_EXPORT_TASK_NO_PERMISSION_ON_ENDPOINT

Failed to export task {task} from Replicate server {server} as the logged in user does not have permission to access one or both of the task's endpoints.

Export all cannot be carried out because the user does not have permissions on one or more endpoints.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!