Difference between revisions of "Activity:AddToDictionary (Activity)"
Line 1: | Line 1: | ||
+ | The AddToDictionary activity adds an item, specified by an unique key, to a given dictionary. | ||
+ | |||
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Add to Dictionary | | title = Add to Dictionary | ||
Line 9: | Line 11: | ||
| version = 2.1+ | | version = 2.1+ | ||
}} | }} | ||
− | |||
− | ==Arguments== | + | ===Arguments=== |
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
|- | |- | ||
Line 27: | Line 28: | ||
|} | |} | ||
− | ==Usage== | + | ===Usage=== |
This activity adds an item, using its unique key, to the given dictionary. | This activity adds an item, using its unique key, to the given dictionary. | ||
Line 33: | Line 34: | ||
* [[Workflow Designer]] | * [[Workflow Designer]] | ||
* [[Activity:RemoveFromDictionary_(Activity)]] | * [[Activity:RemoveFromDictionary_(Activity)]] | ||
− | |||
− |
Revision as of 09:11, 4 November 2015
The AddToDictionary activity adds an item, specified by an unique key, to a given dictionary.
Add to Dictionary | |
---|---|
Name | AddToDictionary |
Purpose | Add an item to a dictionary |
Category | UBIK Collection |
Returns | True if successfull |
Version | 2.1+ |
Arguments
Argument | Type | Direction | Purpose |
---|---|---|---|
Dictionary | IDictionary<String,Object> | In | The dictionary containing the items |
Key | String | In | The item's key |
Result | Boolean | Out | True if item has been added |
Update | Boolean | In | If true, an existing item is updated; if false, a new item is added |
Value | Object | In | If true, an existing item is updated; if false, a new item is added |
Usage
This activity adds an item, using its unique key, to the given dictionary.