33: wf_engine.SetItemAttrText (itemtype => itemtype,
34: itemkey => itemkey,
35: aname => 'IEMDPADMIN',
36: -- avalue => adhoc_role );
37: avalue =>'FND_RESP|IEM|EMAIL_CENTER_SSS|STANDARD' );
38:
39: -- Set the From field:
40: WF_ENGINE.SetItemAttrText(itemtype, ItemKey, 'NTFROM', 'FND_RESP|IEM|EMAIL_CENTER_SSS|STANDARD');--'Oracle Email Center'); --FND_GLOBAL.User_Name);
41: -- invoke an instance of workflow process
36: -- avalue => adhoc_role );
37: avalue =>'FND_RESP|IEM|EMAIL_CENTER_SSS|STANDARD' );
38:
39: -- Set the From field:
40: WF_ENGINE.SetItemAttrText(itemtype, ItemKey, 'NTFROM', 'FND_RESP|IEM|EMAIL_CENTER_SSS|STANDARD');--'Oracle Email Center'); --FND_GLOBAL.User_Name);
41: -- invoke an instance of workflow process
42:
43:
44: wf_engine.StartProcess( itemtype => itemtype,
71: l_seq_id number;
72:
73: BEGIN
74:
75: --Standard Savepoint
76: SAVEPOINT IEM_LAUNCH_WF_DPNTF_PUB;
77:
78: -- Standard call to check for call compatibility.
79: IF NOT FND_API.Compatible_API_Call (l_api_version_number,
74:
75: --Standard Savepoint
76: SAVEPOINT IEM_LAUNCH_WF_DPNTF_PUB;
77:
78: -- Standard call to check for call compatibility.
79: IF NOT FND_API.Compatible_API_Call (l_api_version_number,
80: p_api_version_number,
81: l_api_name,
82: G_PKG_NAME)
102: --ItemType =>'IEMDPNTF' ,
103: ItemType =>'IEMDPNTF' ,
104: ItemKey =>l_seq_id);
105:
106: -- Standard Check Of p_commit.
107: IF FND_API.To_Boolean(p_commit) THEN
108: COMMIT WORK;
109: END IF;
110:
107: IF FND_API.To_Boolean(p_commit) THEN
108: COMMIT WORK;
109: END IF;
110:
111: -- Standard callto get message count and if count is 1, get message info.
112: FND_MSG_PUB.Count_And_Get
113: ( p_count => x_msg_count,
114: p_data => x_msg_data
115: );