# Use task mapping to map over a specific set of arguments

Looking for the latest Prefect 2 release? Prefect 2 and Prefect Cloud 2 have been released for General Availability. See https://docs.prefect.io/ for details.

Mapping in Prefect is a great way for dynamic task creation and parallel execution. Sometimes you may want to pass extra arguments to functions that you're using to map over inputs but you don't want to map over those extra arguments. This is where Prefect's unmapped operator can come into play.

In this example let's take a flow where we want to pass in a Parameter multiple to be multiplied against a random list of numbers also specified with a total Parameter. This random list of numbers will be generated at runtime. If your tasks map over iterables that are generated at runtime then Prefect will dynamically build the DAG based on those values.

Unmapped Option

This flow is going to map over the output from the get_numbers task, generating total additional tasks with random numbers, and then it is going to output each of those numbers multiplied by the supplied multiple.