In the group, there are activities allowing for executing of operations on directories defined as groups of key-value pairs. Before adding an activity from that group, it is necessary to specify key and value type.
![](https://help.comarch.com/standard/20221/wp-content/uploads/2021/07/bpm_selected_standard_activities_directories_directories_activities_category.png)
![](https://help.comarch.com/standard/20221/wp-content/uploads/2021/07/bpm_selected_standard_activities_directories_directories_select_types.png)
Selecting keys and values type for a directory
Update Or Add To Directory
Allows for adding values for a specific key to a directory. If the key already exists in the directory, the value will be updated.
![](https://help.comarch.com/standard/20221/wp-content/uploads/2021/07/bpm_selected_standard_activities_directories_update_or_add_to_directory.png)
Key Exists in Directory
The activity verifies whether in a given directory, there is an entry containing a specific key. The result is a logical variable assuming True value, if the key exists in the directory and False value, if it does not exist.
![](https://help.comarch.com/standard/20221/wp-content/uploads/2021/07/bpm_selected_standard_activities_directories_key_exists_in_directory.png)
Value Exists in Directory
The activity verifies whether in a given directory, there is an entry containing a specific value. The result is a logical variable assuming True value, if the value exists in the directory and False value, if it does not exist.
![](https://help.comarch.com/standard/20221/wp-content/uploads/2021/07/bpm_selected_standard_activities_directories_value_exists_in_directory.png)
Get From Directory
The activity retrieves a value from a directory on the basis of a specific key. The result, besides the value, is a logical variable containing the information whether the entry was retrieved.
![](https://help.comarch.com/standard/20221/wp-content/uploads/2021/07/bpm_selected_standard_activities_directories_directories_get_from_directory.png)
Delete From Directory
The activity deletes an entry from a directory on the basis of a specific key. The result, besides the value, is a logical variable containing the information whether the entry was deleted.
![](https://help.comarch.com/standard/20221/wp-content/uploads/2021/07/bpm_selected_standard_activities_directories_delete_from_directory.png)
Clear Directory
The activity deletes all entries from a directory.