I am using a library web service to call a SOAP API. In one of the resulting activities I need to input variable-couplets in the form of structure data variable type.
When executing the same API-call in postman, I would use:
<item>
<field>[MyField]</field>
<value>[MyValue]</value>
</item>
I am, however, unable to find the correct format in uipath. Any suggestions?
I have tried:
myStruct = {“myFieldString”; “myValueString”}
myStruct = {myFieldString; myValueString}
myStruct = {field: “myFieldString”, value: “myValueString”}
myStruct = {field: “myFieldString”; value: “myValueString”}
None of which work.
I am not sure I fully understand. I have created a variable: value = “close”. how exactly do I pass it into myField? And how do I assign these two to myStruct?
IT must have been an error or a bug, because now it works as expected again. That is I am alowed to write myStruct.field = myFieldString and myStruct.value = myValueString.