View

This activity is used to view the details that are entered in the dictionary. This can be used along with other dictionary activities to view the content in the dictionary. The details in the dictionary are seen as a pop up.

Technical Reference:

 

 

 

INPUT

Dictionary: The name of the dictionary for which we want to view the content.

ExpirySecs: Number of seconds the view page must be displayed on screen.

MessageTitle: The title of the window in which the content has to be displayed.

 

 

 

 

 

 

 

 

MISC

ArgumentType1: This indicates the type of the key we have used in the dictionary. Choose from the drop down.

ArgumentType2: This indicates the type of the value that has been used to represent the key value. Choose from the drop down

Display Name: Displays the name of the activity. You can also customize the activity name to help troubleshoot issues faster. This name will be used for logging purposes.

SkipOnError: It specifies whether to continue executing the workflow even if it throws an error. This supports only Boolean value “True or False”

True: Continues to execute the workflow irrespective of any error thrown.

False: Stops the workflow if it throws any error

Version: It specifies the version of the Dictionary feature in use

*Mandatory fields to execute the workflow

The following activity illustrates on how we can use the view dictionary details to view the content in the dictionary.

We are using the continuity of the same workflow that we used in add to dictionary.

Example:

1.      Drag and drop the view dictionary below the add to dictionary activity.

2.      In the property box give the name of the dictionary from which you want to view the content. Here it is “DictNameAge”

3.      In the message title box, give the title for the box in which the dictionary content will be viewed in double quotes. “NameandAge”

4.      Enter the ArgumentType1 and ArgumentType2 as String and Int32 respectively.

5.      We have entered three keys to the dictionary, so the pop up will show three keys.

6.      Execute the workflow.

The bot pops up a screen with the keys and values in the dictionary.