1 Reply Latest reply on Jan 19, 2009 3:50 AM by hauch

    Problem with variables when calling ESB from a fork

    hauch

      I have a setup where I call an ESB service from a workflow using EsbActionHandler.

      When the ESB node is in a fork/join I am not able to get the values returned from the ESB (I can not see them in the console).
      When the ESB node is executed without a fork/join everything works fine.

      Is there a simple explanation/solution to this?

      I am using version 3.2.2.

        • 1. Re: Problem with variables when calling ESB from a fork
          hauch

          Ok, I guess I found the answer myself:

          The EsbActionHandler writes the ESB reply to localVariable.
          In a fork this means that the reply is stored on the TokenVariableMap belonging to the path.

          Therefore you must explicit get it from TokenVariableMap and not directly from contextInstance.