Skip to main content
NiCE KnowledgeKnowledge

On October 21, we applied a security patch across all NiCE KM production environments to address a recently disclosed PHP vulnerability. The update was completed without service disruption, and our team continues to monitor the platform closely. No action is required on your part.

NiCE Knowledge Success Center

Map functions

Applies to:
All versions
Role required:
Draft Contributor
These map functions are part of the DekiScript and NiCE KM runtime environment.

map.apply(map, expression) : map

Create a new map by applying the expression to each key value pair.

Name Type Description
map map map value
expression str expression to apply (use '$' to refer to the item)

map.contains(map, key) : bool

Check if the key is contained in a map.

Name Type Description
map map map value
key str key value

map.keys(map) : list

Get the list of keys of a map.

Name Type Description
map map map value

map.keyvalues(map) : list

Create a list of the key-value pairs.

Name Type Description
map map map value

map.remove(map, key) : map

Remove the key from a map and return the modified map.

Name Type Description
map map map value
key str key value

map.select(map, condition) : map

Create a map that only contains key-value pairs for which the condition succeeds.

Name Type Description
map map map value
condition str condition to execute for each item (use '$' to refer to the key-value pair)

map.values(map) : list

Get the list of values of a map.

Name Type Description
map map map value
  • Was this article helpful?