RPOP / RPUSH

RPOP

rhub add:action <group.eventId> <filterId> REDIS RPOP

Removes and returns the last element of the list stored at key. Source: Redis.

YAML

-
id: my-action-id
async: false
type: REDIS
action: RPOP
operation: null
serviceAccountId: my-redis-account-id
template:
key: the-redis-key-to-set

Property

Description

key

The key name, to create dynamic keys use wildcards.

RPUSH

rhub add:action <eventId> <filterId> REDIS RPUSH

Insert all the specified values at the tail of the list stored at key. If key does not exist, it is created as empty list before performing the push operation. When key holds a value that is not a list, an error is returned Source: Redis.

YAML

-
id: my-action-id
async: false
type: REDIS
action: RPUSH
operation: null
serviceAccountId: my-redis-account-id
template:
key: the-redis-key-to-set

Property

Description

key

The key name, to create dynamic keys use wildcards.

stringify

If true the value property will be stringified.

value

The key value. You can set plain text or JSON objects that will be stringified.

Contents
RPOP
RPUSH