Exercise - Create transformations

Version 30.1 by Erik Bakker on 2023/01/19 12:32

With this exercise, we start our journey into the eMagiz platform. This exercise will explain the business case used throughout all exercises linked to the Crash Course Platform Course. In the following exercises, we will guide you step by step through the platform so you can learn how to use it.

Should you have any questions, please contact academy@emagiz.com.

1. Prerequisites

  • Completed all previous exercises of the Crash course Platform
  • Completed all previous microlearnings of the Crash course Platform

2. Exercise

In this exercise, please make the following changes to the system message of the TMS system:

  • Change dataType of the attribute called "OrderDate" to date
  • Add an attribute called "OrderReference" on the Order entity

And the following changes to the transformation from CDM to TMS:

  • Make sure that the "OrderReference" attribute is filled with the constant value of Fixed-54321
  • Make sure that the "OrderID" is filled with the input value from the CDM but also make sure that when there is no input value a constant with the value except-12345 is filled in
  • Make sure that the incoming "Date" value is properly transformed from a dateTime value to a date value to prevent validation errors on the "OrderDate" attribute
  • Add the following custom Xpath for the "Country" attribute under "Order_PickupAddress/Address"
    • if (Country = 'NL') then Country = 'NLD' else Country = 'FRA'

3. Solution

In this short movie, you will find the workout of this exercise. Take a moment to review this one and compare it to your solution.

Video attachment not found.