continuing the series of Design Studio SDK: New Unified UI5 Components, today the component Process Flow. Actually, I have chosen it to improve the generation logic, but as the output working, you can use it as well..
Today it is working only for non-data-bound definition.
It looks like:
You can do:
* add Lanes
* add Nodes
Restrictions
* only for manual definition
* you can use scripting for adding nodes on the fly (also deletion is working), BUT it seems change of "Lanes" is not working (for me looks like UI5 issue)
The APS
In this occasion, the APS code for arrays is now better - there are also combo boxes for properties which have defined list of values.
Events
You can use the events to react on selection, eg Node Pressed:
APPLICATION.createErrorMessage("Pressed: " + PROCESSFLOW_1.getNodePressedKey());
Sometimes adding of new Nodes / Lanes causes "diapearing", assure you have set all properties correctly, especially the Node Id (unique) and Lane Id, also a Node MUST be assigned to Lane! Sometimes you need to refresh the canvas.
Another Example
Download & Use
This component is available on the community package, release 2.0 for Design Studio 1.5, as in SCN Design Studio SDK Development Community
Example as BIAPP:
org-scn-design-studio-community/applications · GitHub
SDK_PROCESSFLOW_20
Documentation
Component List - SCN Design Studio Community -> look for the component in the list.
Any thoughts?
feel free to add as usual...
Enhancements Ideas?
if you have good ideas (to those who would like to contribute but cannot code...) - place an "issue" with tag "enhancement" under Issues · org-scn-design-studio-community/sdkpackage · GitHub