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.
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