title: Spring CLoud Task
body: <p>is there a way to pass an task result as input to other tasks, like in the image below. Sounds easy, but I can't find anything on the Internet. I don't want to use queues or other mechanisms to do this, Im looking for a task "native" way.
  <a href="https://i.stack.imgur.com/dGCZd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dGCZd.png" alt="enter image description here"></a></p>
  
  <p>I found this example, which I think it in this case <strong>strings</strong> represent the input for the task but I cant figure out how to produce the output to send to the next task/s</p>
  
  <pre><code>@SpringBootApplication
  public class SpringCloudTaskTestApplication {
  
      public static void main(String[] args) {
          SpringApplication.run(SpringCloudTaskTestApplication.class, args);
      }
  
      @Bean
      public CommandLineRunner commandLineRunner() {
          return new HelloWorldCommandLineRunner();
      }
  
      public static class HelloWorldCommandLineRunner implements CommandLineRunner {
  
          @Override
          public void run(String... strings) throws Exception {
              System.out.println("TASK args: "+Arrays.toString(strings));
          }
      }
  }
  </code></pre>