6 Replies Latest reply on May 22, 2008 11:28 AM by (Gaurav_Sharma)

    Change or insert data to XML variable in Workflow

    Level 1
      Hi,

      In a workflow, there is a XML variable with the following data:
      <data>
      <current_user>
      <username>apink</username>
      </current_user>
      <current_user>
      <username>tblue</username>
      </current_user>
      <current_user>
      <username>vkarven</username>
      </current_user>
      </data>

      How to change the data for 'username'. I tried
      '/process_data/MyXML/data/current_user[3]/username' = "kelvin", but does not work. I tried many other combinations and none of it works. Look simple, yet can't get it work?

      Also, how can I add a 4th new 'current_user' to the XML?

      Thanks for help...