Maximo Open Forum

 View Only
  • 1.  Capture toggledetailstate event in auto script

    Posted 11-07-2022 12:13
    Team,

    i have a requirement, when ever a user clicks on View Details(which has mxevent has toggledetailstate ), i need to capture that userid and datetime and show that in a new tab on header level .That said, we want to capture the user who viewed the details and when in a separate tab. can we do that using automation scripts?

    pls advise

    Thanks,
    Venkat
    #EndUser

    ------------------------------
    Venkata Achanta
    CCSI
    ------------------------------


  • 2.  RE: Capture toggledetailstate event in auto script

    Posted 11-07-2022 14:03
    The toggledetailstate event itself you can't listen on with an automation script. You could replace it with your own automation script action event that calls toggledetailstate like:

    session=service.webclientsession()
    bean=session.getCurrentApp().getDataBean("common_task_table")
    bean.toggledetailstate(True)​

    I'm not personally a fan of this approach though. I'd rather force the user to acknowledge in some way rather than assuming them expanding a row is some sort of acknowledgement. IE have them click a button that says "I've reviewed this task" and then have that record an entry. Or if you want to record when they view something confidential, have a button that opens a dialog that records as part of the process of launching the dialog.

    ------------------------------
    Steven Shull
    IBM
    ------------------------------



  • 3.  RE: Capture toggledetailstate event in auto script

    Posted 11-07-2022 14:49
    Thank you Steven for your reply, actually i told the user that i will add a check box in the more details section so that user can check that as Viewd. Then i will catch the history in a tab. But my user is not ok with that. pls see below screen shot on which i proposed.

    what i proposed was, 
    1. user will expand the more details section first.
    2. set the Viewd flag to true.
    3. from there i captured the user details and other and displayed them in Log View History


    ------------------------------
    Venkata Achanta
    CCSI
    ------------------------------



Featured Podcast
Episode 1 is live: IBM Maximo Application Suite 9.2

Watch or listen to Steven Shull and Phil Runion discuss the practical MAS 9.2 updates Maximo teams should know.

Watch the Podcast
MORE by Naviam Episode 1 cover
Watch the latest episode