开通DB访问工作流引擎的权限
BEGIN DBMS_NETWORK_ACL_ADMIN.create_acl ( acl => 'wf_acl_file.xml', description => 'ACL to grant access to WorkFlow engine', principal => 'APEX_190200', is_grant => TRUE, privilege => 'connect', start_date => SYSTIMESTAMP, end_date => NULL); DBMS_NETWORK_ACL_ADMIN.assign_acl ( acl => 'wf_acl_file.xml', host => '192.168.56.135', lower_port => 8081, upper_port => 8081); COMMIT; END; /
集成
读取DB中的BPMN definition
可读取出xml格式的bpmn文件
select rpf.key_ , gby.bytes_ from act_ge_bytearray gby, act_re_procdef rpf where gby.deployment_id_ = rpf.deployment_id_ and rpf.key_ = 'YOUR_KEY' ;
- 使用 bpmn-viewer.js 展现流程图
- 自定义js高亮当前状态
REST API
本例使用jQuery与REST API交互
- 3
- 4
- 5
- 7
- 6
- 6
- 6
- 6
- 6
- 6
- 6
- 6
- 6