Hi,
I'm having a bit of a struggle working out if it's possible to parse a CSV file to JSON in PAD.
I've got a single line CSV file of three columns that I need to extract the data from and add to a JSON body request - I can do it via the web app without issue, but presently the web flow is taking anywhere between 90-120 seconds to start and that's too long for this process (as there's some other automation waiting on it outside of PAD) so ideally the more we can keep on-premise in this instance the better.
I.e. the CSV data looks like this:
| 4B5991E6 | John Testman | Test Company |
But I need to take those three fields and add it to this body (with some text splitting for the name along the way.)
{
"lastName": "Testman",
"firstName": "John",
"licence": null,
"address": null,
"city": null,
"postalCode": null,
"country": null,
"phone": null,
"type": "CARD",
"number": "4B5DF266",
"chipId": null,
"role": "DRIVER",
"state": "ACT",
"validity": null,
"cardVersion": 0,
"companyNumber": 0,
"companyName": "Test Company",
"companyAddress": null,
"companyCity": null,
"companyPostalCode": null,
"companyCountry": null,
"companyPhone": null,
"handscanEnabled": null,
"fingerprintEnabled": null
}
Coming up a bit short on a solution, if anyone could help with showing the steps that would be very much appreciated 😀

Report
All responses (
Answers (