How to get task Id in siebel
I'm making a siebel debug log downloader in UI. It will provide the log files as an attachment and users can download from there. So instead of logging it into application server user can directly access the log files from UI.
I'm providing an option to search via task Id, so that user can enter task Id and behind the scenes it will search the relevant file in application server and provide it as an attachment in UI.
My question is how to get task Id for current browsing session?
Suppose a user has 10 different browsing session, how can we identify which taskId is for which browsing session?