Integration Server 10.5 | Built-In Services Reference Guide | Storage Folder | Summary of Elements in this Folder | pub.storage:add
 
pub.storage:add
WmPublic. Inserts a new entry into a data store.
If the key already exists in the data store, the pub.storage:add service does nothing.
Input Parameters
storeName
String Name of the data store in which to insert the entry.
key
String Key under which the entry is to be inserted.
value
Document Value (IData object) to be inserted.
Output Parameters
result
String Flag indicating whether the entry was successfully added. A value of:
*true indicates that the new entry was inserted successfully.
*false indicates that the entry was not inserted (usually because an entry for key already exists).
error
String Error message generated while inserting the new entry into the data store.