randmember

This block is part of the redis group and was last modified in core v13.0.7.

Redis Key Selection Required

This block relies on a Redis key to perform its redis releated actions. You must manually select the Redis key you want to use in the flow in the blueprint using the Redis key selector modal. To access the modal, click the white button on the block.

randmember v13.0.7

Get one random member from a set

In pins 0 + flow
  • flow
    flow
Out pins 4 + flow
  • flow
    flow
  • member
    value
  • success
    condition
  • error
    value
  • key v13.0.7
    value
redis srandmember
srandmember

A typical wiring for randmember: a function trigger starts the flow; value feeds the set pin; the flow out pin feeds debug.

Studio canvas example for the randmember block: typical wiring for randmember.

Version history

Introduced in v13.0.7.

Service documentation

External API reference This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.
Back to redis Return to the main group to view all sub-groups Back to redis sets Return to the group to view all blocks within this group