The create map Deluge task creates a new empty map expression. If the target map variable is already defined as a map variable, then all its content will be erased. The map expression related tasks (put, putAll, remove, clear) and opertions can be done only if the map variable is defined.
In the following sample code, a map named map1 is defined.
Following is an example to declare a map variable hdrs with key-value pairs.