Workflow action elements — part 4
Generated from brezel/api@ddd04f543e0fecc433a351dcaab24d39087b24be — do not edit by hand.
action/redirect
Section titled “action/redirect”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).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
fill | bool | false | not declared | Whether to fill the target resource (if there is any) with the input. |
module | module | null | not declared | The module to redirect to. |
action | select | null | not declared | Action Values: module, module.create, module.edit, module.show. |
url | text | null | not declared | Absolute URL |
swap | bool | false | not declared | Swap |
target | text | null | not declared | The target attribute specifies where to open the linked document |
http | bool | null | not declared | Send a HTTP 301 instead of a workflow response. |
queryParams | recipes | [] | not declared | Get URL Parameter |
action/refresh
Section titled “action/refresh”Refreshes the current Router View
Input ports: default (any; Input).
Output ports: default (any; Output).
Options: none.
action/removeRole
Section titled “action/removeRole”Remove Roles from a user.
Input ports: default (any; Input).
Output ports: default (any; Output).
Options: none.
action/renderDocx
Section titled “action/renderDocx”Uses the ExportService (DocxTemplater) to fill variables in a docx file.
Input ports: default (any; Default), file (resource; File).
Output ports: default (resource; default).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
variables | recipes | [] | not declared | Variables |
filename | text | export.pdf | not declared | Filename |
path | text | / | not declared | Path |
store_module | text | files | not declared | File module identifier |
action/resetPassword
Section titled “action/resetPassword”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).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
expires_after_minutes | number | null | not declared | Expires after (minutes) |
action/response
Section titled “action/response”Sends a response to the client.
Input ports: default (any; Input).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
status | number | 200 | not declared | Status Code |
action/retrySignalClassification
Section titled “action/retrySignalClassification”No help text declared in the source catalog.
Input ports: default (any; Input).
Output ports: default (any; Output).
Options: none.
action/rsync
Section titled “action/rsync”Rsync files to a remote server.
Input ports: default (any; Input).
Output ports: default (any; Output), success (any; success), error (any; error).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
deployUser | text | null | not declared | Deploy User |
deployHost | text | null | not declared | Deploy Host |
deployPath | text | null | not declared | Deploy Path |
deployPort | number | null | not declared | Deploy Port |
localPath | text | null | not declared | Local Path |
deleteLocalFiles | bool | false | not declared | Delete local files |
action/run
Section titled “action/run”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).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
workflow | workflow | null | not declared | Workflow |
async | radio | null | not declared | Async Values: {"name":"(Set by workflow)","value":null}, false, true. |
queue | text | null | not declared | Queue |
scope | bool | false | not declared | New Scope |
input | recipes | [] | not declared | Input |
action/runAgent
Section titled “action/runAgent”No help text declared in the source catalog.
Input ports: default (any; Input).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
objective | text | null | not declared | Objective passed to the agent represented by the input owner entity. |
action/save
Section titled “action/save”Saves the Entities from the in port
Input ports: default (resource; Input).
Output ports: default (resource; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
triggerEvents | bool | false | not declared | Trigger “create” and “update” workflow events. |
skip_recipes | bool | false | not declared | Skip the calculation of recipes and save the entity raw. |
continueIfInvalid | bool | false | not declared | Defines if the workflow will be aborted or continued when a validation fails. |
logComment | text | null | not declared | Comment to be logged in the entity log table for normal entity saves. |
action/set
Section titled “action/set”Sends instructions to the client to set certain data.
Input ports: default (any; Input).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
copy | recipes | [] | not declared | Copy values from this entity. |
recipes | recipes | [] | not declared | Recipes to calculate values. |
properties | recipes | [] | not declared | Set field properties, e.g. options |
add | recipes | [] | not declared | Add new keys to the entity instance. |
action/setRole
Section titled “action/setRole”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).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
roles | text | null | not declared | The role(s) to set for the user. This will ADD any roles that are not already assigned to the user. |
slugs | bool | false | not declared | Use Slugs |
action/share
Section titled “action/share”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.
action/sleep
Section titled “action/sleep”Sleeps.
Input ports: default (any; Input).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
milli | recipes | null | yes (requireOption) | Milliseconds |