Creating a workflow for a full extract and process of the table in source & model space
Use these instructions to do a full load of a table in the source space which will be extended in the SX-Dimension-Extension space. When you do a full load, the extended column are updated to all rows in the model space.
- In Birst, select the [Tenant]-CSD-Source space.
- Next to Modeler, click Connect.
- Select the CSD Infor Data Lake.
- Hover your mouse over the object, click the down arrow and then click Edit.
- Scroll to the bottom of the Query text box.
-
Replace Extract Start Date variable in the WHERE
lastModified statement with
2019-01-01T00:00:00.000Z.
Example before the change:
WHERE lastModified >= 'V{InforCSD_oeel_ExtractStartDate}'
Example after the change:WHERE lastModified >= '2019-01-01T00:00:00.000Z'
- Click Save.
- Repeat steps 1-7 for additional sources.
- Select Modeler > Admin 2.0.
- Click Orchestration.
- Click Create Workflow.
- For Step 1, click Add task to step.
- From the Task Type drop down, select Extract.
- Next to the Space field, click the icon to view the list of spaces.
- Select [Tenant]-SX-Source.
- In the Connection field, select CSD Infor Data Lake.
- Click Select and then click the extract group in the list. For example, OEEL_EXT.
- Click Add new step.
- For Step 2, click Add task to step.
- Select Publish from the Task Type.
- Select the [Tenant]-SX-Source space and click Select.
-
Select the respective publishing group.
Press Ctrl to select multiple groups.Note: To determine the table processing and publishing group, in Birst Classic Admin, select Define sources > Manage source. Select the source and then click the Properties tab.
- Click Add new step.
- For Step 3, click Add task to step.
- Select Publish from the Task Type.
- Select the respective model space. For example, [Tenant]-SX-Model-Sales. Click Select.
- Select the respective publishing group. For example, 300-SalesLine.
- Assign a name to the workflow and click Save.
- Hover your mouse over the new workflow and select Actions > Run Workflow.
-
When you receive an email indicating the workflow ran successfully, repeat
steps 1-7 to restore the Extract Start Date variable to
its original value.
This ensures the incremental extract does not keep extracting full loads from Data Lake.
- After the extract and processing is run successfully, open Birst Visualizer in the Consumer space and select the extended attribute or measure from the Default Subject Area to validate it.