-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Kogito tooling 0.29.0
-
False
-
None
-
False
-
-
---
-
---
-
-
getSelectedDefinition function from SWF Combined Editor API doesn't work properly.
The function:
editor.session.getSelectedDefinition()
There are two issues:
- Some of the fields are not translated at all. Error message for Rejected Promise:
{"stack":"Error: Failed to execute 'postMessage' on 'Window': function prj(){} could not be cloned.\n at Object.postMessage (http://127.0.0.1:5500/serverless-workflow-diagram-editor-envelope.js:15822:69)\n at __webpack_modules__.36729.EnvelopeClient.send (http://127.0.0.1:5500/serverless-workflow-diagram-editor-envelope.js:13186:18)\n at EnvelopeBusMessageManager.send (http://127.0.0.1:5500/serverless-workflow-diagram-editor-envelope.js:13156:97)\n at __webpack_modules__.30927.EnvelopeBusMessageManager.respond (http://127.0.0.1:5500/serverless-workflow-diagram-editor-envelope.js:12977:14)\n at http://127.0.0.1:5500/serverless-workflow-diagram-editor-envelope.js:13028:23"}
- Private fields in jstypes are not translated correctly.
- Some workflows work. For example you can remove actions from attached workflow and follow the steps to reproduce. In this case "b: true" will be part of the definition elements instead of "end: true".
Combined Editor API can be accessed using serverless-logic-web-tools:
- Run a web server in the root folder: build_artifacts/packages/serverless-logic-web-tools/dist
- Open index.html in your browser (located at root build_artifacts/packages/serverless-logic-web-tools/dist/index.html)
- Open web console
- is caused by
-
KOGITO-7066 SWF - Expose Stunner API through omnichannel architecture
- Resolved