Skip to content

Workflow cast elements

Generated from brezel/api@ddd04f543e0fecc433a351dcaab24d39087b24be — do not edit by hand.

This element is used to send an entity modified event to the frontend.

Input ports: default (any; Input).

Output ports: default (any; Output).

Options: none.

Use this element to send layout events to the frontend via the websocket connection. You can e.g. update a resource table with this without reloading the page.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
identifiertextnullnot declaredIdentifier
selectorsrecipes[]not declaredSelectors
commandselectnullyes (requireOption)Command Values: refresh.
payloadrecipesnullnot declaredPayload

This element is used to send progress notifications to the frontend. The notification can be updated later when the same process name is used again.

Input ports: default (any; Input).

Output ports: default (any; Output), action (any; Action).

OptionTypeDefaultRequiredDescription
recipientstextnullnot declaredList of role slugs or users
send_to_userbooltruenot declaredSend to current user
processtextnullnot declaredProcess name
progresstextnullnot declaredLeave empty to simply increment it
totaltextnullnot declaredTotal
titletextnullnot declaredTitle
messagetextnullnot declaredMessage
statusMessagetextnullnot declaredStatus message
entityrecipesnullnot declaredEntity
grouptextnullnot declaredGroup notifications together by this value
errorrecipesnullnot declaredError ({code, message}) to send
actionstextnullnot declaredList of actions
web_pushboolfalsenot declaredAlso notify via Web push
syncboolnullnot declaredSend event immediately (may slow down the workflow)

Use this element to send a custom event to the frontend via the websocket connection.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
recipientstextnullnot declaredList of role slugs or users
nametextnullnot declaredName
payloadrecipesnullnot declaredPayload
channelsselectnullnot declaredChannels the event is broadcast on. The recipients’ workflow channels are always active. Values: entity, user, layout.

Use this element to set values in the frontend via the websocket connection. This can be used multiple times in a workflow instead of just once with response/set.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
valuesrecipes[]not declaredValues
propertiesrecipes[]not declaredProperties