get taskID from triggered service

Hi all,

I’m unable to get appropriate taskID of the task on the Scheduler from the service which was triggered by that task. I cannot get the information by parsing the info from pub.scheduler:getTaskIDs and pub.scheduler:getTaskInfo, since the same service (configurable FTP polling service) is being called by multiple tasks.
Is there any way, how to get the taskID?
Any help will be appreciated.

Thanks,
kekert

any help you got ? for the above prob.

I’m trying to get the task(immediate delivery) details from the triggered service.

unfortunatelly not.
only solution I found was using unique “wrapper” of generic service for each scheduler task. then you can identify relevant task by the wrapper name