Icon

04.1_​ETL_​Customers

04.1_ETL_Customers_solution
Extract Transform Load Session 4 OrchestrationExercise 04.1 ETL Customers 2 Handle errors1. Connect the Try (VariablePorts) node with the bothData Access components 3 Handle errorsVariable Creator node connected to Database Update component creates a flow variableETL_failed equal to 0. Second Variable Creator creates a flow variable ETL_failed equal to 11. Provide the variable ETL_failed = 0 to the upper port of the Catch Errors (Var Ports) node2. Provide the variable ETL_failed = 1 to the bottom port of the Catch Errors (Var Ports) node3. If the value of the flow variable ETL_failed is 1 (Case Switch Start node, flow variable ports),send an email to a responsible person (Send Email node). If you want to try the node out, provideyour credentials or leave it as a placeholder. 1 Import thecredentials1. Import flow variablesfrom the caller (WorkflowService Input, flow variableports) 4 Export workflow status1. Export the variable ETL_failed to thecalling workflow (Workflow ServiceOutput node, flow variable ports) ExercisesAll the tasks can be found in the yellow annotations and the yellow components.Make sure you have executed the 00_Setup_PostgreSQL_Database or 04.0_Reset_DB&Big_Data_Environment workflow before running this workflow. NOTE. This node can only beexecuted successfully whenthe current workflow is calledfrom the 04.3 Orchestrationworkflow. We recommendsolving these two exercisestogether.Blend the data fromdifferent sourcesNotify theresponsible presonStatus: failuretop: ETL_failed = 0bottom: ETL_failed = 1Workflow execution statusImport credentialsfrom the callerStatus: successConcatenate Send Email Try (VariablePorts) Database Update Variable Creator Catch Errors(Var Ports) CASE Switch Start WorkflowService Output Data Anonymization Data AccessUS Customers Data AccessEurope Customers WorkflowService Input Variable Creator Extract Transform Load Session 4 OrchestrationExercise 04.1 ETL Customers 2 Handle errors1. Connect the Try (VariablePorts) node with the bothData Access components 3 Handle errorsVariable Creator node connected to Database Update component creates a flow variableETL_failed equal to 0. Second Variable Creator creates a flow variable ETL_failed equal to 11. Provide the variable ETL_failed = 0 to the upper port of the Catch Errors (Var Ports) node2. Provide the variable ETL_failed = 1 to the bottom port of the Catch Errors (Var Ports) node3. If the value of the flow variable ETL_failed is 1 (Case Switch Start node, flow variable ports),send an email to a responsible person (Send Email node). If you want to try the node out, provideyour credentials or leave it as a placeholder. 1 Import thecredentials1. Import flow variablesfrom the caller (WorkflowService Input, flow variableports) 4 Export workflow status1. Export the variable ETL_failed to thecalling workflow (Workflow ServiceOutput node, flow variable ports) ExercisesAll the tasks can be found in the yellow annotations and the yellow components.Make sure you have executed the 00_Setup_PostgreSQL_Database or 04.0_Reset_DB&Big_Data_Environment workflow before running this workflow. NOTE. This node can only beexecuted successfully whenthe current workflow is calledfrom the 04.3 Orchestrationworkflow. We recommendsolving these two exercisestogether.Blend the data fromdifferent sourcesNotify theresponsible presonStatus: failuretop: ETL_failed = 0bottom: ETL_failed = 1Workflow execution statusImport credentialsfrom the callerStatus: successConcatenate Send Email Try (VariablePorts) Database Update Variable Creator Catch Errors(Var Ports) CASE Switch Start WorkflowService Output Data Anonymization Data AccessUS Customers Data AccessEurope Customers WorkflowService Input Variable Creator

Nodes

Extensions

Links