Uploaded image for project: 'Corda'
  1. CORDA-1342

The shell doesn't print the return value of a started flow

    Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: Corda 3.1
    • Fix Version/s: Corda 3.3
    • Component/s: None
    • Labels:
      None

      Description

      Take a simple flow:

      @StartableByRPC
      class EchoFlow(private val echo: String) : FlowLogic<String>() {
          override val progressTracker = ProgressTracker()
          @Suspendable
          override fun call(): String = echo
      }
      

      Start it from the shell:

      Mon Apr 16 10:38:21 BST 2018>>> start EchoFlow echo: Hello
      
      ✅   Done
      
      Mon Apr 16 10:38:40 BST 2018>>> 
      

      The flow completes but the return value is not printed to the screen.

        Attachments

          Activity

            People

            • Assignee:
              removed86 Former user (Inactive)
              Reporter:
              shams.asari Shams Asari
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: