Skip to content
Snippets Groups Projects
Commit c846e930 authored by jurgenhaas's avatar jurgenhaas
Browse files

Merge branch 'develop' into 'main'

Merging develop into main

See merge request !118
parents 1e489f67 5d2ebda5
No related branches found
No related tags found
2 merge requests!121Home page and concepts overview page,!118Merging develop into main
Pipeline #1407028 passed
Showing
with 496 additions and 105 deletions
---
title: ECA Library - Switch Case Default
version: v1
version: v2
tags:
- bpmn
- library
......@@ -12,7 +12,7 @@ tags:
---
# Switch Case Default
Version v1
Version v2
<script>url='bpmn_io-eca_lib_0004.xml';archive='bpmn_io-eca_lib_0004.tar.gz'</script>
{!include/library/viewer.html!}
......@@ -50,11 +50,14 @@ switch ($field_select) {
}
```
Important note: after the action &quot;Set default Status to 2&quot;, ECA first checks the conditions of ALL successors; only then does it execute the actions that follow for those conditions that return TRUE. That&#039;s why the &quot;no condition&quot; link has no condition, as we want to execute that path in any case, but not before the top two paths had a chance to change the status. Therefore the condition, if the status is still 2, happens with a delay, i.e. really after everything else has been completed.
## Dependencies
- config
- node.type.article
- module
- eca_base
- eca_content
## Used plugins
......@@ -66,15 +69,21 @@ switch ($field_select) {
### Conditions
- [Entity: compare field value](/plugins/eca/content/conditions/eca_entity_field_value.md)
- [Compare two scalar values](/plugins/eca/base/conditions/eca_scalar.md)
### Actions
- [Set Status to 3](/plugins/eca/content/actions/eca_set_field_value.md)
- [Set Status to 4](/plugins/eca/content/actions/eca_set_field_value.md)
- [Set default Status](/plugins/eca/content/actions/eca_set_field_value.md)
- [Set default Status to 2](/plugins/eca/content/actions/eca_set_field_value.md)
- [Message containing status value](/plugins/core/actions/action_message_action.md)
## Changelog
`v1`
: Initial version
`v2`
: Add the &quot;no condition&quot; for the default value
No preview for this file type
......@@ -26,13 +26,13 @@ standard.
|-------------------------------------------------------------------------------------------------------------------------|---------|
| [@bpmn-io/a11y](https://github.com/bpmn-io/a11y/blob/main/CHANGELOG.md) | 0.1.0 |
| [@bpmn-io/element-template-chooser](https://github.com/bpmn-io/element-template-chooser/blob/master/CHANGELOG.md) | 1.0.0 |
| [@bpmn-io/element-templates-validator](https://github.com/bpmn-io/element-templates-validator/blob/master/CHANGELOG.md) | 2.3.0 |
| [@bpmn-io/properties-panel](https://github.com/bpmn-io/properties-panel/blob/master/CHANGELOG.md) | 3.25.1 |
| [@bpmn-io/element-templates-validator](https://github.com/bpmn-io/element-templates-validator/blob/master/CHANGELOG.md) | 2.3.2 |
| [@bpmn-io/properties-panel](https://github.com/bpmn-io/properties-panel/blob/master/CHANGELOG.md) | 3.26.0 |
| [@camunda/element-templates-json-schema](https://github.com/camunda/element-templates-json-schema) | 0.12.1 |
| [bpmn-auto-layout](https://github.com/bpmn-io/bpmn-auto-layout/blob/main/CHANGELOG.md) | 1.0.0 |
| [bpmn-js](https://github.com/bpmn-io/bpmn-js/blob/master/CHANGELOG.md) | 18.1.2 |
| [bpmn-js-element-templates](https://github.com/bpmn-io/bpmn-js-element-templates/blob/master/CHANGELOG.md) | 2.5.0 |
| [bpmn-js-properties-panel](https://github.com/bpmn-io/bpmn-js-properties-panel/blob/master/CHANGELOG.md) | 5.30.1 |
| [bpmn-js](https://github.com/bpmn-io/bpmn-js/blob/master/CHANGELOG.md) | 18.2.0 |
| [bpmn-js-element-templates](https://github.com/bpmn-io/bpmn-js-element-templates/blob/master/CHANGELOG.md) | 2.5.1 |
| [bpmn-js-properties-panel](https://github.com/bpmn-io/bpmn-js-properties-panel/blob/master/CHANGELOG.md) | 5.31.1 |
| [bpmn-moddle](https://github.com/bpmn-io/bpmn-moddle/blob/master/CHANGELOG.md) | 9.0.1 |
| [camunda-bpmn-moddle](https://github.com/camunda/camunda-bpmn-moddle/blob/master/CHANGELOG.md) | 7.0.1 |
| [diagram-js](https://github.com/bpmn-io/diagram-js/blob/master/CHANGELOG.md) | 15.2.4 |
......
---
title: "List: compare items"
tags:
- action
- eca_base
- eca action unknown
---
# List: compare items
Available since: unknown
Compares the items in two simple lists (contained in tokens), returning the array of results.
{!include/plugins/eca_base/action/eca_list_compare.md!}
## Fields
`Token containing the secondary list`
: Provide the name of the token that contains the secondary list in the comparison. Please provide the token name only, without brackets.
{!include/plugins/eca_base/action/eca_list_compare/secondary_list_token.md!}
`Array Function`
: Returns an array of items found by the <a href="https://www.php.net/manual/en/ref.array.php">Array Function</a> selected.
{!include/plugins/eca_base/action/eca_list_compare/method.md!}
`Name of result token`
: Provide the name of a new token where the resulting array should be stored. Please provide the token name only, without brackets.
{!include/plugins/eca_base/action/eca_list_compare/result_token_name.md!}
`Token containing the primary list`
: Provide the name of the token that contains the primary list in the comparison. Please provide the token name only, without brackets.
{!include/plugins/eca_base/action/eca_list_compare/list_token.md!}
---
title: "Order Item: Add Price Adjustment"
tags:
- action
- eca_commerce
- eca_commerce action 1.0.0
---
# Order Item: Add Price Adjustment
Available since: 1.0.0
{!include/plugins/eca_commerce/action/eca_commerce_add_adjustment.md!}
## Fields
`Method`
: The method to set an entity, like cleaning the old one, etc..
{!include/plugins/eca_commerce/action/eca_commerce_add_adjustment/method.md!}
`Type`
:
{!include/plugins/eca_commerce/action/eca_commerce_add_adjustment/type.md!}
`Locked`
: Note: Adjustments added from UI interactions need to be locked to persist after an order refresh.
{!include/plugins/eca_commerce/action/eca_commerce_add_adjustment/locked.md!}
`Label`
: <br/>This field supports tokens.
{!include/plugins/eca_commerce/action/eca_commerce_add_adjustment/label.md!}
`Amount`
: <br/>This field supports tokens.
{!include/plugins/eca_commerce/action/eca_commerce_add_adjustment/amount.md!}
`Currency`
: <br/>When using the "Defined by token" option, make sure there is a token with this name: <em>eca_commerce_add_adjustment_currency</em>
{!include/plugins/eca_commerce/action/eca_commerce_add_adjustment/currency.md!}
`Percentage`
: <br/>This field supports tokens.
{!include/plugins/eca_commerce/action/eca_commerce_add_adjustment/percentage.md!}
`Included in the base price`
:
{!include/plugins/eca_commerce/action/eca_commerce_add_adjustment/included.md!}
`Save entity`
: Saves the entity or not after setting the value.
{!include/plugins/eca_commerce/action/eca_commerce_add_adjustment/save_entity.md!}
......@@ -17,7 +17,7 @@ Available since: 1.0.0
| ----- | ----------- |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
{!include/plugins/eca_commerce/event/eca_commerce_filter_conditions.md!}
......@@ -17,7 +17,7 @@ Available since: 1.0.0
| ----- | ----------- |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
{!include/plugins/eca_commerce/event/eca_commerce_post_mail_send.md!}
......@@ -18,7 +18,7 @@ Available since: 1.0.0
| `[commerce_definition]` | This is the number format definition. |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
{!include/plugins/eca_commerce/event/eca_commerce_price_number_format.md!}
......@@ -17,7 +17,7 @@ Available since: 1.0.0
| ----- | ----------- |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
{!include/plugins/eca_commerce/event/eca_commerce_referenceable_plugin_types.md!}
---
title: "Config installer sync mode"
tags:
- condition
- eca_config
- eca condition 2.1.3
---
# Config installer sync mode
Available since: 2.1.3
Determine if config installer is in sync mode.
{!include/plugins/eca_config/condition/eca_config_installer_sync_mode.md!}
## Fields
`Negate the condition`
: Negates the condition. Makes TRUE to FALSE and vice versa.
{!include/plugins/eca_config/condition/eca_config_installer_sync_mode/negate.md!}
......@@ -16,6 +16,9 @@ An entity bundle object is being created (instantiated) on runtime, without bein
| Token | Description |
| ----- | ----------- |
| `[event]` | The event. |
| `[event:entity_type_id]` | The entity type. |
| `[event:bundle]` | The bundle machine name. |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
......
......@@ -16,6 +16,9 @@ Available since: 1.0.0
| Token | Description |
| ----- | ----------- |
| `[event]` | The event. |
| `[event:entity_type_id]` | The entity type. |
| `[event:bundle]` | The bundle machine name. |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
......
......@@ -16,6 +16,8 @@ Available since: 2.0.0
| Token | Description |
| ----- | ----------- |
| `[event]` | The event. |
| `[event:view_mode]` | The view mode machine name. |
| `[event]` | The event. |
| `[event:machine_name]` | The machine name of the ECA event. |
| `[session_user]` | The user account that dispatched the event, regardless if ECA is processing models under a different account. This is only available if ECA is configured to always run under a specific account. |
| `[entity]` | The entity of the event. |
......
---
title: "ECA Helper: Set cookie"
tags:
- action
- eca_helper
- eca_helper action unknown
---
# ECA Helper: Set cookie
Available since: unknown
Action cookie value for response.
{!include/plugins/eca_helper/action/eca_helper_cookie_set.md!}
## Fields
`Cookie name`
: The cookie name
{!include/plugins/eca_helper/action/eca_helper_cookie_set/name.md!}
`Cookie value`
: The cookie value.
{!include/plugins/eca_helper/action/eca_helper_cookie_set/value.md!}
`Expiration time`
: The cookie expiration time. Value can timespan or date string. Use 0 for never expired.
{!include/plugins/eca_helper/action/eca_helper_cookie_set/expire.md!}
`Cookie path`
: The cookie path.
{!include/plugins/eca_helper/action/eca_helper_cookie_set/path.md!}
---
title: "ECA Helper: Form add css class"
tags:
- action
- eca_helper
- eca_helper action unknown
---
# ECA Helper: Form add css class
Available since: unknown
Add form css class.
{!include/plugins/eca_helper/action/eca_helper_form_add_class.md!}
## Fields
`Value`
: The element value.<br/>This field supports tokens.
{!include/plugins/eca_helper/action/eca_helper_form_add_class/value.md!}
---
title: "ECA Helper: Form attach library"
tags:
- action
- eca_helper
- eca_helper action unknown
---
# ECA Helper: Form attach library
Available since: unknown
Attach library with to a form.
{!include/plugins/eca_helper/action/eca_helper_form_attach_library.md!}
## Fields
`Value`
: The element value.<br/>This field supports tokens.
{!include/plugins/eca_helper/action/eca_helper_form_attach_library/value.md!}
......@@ -15,6 +15,12 @@ Set form field value.
## Fields
`Field name`
: The input name of the form field. This is mostly found in the "name" attribute of an &lt;input&gt; form element. <em>For submit buttons within content forms:</em> Use "submit" for the labeled "Save" button, and "preview" for the labeled "Preview" button. Use <em>!!form</em> for the current form instead of form element.<br/>This field supports tokens.
{!include/plugins/eca_helper/action/eca_helper_form_field_set_value/field_name.md!}
`Element key`
: The element key to set value for the form element. Example #title, #attributes.class<br/>This field supports tokens.
......@@ -23,7 +29,7 @@ Set form field value.
`Value`
: The default value to prepopulate.<br/>This field supports tokens.
: The element value.<br/>This field supports tokens.
{!include/plugins/eca_helper/action/eca_helper_form_field_set_value/value.md!}
......@@ -44,9 +50,3 @@ Set form field value.
: The method to set value when use Set array value.
{!include/plugins/eca_helper/action/eca_helper_form_field_set_value/method.md!}
`Field name`
: The input name of the form field. This is mostly found in the "name" attribute of an &lt;input&gt; form element. <em>For submit buttons within content forms:</em> Use "submit" for the labeled "Save" button, and "preview" for the labeled "Preview" button. Use <em>!!form</em> for the current form instead of form element.<br/>This field supports tokens.
{!include/plugins/eca_helper/action/eca_helper_form_field_set_value/field_name.md!}
---
title: "ECA Helper: Header footer tag and script"
tags:
- action
- eca_helper
- eca_helper action unknown
---
# ECA Helper: Header footer tag and script
Available since: unknown
Add header footer tag, script and style.
{!include/plugins/eca_helper/action/eca_helper_header_footer_tag.md!}
## Fields
`Position`
: Choose position insert tag.
{!include/plugins/eca_helper/action/eca_helper_header_footer_tag/position.md!}
`Tag type`
: Select tag type.
{!include/plugins/eca_helper/action/eca_helper_header_footer_tag/type.md!}
`Tag content`
: Input tag content.
{!include/plugins/eca_helper/action/eca_helper_header_footer_tag/content.md!}
---
title: "ECA Helper: Remove headers"
tags:
- action
- eca_helper
- eca_helper action unknown
---
# ECA Helper: Remove headers
Available since: unknown
Action remove headers value for response.
{!include/plugins/eca_helper/action/eca_helper_header_remove.md!}
## Fields
`Headers`
: The headers to set. If you can also use YAML syntax by enabling it below.<br/>This field supports tokens.
{!include/plugins/eca_helper/action/eca_helper_header_remove/headers.md!}
`Interpret above value as YAML format`
: Nested data can be set using YAML format, for example <em>Content-Type: "text/html; charset=UTF-8"</em>. When using this format, this option needs to be enabled. When using tokens and YAML altogether, make sure that tokens are wrapped as a string. Example: <em>Content-Type: "[content_type]"</em>
{!include/plugins/eca_helper/action/eca_helper_header_remove/use_yaml.md!}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment