3 Replies Latest reply on Dec 7, 2021 6:09 AM by Jharana Patra

    Remove root tag from process output

    asd das Active Member

      Is there a way to remove <root> or <*process name*Response> tag from the process output?
      If a process receives the request via REST url, and requests contains Accept/Content-Type header with application/xml or text/xml - the output of the process will contain the <*process name*Response> tag or root tag respectively. Is there a way to remove them, so that only output fields are present?
      For example:


      <Process1Response>

          <variable>value</variable>

      </Process1Response>

       

      desired output:

      <?xml version='1.0' encoding='UTF-8'?>

      <variable>value</variable>