increment

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

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.

increment v11.0.0 Updated v13.0.6

Increments the number stored at key by one. If the key does not exist, it is set to 0 before performing the operation.

In pins 1 + flow
  • flow
    flow
  • number required
    number

    Number to increment given cache key with.

Out pins 3 + flow
  • flow
    flow
  • number
    number

    New number.

  • error
    value
  • key v13.0.6
    value

    current redis key, this outpin be handy when using dynamic redis keys

redis incr
incr

A typical wiring for increment: number feeds the number pin; remote ip feeds the key pin; the output out pin feeds <=; the flow out pin feeds set cache ttl.

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

Commonly used with

In production blueprints, this block is most often wired together with:

  • set cache ttl: wired in both directions with this block. set the time to live in seconds.
  • number: feeds into this block. Generates a valid number from the filled custom value in the blueprint.
  • <=: this block feeds into it. returns true if the number is lower or equal.
  • remote ip: feeds into this block. Returns the currently connected user IP.
  • create: feeds into this block. Creates a new function that can be executed using the given name.
  • branch: this block feeds into it.

Version history

Introduced in v11.0.0.

Last modified in v13.0.6.


Back to redis Return to the main group to view all sub-groups Back to redis Return to the group to view all blocks within this group