LPS-51084 implement fetch method that will check for a workflow task wit...

...hout throwing an exception

This is the plugin part of the fix