Map (aka dictionary) represents mapping keys to values. The following are properties and operators supported for Map.

Property Type Description
@count int number of key-value mappings in map.
[<key>]
accesses map's value by its key. Key can be either a string value or a variable. For example, phoneByLabel["home"] accesses home phone; phoneByLabel[label] accesses a phone specified by a label variable.  If variable is not a map - [] operator will be ignored. If key is not in the map - reverse operation will be performed - getting a key by passed argument.
@asJSON String formatted JSON representation

See also:
Variable Types
Action Environment
Tasks and Workflows
Actions

Next > Media Item