Since this will be widely used MS also Introduced three actions specifically designed for the Dictionary variable type.
- Build Dictionary
- Count Items in a Dictionary
- Get an Item from a Dictionary
Build Dictionary - You use the Build Dictionary action to create a variable of type Dictionary. A Dictionary can contain any type of variable available in the SharePoint 2013 Workflow platform. The following list defines the variable types available:
- Boolean: A Yes or No value
- Date/Time: A date and time
- Dictionary: A collection of variables
- Guid: A Globally Unique Identifier (GUID)
- Integer: A whole number without decimals
- Number: A number that can contain decimals
- String: A string of characters
Count Items in a Dictionary - You use the Count Items in a Dictionary action to count the variables that a Dictionary contains and then store that number in an Integer variable. You can then use the item count to loop through the Dictionary.
Get an Item from a Dictionary - You use the Get an Item from a Dictionary action to retrieve a variable stored in the Dictionary and place it in a variable. This is valuable when you need a value in the dictionary stored in a stand-alone variable. You can retrieve a value by entering the name of the variable.
No comments:
Post a Comment