DBA Data[Home] [Help]

APPS.ENG_WORKFLOW_API_PKG dependencies on WF_NOTIFICATION

Line 1305: l_response_read := wf_notification.getattrtext(wf_engine.context_nid, 'READ_RESPONSE');

1301: -- The attribute stores user's response of "I have read the e-record".
1302: -- if the answer is No, then raise application error
1303: --
1304: IF (funcmode = 'RESPOND') THEN
1305: l_response_read := wf_notification.getattrtext(wf_engine.context_nid, 'READ_RESPONSE');
1306: IF (l_response_read = 'N') THEN
1307: WF_CORE.CONTEXT('ENG_WORKFLOW_API_PKG', 'VoteForResultType',itemtype, itemkey,
1308: FND_MESSAGE.GET_STRING('EDR','EDR_EREC_NOT_REVIEWED_ERR'));
1309: raise_application_error(-20002,FND_MESSAGE.GET_STRING('EDR','EDR_EREC_NOT_REVIEWED_ERR'));

Line 1355: if (wf_notification.OpenNotificationsExist(l_group_id)) then

1351: -- (in timeout mode).
1352: if ((l_voting_option = 'REQUIRE_ALL_VOTES') or
1353: ((funcmode = wf_engine.eng_run) and
1354: (l_voting_option = 'WAIT_FOR_ALL_VOTES'))) then
1355: if (wf_notification.OpenNotificationsExist(l_group_id)) then
1356: resultout := wf_engine.eng_waiting;
1357: return;
1358: end if;
1359: end if;

Line 1369: Wf_Notification.VoteCount(l_group_id,result_rec.result_code,

1365: -- d. REQUIRE_ALL_VOTES and all votes are cast
1366: -- Tally votes.
1367: for result_rec in result_codes loop
1368: -- Tally Vote Count for this result code
1369: Wf_Notification.VoteCount(l_group_id,result_rec.result_code,
1370: l_code_count,l_per_of_total,l_per_of_vote);
1371:
1372: -- If this is timeout mode, then use the percent of votes cast so far.
1373: -- If this is run mode, then use the percent of total votes possible.

Line 1422: wf_notification.OpenNotificationsExist(l_group_id)) then

1418: resultout := wf_engine.eng_completed||':'||result;
1419: else
1420: -- If we get here no non-default results were satisfied.
1421: if (funcmode = wf_engine.eng_run and
1422: wf_notification.OpenNotificationsExist(l_group_id)) then
1423: -- Not timed out and still open notifications.
1424: -- Return waiting to continue voting.
1425: resultout := wf_engine.eng_waiting;
1426: elsif (default_result is not null) then