How to send xml data while starting process in with camunda cockpit

How to send xml data while starting process in with camunda cockpit.

we can send using object but what details we need to keep in the Object type name, Serialization Data Format and Serialized value

Example input input payload like below and it should go as xml to process:

<?xml version='1.0' encoding='UTF-8'?> ID NONE 76007094 Test tetsing 1 0000 prove new add 12345 new Pending CommittedDate test testValue

@venki2004k You need to send serialized xml data as input and valueInfo.

Example:

{
	   "variables": {
	      "employee": {
	         "value": "<serialized xml string>",
	         "type": "Object",
	         "valueInfo": {
	            "objectTypeName": "com.project.Employee",
	            "serializationDataFormat": "application/xml"
	         }
	      }
	   }
	}

To match the above JSON payload with cockpit variables:

  • Name” maps to employee
  • Object type name” maps to objectTypeName
  • Type” maps to type
  • “'Serialization Data Format” maps to serializationDataFormat
  • Serialized value” maps to value

@aravindhrs thank you so much for the update.

I am very new to this area, could you please provide below details also…

how to do: “value”: “” (with any example)
Why we are mentioning: “objectTypeName”: “com.project.Employee” (can we keep any name or how to define this, if possible with an example)

Thank you so much in advance. Thank you.

Thanks,
Venkaiah.