6169:
6170: -- bug 5657496
6171: -- Need to set the context variables also, else the selector function in
6172: -- the workflow will set a null context.
6173: l_user_id := FND_GLOBAL.user_id;
6174: l_responsibility_id := FND_GLOBAL.resp_id;
6175: l_application_id := FND_GLOBAL.resp_appl_id;
6176: wf_engine.SetItemAttrNumber ( itemtype => itemtype,
6177: itemkey => itemkey,
6170: -- bug 5657496
6171: -- Need to set the context variables also, else the selector function in
6172: -- the workflow will set a null context.
6173: l_user_id := FND_GLOBAL.user_id;
6174: l_responsibility_id := FND_GLOBAL.resp_id;
6175: l_application_id := FND_GLOBAL.resp_appl_id;
6176: wf_engine.SetItemAttrNumber ( itemtype => itemtype,
6177: itemkey => itemkey,
6178: aname => 'USER_ID',
6171: -- Need to set the context variables also, else the selector function in
6172: -- the workflow will set a null context.
6173: l_user_id := FND_GLOBAL.user_id;
6174: l_responsibility_id := FND_GLOBAL.resp_id;
6175: l_application_id := FND_GLOBAL.resp_appl_id;
6176: wf_engine.SetItemAttrNumber ( itemtype => itemtype,
6177: itemkey => itemkey,
6178: aname => 'USER_ID',
6179: avalue => l_user_id);