Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(element-templates): add allowed types #4904

Merged
merged 2 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ The value of `feel: static` is only valid for `Boolean` and `Number` fields. Sim
]
```

For binding types `zeebe:input` and `zeebe:output`, `feel: static` is the value used in case of missing `feel` property.

### Bindings

The following ways exist to map a custom field to the underlying BPMN 2.0 XML. The **mapping result** in the following section uses `[userInput]` to indicate where the input provided by the user in the `Properties Panel` is set in the BPMN XML. As default or if no user input was given, the value specified in `value` is displayed and used for `[userInput]`. `[]` brackets are used to indicate where the parameters are mapped to in the XML.
Expand All @@ -358,21 +360,21 @@ Configures a generic BPMN element property.

#### `zeebe:input`

| **Binding `type`** | `zeebe:input` |
| --------------------------- | ----------------------------------------------------- |
| **Valid property `type`'s** | `String`<br /> `Text`<br />`Hidden`<br />`Dropdown` |
| **Binding parameters** | `name`: The name of the input parameter |
| **Mapping result** | `<zeebe:input target="[name]" source="[userInput] />` |
| **Binding `type`** | `zeebe:input` |
| --------------------------- | -------------------------------------------------------------------------------- |
| **Valid property `type`'s** | `String`<br /> `Text`<br />`Hidden`<br />`Dropdown`<br />`Boolean`<br />`Number` |
| **Binding parameters** | `name`: The name of the input parameter |
| **Mapping result** | `<zeebe:input target="[name]" source="[userInput] />` |

Configures an [input mapping](../../../../concepts/variables/#input-mappings).

#### `zeebe:output`

| **Binding `type`** | `zeebe:output` |
| --------------------------- | -------------------------------------------------------- |
| **Valid property `type`'s** | `String`<br /> `Text`<br />`Hidden`<br />`Dropdown` |
| **Binding parameters** | `source`: The source of the output parameter |
| **Mapping result** | `<zeebe:output target="[userInput]" source="[source] />` |
| **Binding `type`** | `zeebe:output` |
| --------------------------- | -------------------------------------------------------------------------- |
| **Valid property `type`'s** | `String`<br /> `Text`<br />`Hidden`<br />`Dropdown``Boolean`<br />`Number` |
| **Binding parameters** | `source`: The source of the output parameter |
| **Mapping result** | `<zeebe:output target="[userInput]" source="[source] />` |

Configures an [output mapping](../../../../concepts/variables/#output-mappings).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ The value of `feel: static` is only valid for `Boolean` and `Number` fields. Sim
]
```

For binding types `zeebe:input` and `zeebe:output`, `feel: static` is the value used in case of missing `feel` property.

### Bindings

The following ways exist to map a custom field to the underlying BPMN 2.0 XML. The **mapping result** in the following section uses `[userInput]` to indicate where the input provided by the user in the `Properties Panel` is set in the BPMN XML. As default or if no user input was given, the value specified in `value` is displayed and used for `[userInput]`. `[]` brackets are used to indicate where the parameters are mapped to in the XML.
Expand All @@ -358,21 +360,21 @@ Configures a generic BPMN element property.

#### `zeebe:input`

| **Binding `type`** | `zeebe:input` |
| --------------------------- | ----------------------------------------------------- |
| **Valid property `type`'s** | `String`<br /> `Text`<br />`Hidden`<br />`Dropdown` |
| **Binding parameters** | `name`: The name of the input parameter |
| **Mapping result** | `<zeebe:input target="[name]" source="[userInput] />` |
| **Binding `type`** | `zeebe:input` |
| --------------------------- | -------------------------------------------------------------------------------- |
| **Valid property `type`'s** | `String`<br /> `Text`<br />`Hidden`<br />`Dropdown`<br />`Boolean`<br />`Number` |
| **Binding parameters** | `name`: The name of the input parameter |
| **Mapping result** | `<zeebe:input target="[name]" source="[userInput] />` |

Configures an [input mapping](../../../../concepts/variables/#input-mappings).

#### `zeebe:output`

| **Binding `type`** | `zeebe:output` |
| --------------------------- | -------------------------------------------------------- |
| **Valid property `type`'s** | `String`<br /> `Text`<br />`Hidden`<br />`Dropdown` |
| **Binding parameters** | `source`: The source of the output parameter |
| **Mapping result** | `<zeebe:output target="[userInput]" source="[source] />` |
| **Binding `type`** | `zeebe:output` |
| --------------------------- | -------------------------------------------------------------------------------- |
| **Valid property `type`'s** | `String`<br /> `Text`<br />`Hidden`<br />`Dropdown`<br />`Boolean`<br />`Number` |
| **Binding parameters** | `source`: The source of the output parameter |
| **Mapping result** | `<zeebe:output target="[userInput]" source="[source] />` |

Configures an [output mapping](../../../../concepts/variables/#output-mappings).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ The value of `feel: static` is only valid for `Boolean` and `Number` fields. Sim
]
```

For binding types `zeebe:input` and `zeebe:output`, `feel: static` is the value used in case of missing `feel` property.

### Bindings

The following ways exist to map a custom field to the underlying BPMN 2.0 XML. The **mapping result** in the following section uses `[userInput]` to indicate where the input provided by the user in the `Properties Panel` is set in the BPMN XML. As default or if no user input was given, the value specified in `value` is displayed and used for `[userInput]`. `[]` brackets are used to indicate where the parameters are mapped to in the XML.
Expand All @@ -358,21 +360,21 @@ Configures a generic BPMN element property.

#### `zeebe:input`

| **Binding `type`** | `zeebe:input` |
| --------------------------- | ----------------------------------------------------- |
| **Valid property `type`'s** | `String`<br /> `Text`<br />`Hidden`<br />`Dropdown` |
| **Binding parameters** | `name`: The name of the input parameter |
| **Mapping result** | `<zeebe:input target="[name]" source="[userInput] />` |
| **Binding `type`** | `zeebe:input` |
| --------------------------- | -------------------------------------------------------------------------------- |
| **Valid property `type`'s** | `String`<br /> `Text`<br />`Hidden`<br />`Dropdown`<br />`Boolean`<br />`Number` |
| **Binding parameters** | `name`: The name of the input parameter |
| **Mapping result** | `<zeebe:input target="[name]" source="[userInput] />` |

Configures an [input mapping](../../../../concepts/variables/#input-mappings).

#### `zeebe:output`

| **Binding `type`** | `zeebe:output` |
| --------------------------- | -------------------------------------------------------- |
| **Valid property `type`'s** | `String`<br /> `Text`<br />`Hidden`<br />`Dropdown` |
| **Binding parameters** | `source`: The source of the output parameter |
| **Mapping result** | `<zeebe:output target="[userInput]" source="[source] />` |
| **Binding `type`** | `zeebe:output` |
| --------------------------- | -------------------------------------------------------------------------------- |
| **Valid property `type`'s** | `String`<br /> `Text`<br />`Hidden`<br />`Dropdown`<br />`Boolean`<br />`Number` |
| **Binding parameters** | `source`: The source of the output parameter |
| **Mapping result** | `<zeebe:output target="[userInput]" source="[source] />` |

Configures an [output mapping](../../../../concepts/variables/#output-mappings).

Expand Down
Loading