Skip to content

Workflow action elements — part 4

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

Class: WorkflowActionRedirect Redirect the current view to another. If the same route is selected, just the view will reload, not the entire page. Fill: Fill in the Values passed. Module: The Module. Action: Determine the exact route eg. module.create.

Input ports: default (any; Input), resource (resource; Resource).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
fillboolfalsenot declaredWhether to fill the target resource (if there is any) with the input.
modulemodulenullnot declaredThe module to redirect to.
actionselectnullnot declaredAction Values: module, module.create, module.edit, module.show.
urltextnullnot declaredAbsolute URL
swapboolfalsenot declaredSwap
targettextnullnot declaredThe target attribute specifies where to open the linked document
httpboolnullnot declaredSend a HTTP 301 instead of a workflow response.
queryParamsrecipes[]not declaredGet URL Parameter

Refreshes the current Router View

Input ports: default (any; Input).

Output ports: default (any; Output).

Options: none.

Remove Roles from a user.

Input ports: default (any; Input).

Output ports: default (any; Output).

Options: none.

Uses the ExportService (DocxTemplater) to fill variables in a docx file.

Input ports: default (any; Default), file (resource; File).

Output ports: default (resource; default).

OptionTypeDefaultRequiredDescription
variablesrecipes[]not declaredVariables
filenametextexport.pdfnot declaredFilename
pathtext/not declaredPath
store_moduletextfilesnot declaredFile module identifier

Creates a password-reset token and emits it on the token output. This element does not send a reset email.

Input ports: default (resource; Input).

Output ports: token (any; token), exception (any; exception).

OptionTypeDefaultRequiredDescription
expires_after_minutesnumbernullnot declaredExpires after (minutes)

Sends a response to the client.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
statusnumber200not declaredStatus Code

No help text declared in the source catalog.

Input ports: default (any; Input).

Output ports: default (any; Output).

Options: none.

Rsync files to a remote server.

Input ports: default (any; Input).

Output ports: default (any; Output), success (any; success), error (any; error).

OptionTypeDefaultRequiredDescription
deployUsertextnullnot declaredDeploy User
deployHosttextnullnot declaredDeploy Host
deployPathtextnullnot declaredDeploy Path
deployPortnumbernullnot declaredDeploy Port
localPathtextnullnot declaredLocal Path
deleteLocalFilesboolfalsenot declaredDelete local files

Runs a given workflow. Be sure to specify the correct ‘entry’ element for the workflow you want to run. Options: New scope will create a new scope containing only variables defined in Input . If New scope is set to false the executed workflow will have the same scope. This means the executed Workflow can access all variables. The new scope can be passed variables defined in Input by setting the identifier and value.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
workflowworkflownullnot declaredWorkflow
asyncradionullnot declaredAsync Values: {"name":"(Set by workflow)","value":null}, false, true.
queuetextnullnot declaredQueue
scopeboolfalsenot declaredNew Scope
inputrecipes[]not declaredInput

No help text declared in the source catalog.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
objectivetextnullnot declaredObjective passed to the agent represented by the input owner entity.

Saves the Entities from the in port

Input ports: default (resource; Input).

Output ports: default (resource; Output).

OptionTypeDefaultRequiredDescription
triggerEventsboolfalsenot declaredTrigger “create” and “update” workflow events.
skip_recipesboolfalsenot declaredSkip the calculation of recipes and save the entity raw.
continueIfInvalidboolfalsenot declaredDefines if the workflow will be aborted or continued when a validation fails.
logCommenttextnullnot declaredComment to be logged in the entity log table for normal entity saves.

Sends instructions to the client to set certain data.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
copyrecipes[]not declaredCopy values from this entity.
recipesrecipes[]not declaredRecipes to calculate values.
propertiesrecipes[]not declaredSet field properties, e.g. options
addrecipes[]not declaredAdd new keys to the entity instance.

Set the roles for a user. Will ADD any roles that are not already assigned to the user. The roles can be specified by name or slug (define what you use via the option `slugs`).

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
rolestextnullnot declaredThe role(s) to set for the user. This will ADD any roles that are not already assigned to the user.
slugsboolfalsenot declaredUse Slugs

Generates a URL that can be used to access the input entity without authentication.

Input ports: default (any; Input).

Output ports: default (any; Output).

Options: none.

Sleeps.

Input ports: default (any; Input).

Output ports: default (any; Output).

OptionTypeDefaultRequiredDescription
millirecipesnullyes (requireOption)Milliseconds