Redis - (string) - set value

Description - Set key to hold the string value. If key already holds a value, it is overwritten, regardless of its type. Any previous time to live associated with the key is discarded on successful SET operation.

Runtime Class - com.ibi.agents.XDRedisStringSet



Parameter Groups

 ParameterTypeDescription
*Key:stringKey used to store the string
Value:stringThe value to store
Policy:stringPolicy which controls the set operation.

Select from one of the following options:
  • Set value when Key not Found {NX} - Only set the key if it does not already exist.
  • Set value when Key Found {XX} - Only set the key if it already exist.
* - denotes required
 ParameterTypeDescription
Time (secs):integerSets the specified expiration time, in seconds.
Time (msecs):integerSets the specified expiration time, in milliseconds.
* - denotes required
 ParameterTypeDescription
Return:stringDocument to return from the object.

Select from one of the following options:
  • Status Document {status} - Status document will be the out document.
  • Input Document {input} - Input document will be the out document.
* - denotes required

Output Events

NameDescription
onFailConnectCould not connect to the external system.
fail_parseCould not parse a document.
fail_redisA fail Redis API
onFailOperationCould not perform the operation requested.