10.07.2015 Views

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

When a user sends a message to the bot, the textReceived() event istriggered.As the server application and the code to create the communication channelwith this server application is ready, all we need to do is treat the text receivedon the event textReceived() and then invoke the sendOfflineMessage() code,passing the target user as a STUser object and the message to be deliveredas a String object.13.6.3 Implement workflow using Sametime awareness featureThe Offline Messenger Bot described in the previous section is only one way toimplement a solution for dealing with offline users. In some cases, it may bedesirable to integrate Sametime instant messaging functionality into a morecomplex application that already has existing workflow logic built in. Whenintegrating Sametime, the workflow application needs to determine a user’sonline status and then proceed to either send the message via Sametime ore-mail, depending upon the person’s availability.This concept can be illustrated within the context of FME’s incident trackingapplication. This application already has workflow logic based on supportescalation business rules in order to notify specific people and departments ofsoftware and equipment problem reports.Figure 13-14 on page 391 gives an overview of the FME’s support escalationprocess.390 <strong>Lotus</strong> <strong>Instant</strong> <strong>Messaging</strong>/<strong>Web</strong> <strong>Conferencing</strong> (Sametime): Building Sametime-Enabled Applications

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!