代码
 1 DECLARE
 2   l_item_key      VARCHAR2(30) := 'CW_WF_DEMO_002';--项目关键字,唯一的 
 3   l_user_item_key VARCHAR2(30) := 'CW_WF_DEMO_002_UK';--用户自定义的关键字,唯一的
 4   l_item_type     VARCHAR2(30) := 'CW_DEMO';--item type internal name 
 5   l_process       VARCHAR2(30) := 'CW_TOP';--process internal name
 6 BEGIN
 7   --01 创建
 8   wf_engine.createprocess(itemtype => l_item_type,
 9                           itemkey  => l_item_key,
10                           process  => l_process,
11                           user_key => l_user_item_key);
12   --02 初始化
13   --本例不需要
14   --03 启动
15   wf_engine.startprocess(itemtype => l_item_type, itemkey => l_item_key);
16 
17   COMMIT;
18 
19   dbms_output.put_line(l_item_key);
20 end;

 

 

相关文章:

  • 2022-12-23
  • 2021-08-08
  • 2021-08-01
  • 2021-10-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2022-01-15
  • 2022-02-11
  • 2021-09-22
  • 2022-03-02
相关资源
相似解决方案