80: itemtype := iteminput;
81: itemkey := inputkey;
82: owner := inowner;
83:
84: wf_engine.CreateProcess(ItemType => ItemType,
85: itemKey => ItemKey,
86: process => WorkflowProcess);
87: wf_engine.SetItemOwner(ItemType => ItemType,
88: ItemKey => ItemKey,
83:
84: wf_engine.CreateProcess(ItemType => ItemType,
85: itemKey => ItemKey,
86: process => WorkflowProcess);
87: wf_engine.SetItemOwner(ItemType => ItemType,
88: ItemKey => ItemKey,
89: owner => owner);
90: wf_engine.SetItemAttrText(Itemtype => ItemType,
91: Itemkey => ItemKey,
86: process => WorkflowProcess);
87: wf_engine.SetItemOwner(ItemType => ItemType,
88: ItemKey => ItemKey,
89: owner => owner);
90: wf_engine.SetItemAttrText(Itemtype => ItemType,
91: Itemkey => ItemKey,
92: aname => 'ADHOCROLE',
93: avalue => AdHocRole);
94: wf_engine.SetItemAttrText(Itemtype => ItemType,
90: wf_engine.SetItemAttrText(Itemtype => ItemType,
91: Itemkey => ItemKey,
92: aname => 'ADHOCROLE',
93: avalue => AdHocRole);
94: wf_engine.SetItemAttrText(Itemtype => ItemType,
95: Itemkey => ItemKey,
96: aname => 'NTFSUBJECT',
97: avalue => Subject);
98: wf_engine.SetItemAttrText(Itemtype => ItemType,
94: wf_engine.SetItemAttrText(Itemtype => ItemType,
95: Itemkey => ItemKey,
96: aname => 'NTFSUBJECT',
97: avalue => Subject);
98: wf_engine.SetItemAttrText(Itemtype => ItemType,
99: Itemkey => ItemKey,
100: aname => 'NTFMSGBODY',
101: avalue => msgBody);
102: wf_engine.SetItemAttrText(Itemtype => ItemType,
98: wf_engine.SetItemAttrText(Itemtype => ItemType,
99: Itemkey => ItemKey,
100: aname => 'NTFMSGBODY',
101: avalue => msgBody);
102: wf_engine.SetItemAttrText(Itemtype => ItemType,
103: Itemkey => ItemKey,
104: aname => 'URLVALUE',
105: avalue => URLfragment);
106:
103: Itemkey => ItemKey,
104: aname => 'URLVALUE',
105: avalue => URLfragment);
106:
107: wf_engine.StartProcess(ItemType => ItemType,
108: ItemKey => ItemKey);
109: return;
110: exception
111: when others then