A Model Export task, a non-interactive task, exports data from a Data Model or Model View, including member names and amounts. The data is exported to a staging table with the same name as the model. It can also be output to a file in Explorer, FTPS, or Azure file storage, with additional setup required for FTPS or Azure file storage.
The Model option exports raw values only, which means that only leaf values are exported, excluding aggregate data.
For example, values for parent members such as Tot_Canada, Total_Group, Total Cash, etc. won't be included. An example use case for the Model option would be to verify that a data import was submitted with the correct members. However, exporting an entire model using the Model option may create a very large data set and cause a time-out or exceed file storage limitations.
The Model View option exports aggregate data, which means that both leaf and parent data are exported. A Model View definition is required to define the order of the columns and members that should be included. The output is similar to a report but in a columnar format. Exporting Model Views allows the ability to continually optimize the dataset for export. For more information, see Manage Model Views.
Configuration pane parameters
The key parameters include:
| Parameter | Description |
| Name | Enter the name that appears on the task. |
| Type | Select one of these:
|
| Model | If the Type selected is Model, it specifies the model to export. Select a model from the list. |
| Model View | If the Type selected is Model View, it specifies the model view to use as the definition. Select a model view from the list. You can also manually enter a name or leverage the process {} syntax to select a dynamic model view name, in the case where this task is part of a Bursting Workflow. For more information, see Workflow Bursting. |
| Destination | Specify where the result should be output. Select one of:
|
| Target File Name | Select one of these:
|
| Folder |
|
| Format | Select the file format of the exported file:
|
| Compress Output | Select this checkbox if to compress the output to a zip file. In certain cases, you can leave the results uncompressed. For example, if a third party process needs to use the file, it'll probably need the file to be uncompressed. |
| Advance Rule | Specify how to advance to the task. The default is All predecessors have completed. |
Configure a Model Export task
To configure the Model Export task:
- Drag the Model Export task onto the Workflow Editor canvas to add it.
Find the Model Export task in the Application section of the Workflow toolbox. - Select the Model Export task and select the Edit icon to edit the parameters in the Task Configuration pane.
- Fill in the required parameters.
- Select OK to apply changes in the Task Configuration pane.
- Select Save to save the workflow.
- Select Play in the Workflow Editor toolbar to start the workflow.