How to get Taskid in D365 or event to handle this scenario

Hello All,

Hope!!! Everyone is doing great.

I have the requirement to handle while pressing TAB in FORM in D 365 UI have to move to next record in the group.
HOW to handle the same as TASK method is available in AX 2012 but how to handle the same in D 365.

Where can get the task id and perform some operation as per customization?

Need immediate help on this.

PFA for the reference.