Details
-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
-
---
-
---
-
2023 Week 15-17 (from Apr 10), 2023 Week 18-20 (from May 1)
Description
Expected Result
Add icons for missing parameters of ForEach state:
- inputCollection
- outputCollection
- iterationParam
- batchSize
- mode
There are some notable conditions for those parameters:
- All parameters but mode should be behind single icons, since all of them are related.
- mode should reuse actionMode bottom icon
- Icon should be always visible since contains required parameters and default values.
- If all parameters are not specified inputCollection and the batchSize parameters should be shown anyway because:
- inputCollection is required parameter and should be visible
- batchSize has infinite default value if mode parameter is in default value
- inputCollection, outputCollection and iterationParam should be truncated by 30 symbols
- if mode is not in default state (sequential) batchSize should not be visible
JSON for tests:
{ "id": "forEachExample", "version": "1.0", "specVersion": "0.8", "name": "ForEach State Example", "description": "ForEach State Example", "start": "ForEach State", "states": [ { "name": "ForEach State", "type": "foreach", "inputCollection": "${ .messages }", "outputCollection": "${ [some value] }", "iterationParam": "singlemessage", "mode": "parallel", "batchSize": 76, "stateDataFilter": {}, "actions": [], "end": true } ] }
SVG of the icon:
<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"> <defs></defs> <path d="M 4.541 0.126 C 4.832 -0.008 5.168 -0.008 5.459 0.126 L 9.728 2.098 C 9.894 2.175 10 2.341 10 2.524 C 10 2.708 9.894 2.874 9.728 2.95 L 5.459 4.923 C 5.168 5.058 4.832 5.058 4.541 4.923 L 0.272 2.95 C 0.106 2.873 0 2.706 0 2.524 C 0 2.343 0.106 2.175 0.272 2.098 L 4.541 0.126 Z M 8.689 4.118 L 9.728 4.598 C 9.894 4.675 10 4.841 10 5.024 C 10 5.208 9.894 5.374 9.728 5.45 L 5.459 7.423 C 5.168 7.558 4.832 7.558 4.541 7.423 L 0.272 5.45 C 0.106 5.373 0 5.206 0 5.024 C 0 4.843 0.106 4.675 0.272 4.598 L 1.311 4.118 L 4.279 5.489 C 4.737 5.7 5.263 5.7 5.721 5.489 L 8.689 4.118 Z M 5.721 7.989 L 8.689 6.618 L 9.728 7.098 C 9.894 7.175 10 7.341 10 7.524 C 10 7.708 9.894 7.874 9.728 7.95 L 5.459 9.923 C 5.168 10.058 4.832 10.058 4.541 9.923 L 0.272 7.95 C 0.106 7.873 0 7.706 0 7.524 C 0 7.343 0.106 7.175 0.272 7.098 L 1.311 6.618 L 4.279 7.989 C 4.737 8.2 5.263 8.2 5.721 7.989 Z"></path> </svg>
Attachments
Issue Links
- relates to
-
KOGITO-9135 SWF Viewer - The icons may cover the state's name.
- Open
-
KOGITO-9155 SWF Viewer - Tooltip is shown outside the viewable area
- Open
-
KOGITO-9156 SWF Viewer - The diagram shows only maximum of 64-bit integer
- Open