Saving and reading persistent information from ECR

  

CallQueueSetPersistentProperty:

This block can be used to save values into the internal persistent data table. To save multiple value into the database, more than one block needs to be chained.

 

Group

A data group value groups multiple key/value pair together like a category. This value can have any value. There are not predefined group categories.

Key

Key entry for each key/value pair

Value

Value for a specific key/value pair

Associated

These value can be empty or filled with any kind of data that should be associated with the value

 

Example:

1. Block: Group = "Announcements", Key = "1", Value = "Annoucement_Office.wav"

2. Block: Group = "Announcements", Key = "2", Value = "Annoucement_Holiday.wav"

3. Block: Group = "Announcements", Key = "3", Value = "Annoucement_Night.wav"

 

These 3 blocks create 3 entries in the database.

 

CallQueueGetPersistentProperty:

 

This block can be used to retrieve values from the internal persistent data table. To retrieve a specific value, all entries but "Value" needs to be filled with the filter criteria.

 

Example:

To retrieve one of the announcements from the upper example, data group and key needs to be filled with Group = "Announcement" and Key = "1", "2" or "3". The Value needs to be saved into a variable like "=ReturnValue".

 

If the saved value has been associated with a group, user, queue or call, these values needs to be set on retrieving the value from the database. Otherwise the value won't be found. If group, user, queue or call have been empty on saving the value, they have to be empty on retrieving the value too.


Copyright © 2018 3iMedia GmbH