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
------------------------------
Original Message:
Sent: 11-07-2022 14:03
From: Steven Shull
Subject: Capture toggledetailstate event in auto script
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
------------------------------