About Cheap Workflow
The Cheap Workflow is a lightweigth workflow engine can only work on semantic-*. It's also a good example showing how to use semantic.DA and semantic.transact java API.
TODO Howto ...
CheapEngine Reference
Workflow Template
Configuration | |
---|---|
Nodes | |
Table: oz_wfnodes
|
SQL Scripts
Mysql | |
---|---|
node instance | |
It's recommended configure different table for each workflow, to optimize performance.
-- Replace this table name, 'oz_sampleBusiness', keeping consists with value from oz_workflow.bussTable CREATE TABLE oz_sampleBusiness ( instId varchar(20) COLLATE utf8mb4_bin NOT NULL, nodeId varchar(20) COLLATE utf8mb4_bin NOT NULL comment 'node FK', taskId varchar(20) COLLATE utf8mb4_bin NOT NULL comment 'fk to tasks.taskId', oper varchar(20) COLLATE utf8mb4_bin NOT NULL, opertime DATETIME, descpt varchar(200), remarks varchar(2000), handlingCmd varchar(10) COLLATE utf8mb4_bin, prevRec varchar(20) COLLATE utf8mb4_bin, PRIMARY KEY (instId) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT ' work flow node instances, table name is configured in oz_workflow.instabl (separating table for performance)'; |
Known Issues in v0.8
postFK and multiple tasks using same instance table
TODO ...
Handling commands should be presented in an additonal relation table
Should we port some other opensource project?
'top()' for insert only in TSQL?
semantic-transact HAVING, WINDOW?