Maximo Open Forum

 View Only
  • 1.  Does anyone know if there are is a list of WebClientEvent(s) documented ?

    Posted 02-13-2023 19:21

    I'm very new to working with automation scripts.

    Based on the question on how to use an Automation Script to move to a new application which I found extremely useful, I thought I would open a discussion up to see if there may be any additional information on what the valid calls to WebClientEvent might have.

    Example from the question above

    ## Jump to WOTRACK application
    newEvent = WebClientEvent("changeapp", appinstance.getId(), "wotrack", None, None, None, UID, session);
    session.queueEvent(newEvent);

    Is this documented somewhere or can we deduce what other valid calls and arguments might be ?

    I think it could also be useful if we could move to an app and a specific tab as well.

    In a use case that I'm working through right now we are using a custom dialog (non persistent)  to fill out a ticket and if it has a classification that has attributes I'm looking at sending the user to the appropriate application and hopefully the specifications tab so they can input any appropriate values or required attributes. The reason for this is as a non persistent dialog the ticket will not be created until the save so I can not just add a tab with the attributes to be filled out as the TICKETSPECCLASS relation would not have a valid ticketid to be used as I have found out.

    Thanks and please let me know if should clarify the discussion further or if  you have an questions.


    #EverythingMaximo

    ------------------------------
    Ryan Medernach
    MEG ENERGY
    ------------------------------



  • 2.  RE: Does anyone know if there are is a list of WebClientEvent(s) documented ?

    Posted 02-14-2023 07:12

    If you looking for WebClientEvent here is all details

    https://bportaluri.com/wp-content/MaximoJavaDocs76/psdi/webclient/system/controller/WebClientEvent.html



    ------------------------------
    Prashant Sharma
    Sedin Technologies
    Connect with me @ https://www.linkedin.com/in/psharmamaximo/

    #IBM Champion 2022
    #IBM Champion 2023
    ------------------------------



  • 3.  RE: Does anyone know if there are is a list of WebClientEvent(s) documented ?

    Posted 02-14-2023 09:58

    YES!  I would love an answer to this also.  I know you can use this one to click on a tab (this is to open the List tab):  

    session = service.webclientsession();

    newEvent = WebClientEvent("click", "results", "", None, None, None, -1, session);

    session.queueEvent(newEvent);

    Unfortunately the linked java doc does seem to give a list of valid values for the "type" parameter...harvesting from the Maximo code, looks like the following may also work (java syntax here):

    WebClientEvent("dialogclose", this.app.getCurrentPageId(), "NOREFRESH", this.clientSession)

    WebClientEvent("dialogok", this.app.getCurrentPageId(), null, this.clientSession)

    WebClientEvent("dialogcancel", this.app.getCurrentPageId(), null, this.clientSession)

    WebClientEvent("searchmore", this.app.getId(), null, this.clientSession)

    WebClientEvent("dolongop", this.app.getCurrentPageId(), null, this.clientSession)

    --these look like they references a method in AppInstance

    AppInstance prevApp = this.clientSession.getPreviousApp();

    WebClientEvent("applinkreturn", prevApp.getId(), null, this.clientSession); 

    WebClientEvent("changetab", getTabGroupName(), getAllTabs()[this.processTabOrder], this.clientSession) 

    WebClientEvent("gototab", this.clientSession.getCurrentAppId(), "list", this.clientSession)

    WebClientEvent currentEvent = this.clientSession.getCurrentEvent();
    Object[] newEventValue = { currentEvent, "PMCOMSR_LAUNCHENTRY" };
    WebClientEvent newEvent = new WebClientEvent("LAUNCHENTRY", currentEvent.getTargetId(), newEventValue, this.clientSession);

    WebClientEvent("changetabcond", getWebClientSession().getCurrentAppId(), request.getParameter("changetab"), getWebClientSession());

    PageInstance pi = this.clientSession.findDialog(dialogId);         
    String dSource = pi.getDataSource();    
    new WebClientEvent("initialize", dSource, null, this.clientSession));

    WebClientEvent("resetwizard", this.app.getCurrentPageId(), null, this.clientSession)

    WebClientEvent("setFocus", renderId, null, this.clientSession)

    It looks like the WebClientEvent MIGHT be able to invoke any "action-type-thing" w/in it's context...I really don't know...



    ------------------------------
    Jade Warren
    Great River Energy
    ------------------------------



  • 4.  RE: Does anyone know if there are is a list of WebClientEvent(s) documented ?

    Posted 02-14-2023 11:51

    Thanks for the info on moving to a tab. When I attempt to use this it looks like the app and app instance is not updated to the new app moved to when I log the session info it still thinks its on the plusgwo app where the script is executed from. Is there anything I should be doing to update the session so it knows its moved to a new app ? (I assumed this would be automatic after the event "changeapp" was queued)

    <Snip from log>

    [2/14/23 9:39:03:757 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:757 [DEBUG] [MXServer] [] getting logger
    [2/14/23 9:39:03:757 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:757 [DEBUG] [MXServer] [] getting newSR
    [2/14/23 9:39:03:757 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:757 [INFO] [MXServer] [] >>>>>>>>>>>>>>>> RM New Classification is 3113
    [2/14/23 9:39:03:757 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:757 [DEBUG] [MXServer] [] getting newSR
    [2/14/23 9:39:03:757 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:757 [DEBUG] [MXServer] [] getting newSR
    [2/14/23 9:39:03:757 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:757 [DEBUG] [MXServer] [] getting mbo
    [2/14/23 9:39:03:757 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:757 [DEBUG] [MXServer] [] getting MboConstants
    [2/14/23 9:39:03:804 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:804 [DEBUG] [MXServer] [] getting logger
    [2/14/23 9:39:03:804 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:804 [INFO] [MXServer] [] >>>>>>>>>> Resave the SR
    [2/14/23 9:39:03:804 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:804 [DEBUG] [MXServer] [] getting logger
    [2/14/23 9:39:03:804 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:804 [DEBUG] [MXServer] [] getting newSR
    [2/14/23 9:39:03:804 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:804 [INFO] [MXServer] [] >>>>>>>>>> NEW SR unique ID = 182061
    [2/14/23 9:39:03:804 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:804 [DEBUG] [MXServer] [] getting newSRSet
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [DEBUG] [MXServer] [] getting newSrFromOrigWO
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [DEBUG] [MXServer] [] getting newSR
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [DEBUG] [MXServer] [] getting logger
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [DEBUG] [MXServer] [] getting ticketSpecSet
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [INFO] [MXServer] [] >>>>>>>>>> RM ticketSpecSet 2
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [DEBUG] [MXServer] [] getting ticketSpecSet
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [DEBUG] [MXServer] [] getting logger
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [DEBUG] [MXServer] [] getting hasAttributes
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [INFO] [MXServer] [] >>>>>>>>>> RM hasAttributes 2
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [DEBUG] [MXServer] [] getting ticketSpecSet
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [DEBUG] [MXServer] [] getting ticketSpecSet
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [DEBUG] [MXServer] [] getting hasAttributes
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [DEBUG] [MXServer] [] getting logger
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [DEBUG] [MXServer] [] getting hasAttributes
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [INFO] [MXServer] [] >>>>>>>>>> RM Sending user to SSI module to fill out information has attributes =  2
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [DEBUG] [MXServer] [] getting session
    [2/14/23 9:39:03:882 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:882 [DEBUG] [MXServer] [] getting hasAttributes
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting logger
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [INFO] [MXServer] [] >>>>>>>>>> RM Moving to app
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting WebClientEvent
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting appinstance
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting UID
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting session
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting session
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting newEvent
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting logger
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting session
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting appinstance
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting session
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [INFO] [MXServer] [] >>>>>>>>>> RM Moving to tab current app is plusgwo app instance is plusgwo Current Page id megmxdssidlg
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting session
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting logger
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting appinstance
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [INFO] [MXServer] [] >>>>>>>>>> aftergetting current app from session app is AppInstance [id: plusgwo]
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting WebClientEvent
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting session
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting logger
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting newEvent
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [INFO] [MXServer] [] >>>>>>>>>> RM Moving to tab type: click, targetId:specification, value:, sourceControlInstance:Dialog [id: megmxdssidlg]
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting session
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting newEvent
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting logger
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [INFO] [MXServer] [] >>>>>>>>>> RM Moving to tab - Completed ?
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] execution completed for cached compiled script MEG_CRSSI_SAVE for launch point MEG_CRSSI_SAVE
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] getting nashorn.global
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: setField=<function setField at 0x42>
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: newSR=psdi.plusg.app.ticket.PlusGSR@3eff51fc
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: session=id: 46, appId:plusgwo, pageId:megmxdssidlg
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: logger=psdi.util.logging.Log4jLogger@895dd0c2
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: interactive=true
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: MXServer=<type 'psdi.server.MXServer'>
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: MboConstants=<type 'psdi.mbo.MboConstants'>
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: MXLoggerFactory=<type 'psdi.util.logging.MXLoggerFactory'>
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: curMultiAsset=psdi.plust.app.workorder.PlusTMultiAssetLocCISet@f0a1a5f7
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: WebClientEvent=<type 'psdi.webclient.system.controller.WebClientEvent'>
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: origStatus=APPR
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: ticketSpecSet=psdi.app.ticket.TicketSpecSet@cc82c190
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: mboname=MEG_MXCRSSI
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: newSRmultiAssetSet=psdi.plust.app.workorder.PlusTMultiAssetLocCISet@93619b26
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: hasAttributes=2
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: origWo=psdi.plust.app.workorder.PlusTWO@304dd6c7
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: app=null
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: appbean=psdi.plusg.webclient.beans.workorder.PlusGWOAppBean [app: plusgwo, mbo:WORKORDER, relationship:null, userWhere:null, appWhere:woclass in ('WORKORDER','ACTIVITY'), currentRow:0]
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: appinstance=AppInstance [id: plusgwo]
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: Calendar=<type 'java.util.Calendar'>
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: checkField=<function checkField at 0x43>
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: __builtins__ .. skipping logging value for this as its a private var
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: curdocklinks=psdi.app.doclink.DoclinksSet@65f17c0
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: launchPoint=MEG_CRSSI_SAVE
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: Date=<type 'java.util.Date'>
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: newEvent=type: click, targetId:specification, value:, sourceControlInstance:Dialog [id: megmxdssidlg]
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: mboset=psdi.mbo.custapp.NonPersistentCustomMboSet@a5fe0e55
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: UID=182061
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: service=com.ibm.tivoli.maximo.script.ScriptService@456ba960
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: scriptName=MEG_CRSSI_SAVE
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: mbo=psdi.mbo.custapp.NonPersistentCustomMbo@4211338a
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: newSRSet=psdi.plusg.app.ticket.PlusGSRSet@598a556d
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: user=RMEDERNACHADMIN
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: newTicketClause=ticketid = '109678'
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] copying the binding to context: newSrFromOrigWO=true
    [2/14/23 9:39:03:898 MST] 000001b3 SystemOut     O 14 Feb 2023 09:39:03:898 [DEBUG] [MXServer] [] The total time taken to execute the MEG_CRSSI_SAVE script for the MEG_CRSSI_SAVE launch point is +734 ms.

    <End Snip> 

    
    		session.showMessageBox("meg","class_attribute_setup",[str(hasAttributes)])
    		logger.info(">>>>>>>>>> RM Moving to app" )
    		## Jump to scmsr application
    		newEvent = WebClientEvent("changeapp", appinstance.getId(), "scmsr", None, None, None, UID, session);
    		session.queueEvent(newEvent);
    		
    		logger.info(">>>>>>>>>> RM Moving to tab current app is " + session.getCurrentAppId()+ " app instance is "+ appinstance.getId() ) # at this point it still thinks its in plusgwo BUG
    		
    		## Jump to the specifications tab (Needs the correct TAB ID) 
    		newEvent = WebClientEvent("click", "specification", "", None, None, None, -1, session);
    		logger.info(">>>>>>>>>> RM Moving to tab "+ str(newEvent) )
    		session.queueEvent(newEvent);
    		
    		logger.info(">>>>>>>>>> RM Moving to tab - Completed ?" )


    ------------------------------
    Ryan Medernach
    MEG ENERGY
    ------------------------------