Workflow action elements — part 2
Generated from brezel/api@ddd04f543e0fecc433a351dcaab24d39087b24be — do not edit by hand.
action/export
Section titled “action/export”Renders a view (option view or the in-port) to a file such as PDF. Page structure comes from the Twig blocks header, content, footer and setup of that view; the options content, header, footer and page_setup are not read.
Input ports: default (any; Input), view (resource; View).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
type | select | pdf | not declared | Type Values: pdf, html, csv, tsv, txt, xlsx, xls, xlsx_from_csv, datev. |
filename | text | “ | not declared | File Name |
use_clear_name | bool | false | not declared | If true, uses the provided Filename as the actual name for the file on disk. Make sure you de-duplicate, or you will cause data loss due to overwriting! |
path | recipes | null | not declared | Virtual path to store the file at |
store_module | module | files | not declared | Store Module |
view_module | module | views | not declared | View Module |
view | entity | null | not declared | View |
merged | bool | false | not declared | Specify whether entities are exported into one merged file or exported separately. |
header | entity | null | not declared | Pdf Header |
content | entity | null | not declared | Pdf Content |
footer | entity | null | not declared | Pdf Footer |
view_data | recipes | [] | not declared | Will be available in view |
export | recipes | [] | not declared | Export |
page_setup | text | “ | not declared | Page Setup (Not Supported By Bakery) |
action/extractArchiveEntries
Section titled “action/extractArchiveEntries”No help text declared in the source catalog.
Input ports: default (any; Archive).
Output ports: each (any; Each), count (any; Count), next (any; Next).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
match | text | null | not declared | Match |
match_mode | select | glob | not declared | Match Mode Values: glob, contains, regex. |
mode | select | first | not declared | Mode Values: first, all. |
store_files | bool | false | not declared | Store Files |
output_path | recipes | null | not declared | Output Path |
preserve_paths | bool | true | not declared | Preserve Paths |
action/flushSession
Section titled “action/flushSession”Flush the current session.
Input ports: default (any; Input).
Output ports: default (any; Output).
Options: none.
action/generateApiKey
Section titled “action/generateApiKey”Generates an API key for a user.
Input ports: default (any; Input).
Output ports: default (any; Output), key (string; Key).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
user | entity | null | not declared | User |
title | text | null | not declared | Title |
action/import
Section titled “action/import”Import entities from a file.
Input ports: error (any; error), default (any; Input).
Output ports: row (any; row), default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
type | select | null | not declared | Will be autodetected when empty. Values: xls, xlsx, csv. |
delimiter | text | null | not declared | Data Separator |
lineSeparator | text | null | not declared | Line Separator |
hasHeaderRow | bool | null | not declared | Has Header Row |
offset | number | null | not declared | Top Offset |
encoding | text | null | not declared | File encoding |
action/log
Section titled “action/log”Logs every time it is called. Be careful with this action, as it can generate a lot of log entries when forgotten!
Input ports: default (any; Input).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
active | bool | true | not declared | Active |
action/mail
Section titled “action/mail”Sends a mail.
Input ports: default (any; Input).
Output ports: default (any; Output), mailSuccessful (any; mailSuccessful), mailFailed (string; mailFailed).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
to | text | null | not declared | Where to send the email to. |
cc | text | null | not declared | Who should receive a copy of the email. |
bcc | text | null | not declared | Who should receive a blind copy of the email. |
from | text | null | not declared | Displayed sender of the email. |
subject | text | null | not declared | Subject of the email. |
attachments | text | null | not declared | Workflow variable pointing to attachment(s). |
headers | recipes | [] | not declared | Additional headers to add to the message. |
mailer_data | recipes | [] | not declared | Data for mail transport (e.g. smtp host etc.), uses client data if empty |
view | entity | null | not declared | View |
view_data | recipes | [] | not declared | Data |
send_directly | bool | null | not declared | If the mail should be sent directly without smtp, use this option. |
debug_to | text | null | not declared | If the mailer data contains this debug key, the mail will be instead sent to the email address specified in “Debug to”. |
debug_key | text | null | not declared | The mail address will be used as debug address if the mailer data contains the debug key. |
action/makeDir
Section titled “action/makeDir”Make a virtual directory in a storage module.
Input ports: default (any; Input).
Output ports: default (any; Output).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
path | recipes | null | yes (requireOption) | Path |
module | module | null | not declared | Module |
client | client | null | not declared | client |
action/modal
Section titled “action/modal”Open a Modal in the frontend. Either based on a layout or on raw fields. Can be prefilled with input data.
Input ports: default (any; Input).
Output ports: default (any; Output), confirm (unspecified; confirm), selected (unspecified; selected), cancel (unspecified; cancel).
| Option | Type | Default | Required | Description |
|---|---|---|---|---|
title | text | null | not declared | Title |
type | select | confirm | not declared | Type Values: confirm, info, success, warning, error. |
layout | layout | null | not declared | Layout |
fields | fields | null | not declared | Fields |
checkpoint | bool | true | not declared | Checkpoint |
hard | bool | false | not declared | Hard |
autosave_key | text | null | not declared | Autosave key |