Blocks Deprecated
Deprecated: use the web blocks for new pages This block belongs to state pages and UI components. Existing pages keep running, but new pages should use the web blocks. See Web Pages and the migration guide.

decrement server state

This block is part of the state ui group and was last modified in core v10.4.28.

decrement server state v10.4.28

Sends a state update to the frontend and triggers updates based of it.

In pins 3 + flow
  • flow
  • state key value required

    State key to update

  • number number required

    Number to decrement with

  • skip trigger condition

    if true given, it will not send this update back to the backend.

Out pins 0 + flow
  • flow

A typical wiring for decrement server state: a function trigger starts the flow; value feeds the key pin; number feeds the number pin; the flow out pin feeds debug.

Studio canvas example for the decrement server state block: typical wiring for decrement server state.

Version history

Introduced in v10.4.28.


Back to state ui Return to the main group to view all sub-groups Back to state actions Return to the group to view all blocks within this group