Dear all!
I am using the following code (it is just a poart of it) in an event action (Execute Online SQL) to inform people via stream message when they have been linked to a project task:
client_sys.Clear_Attr(attr_);
client_sys.Add_To_Attr('FROM_', person_info_API.get_user_id('&NEW:RESPONSIBLE'), attr_);
client_sys.Add_To_Attr('TO_NAMES_', USER_ID_, attr_);
client_sys.Add_To_Attr('HEADER_', 'You have been assigned.', attr_);
client_sys.Add_To_Attr('BODY_', 'You have been assigned in activity-sequence '||'&NEW:ACTIVITY_SEQ'|| ' to task' ||'&NEW:TASK_ID'|| ' Description: '||'&NEW:NAME'|| ' Thanks!', attr_);
client_sys.Add_To_Attr('URL_', 'ifsapf:frmActivity', attr_);
Transaction_SYS.Deferred_Call ('FND_STREAM_API.Create_Event_Action_Streams','PARAMETER', attr_, 'Inform PM');
Unfortunately the right window for the actual activity does not open when the user is clicking on the stream message as the URL is just generelly defined as seen above in green.
Is there any chance to make the URL more specific, i.e.:
client_sys.Add_To_Attr('URL_', 'ifsapf:frmActivity?ACTIVITY_SEQ=$&NEW:ACTIVITY_SEQ$', attr_);
Anyone can support me with this?
Would be super interesting to know.
Thanks a lot!
Mattis