Mappings > Mapping tutorial > Step 6. Create a mapping task
  

Step 6. Create a mapping task

In this step, you'll create a mapping task that uses the mapping that you just designed.
Now that you have a valid mapping, you can use the mapping task wizard to create tasks based on the mapping. Because you used parameters in the mapping, each time you run the task, you can change the parameter values. After the task runs, you'll have a target table that contains customer information for the country that you enter in the filter condition parameter.
    1To create a mapping task based on the mapping, while still in the Mapping Designer, click Actions and select New Mapping Task, as shown in the following image:
    The image shows the Actions menu, which includes the following options: New Mapping Task, Save, Run, Flow Run Order, Parameters Panel, Validation Panel, Pushdown Optimization Panel, and Advanced Properties. The cursor appears over "New Mapping Task."
    The mapping task wizard opens.
    2On the Definition page, enter mt_CustomersByCountry for the name of the task.
    3Select the runtime environment to use to run this task. It should be the same runtime environment that you used to create and test the mapping, in this case, the Informatica Cloud Hosted Agent.
    The following image shows the Definition page in the mapping task wizard:
    In the Definition page, you enter the task details and select the runtime environment. In this example, the task name is set to "mt_CustomersByCountry," and the runtime environment is set to "Informatica Cloud Hosted Agent."
    4Click Next.
    The Targets page appears. You can either select a target object from the list or click Create Target to create a new target.
    5Click Next.
    The Input Parameters page appears and displays the Filter Value for Country filter condition. You can change the value of the parameter, if desired.
    6Click Next.
    The Schedule page appears. Because this is a tutorial and you don't want to run this mapping task on a regular basis, leave the default values.
    7Click Finish to save the mapping task.