code: @Service
      public Task getPendingTaskForWorkflow(String workflowId, String taskReferenceName) {
          return executionService.getPendingTaskForWorkflow(taskReferenceName, workflowId);
      }
docs: Get in progress task for a given workflow id.
  
  @param workflowId        Id of the workflow
  @param taskReferenceName Task reference name.
  @return instance of {@link Task}