1 Reply Latest reply on Aug 26, 2019 8:38 AM by Matt Laurenceau

    Error Handling of JSON Strings in Processes

    Tobias Buehl
      Share This:

      Hi,

       

      in a process a compute value element trys to put a string value into a Document Definition Object.

      This works fine as long as the String has exactly the format of the document definition.

       

      Now i tried to do some error handling. Unfortunateley an error boundary does not work since the compute value element does not throw an exception. It just says:

       

      ERROR (12085): The JSON-value can not be deserialized into an object. fsdfdsfsdf

      Same situation if i put the Sting directly as an input parameter into a sub process.

      I also tried the element "Validate Document Content" with my string as input parameter. But it always returns "true"
      How can I make my process more solid?
      Thank you,
      Tobias