Question

send notifications to all users

  • 6 October 2023
  • 4 replies
  • 167 views

Badge

Hi All,

I’m trying to send any pop-up message(s) to all users that already logged on to IFS10 via ;

 

exec CLIENT_NOTIFICATION_SYS.Create_Message_('Exist','IFSAPP','00','TEST')

or 

exec CLIENT_NOTIFICATION_SYS.Create_Message_('Exist','PUBLIC','00','TEST')

 

But there’s no any Pop or may be Push msg

 

Could you please ?

 

Thanks..


4 replies

Userlevel 4
Badge +8

Hi

This is not a pop-up, but maybe “Broadcast message” is an option for you.

We’re using it to announce maintenance window.

BR,

Wiktor

Userlevel 2
Badge +7

Hi @k.yilmaz 

We are using Apps 8/9/10 and this is achieved using Broadcast Messages. (Solution Manager->User Interface->Broadcast Messages)

This allows you to send a message to all users which scrolls across the top of the screen for a set period of time. 

I typically use this to notify users of IFS planned outages to carry out maintenance tasks such as patch deployments. 
Hope this help you solve the purpose!

Thanks,
Hardik

Userlevel 5
Badge +14

Hi @k.yilmaz,

 

You can send stream messages to all logon users. Just use fnd_client_logon as the cursor view to send stream messages.

DECLARE
attr_ VARCHAR2(2000);
info_ VARCHAR2(2000);
objid_ VARCHAR2(20);
objversion_ VARCHAR2(100);

CURSOR openoracleusers IS
SELECT username FROM oracle_account WHERE account_status = 'OPEN';

BEGIN
FOR rec_ IN openoracleusers
LOOP
client_sys.clear_attr(attr_);
client_sys.add_to_attr('TO_USER', rec_.username, attr_);
client_sys.add_to_attr('MESSAGE', 'Deneme Test!', attr_);
client_sys.add_to_attr('STREAM_TYPE_DB', 'GENERAL', attr_);
client_sys.add_to_attr('VISIBLE', fnd_boolean_api.decode('TRUE'), attr_);
client_sys.add_to_attr('READ', fnd_boolean_api.decode('FALSE'), attr_);
ifsapp.fnd_stream_api.new__(info_, objid_, objversion_, attr_, 'DO');
--COMMIT;
END LOOP;
END;

 

 

Userlevel 4
Badge +8

Hello

You cannot prompt such messages for IFS EE users. The two possibilities are either broadcast messages or streams. 

Broadcast messages: doc link

Streams: doc link

Example:

Fnd_Stream_API.Create_Event_Action_Streams(‘IFSAPP’,

                                            ‘ALAIN’,

                                            'Attention everyone’,

                                            ‘Check email inbox immediately’,

                                            ‘www.company.com\notifications’);

Hope this helps.

Reply