title: How do I register a microservice (or its methods) to Task in Netflix Conductor?
body: <p>I was looking for a more sophisticated workflow than Saga from AxonFramework  -- which we are currently using -- and I found one in Netflix Conductor. 
  Sadly, I have searched the Internet for a decent example but to no avail.</p>
  
  <p>My question is, in Netflix Conductor, how might one define and create Task or WorkflowTask and most importantly, link a microservice to it? Here is a Netflix Conductor code from github:</p>
  
  <pre><code>    WorkflowDef def = new WorkflowDef();
      def.setName("test");
      WorkflowTask t0 = new WorkflowTask();
      t0.setName("t0");
      t0.setType(Type.SIMPLE);
      t0.setTaskReferenceName("t0");
  
      WorkflowTask t1 = new WorkflowTask();
      t1.setName("t1");
      t1.setType(Type.SIMPLE);
      t1.setTaskReferenceName("t1");
  
      def.getTasks().add(t0);
      def.getTasks().add(t1);
  </code></pre>
  
  <p>Pardon my confusion as I am new to Netflix Conductor.</p>