My error is “Add Queue Item: queueItemParameters must not be null Error code: 0”
I got a JObject which im deserializing to an Dictionary<String, Object> which works fine. But when I’m trying to add that dictionary to the ItemInformationCollection to the input in “Add Queue Item” it fails when trying to upload the queue item to the orchestrator Queue with the errormessage given above.
My workflow, shortened:
AddJObjectToQueue.xaml (9.7 KB)
My JObject:
{
"journalpostId": 135406,
"journalpostnr": "2023/49-6",
"journalpostUrl": "https://fmephtest2.fylkesmannen.local/ElementsFMINT/rm/FMNIT_TEST/#nav=/cases/33410/registryEntries/135406",
"lopenr": "98/2023",
"tittel": "Test - RPA - mangler dokument",
"offentligTittel": "Test - RPA - mangler dokument",
"statusId": "E",
"dokumentDato": "2023-03-01T00:00:00",
"opprettetDato": "2023-03-01T14:07:12",
"endretDato": "2023-03-01T14:07:13",
"journalDato": "2023-03-01T00:00:00",
"dokumentTypeId": "U",
"dokumentTypeNavn": "Utgående brev",
"dokumentkategoriId": null,
"dokumentkategoriNavn": null,
"tilgangskodeId": null,
"hjemmel": null,
"unntattOffentlighet": false,
"restanse": false,
"saksansvarligBrukernavn": "FMTLMMH",
"saksansvarligNavn": "Marit Myhre Hanssen",
"adminEnhetKortnavn": "FMFA-INN",
"adminEnhetNavn": "Fylkesmennenes fellesadministrasjon Innlandet",
"avsenderMottaker": "Hamar kommune",
"antallVedlegg": 0,
"dokumenter": [],
"avsenderMottakere": [
{
"id": 331081,
"navn": "Hamar kommune",
"adresse": "Postboks 4063",
"postnummer": "2306",
"poststed": "HAMAR",
"epost": "postmottak@hamar.kommune.no",
"untattOffentlighet": false,
"forsendeslesStatus": null,
"nasjonalIdentifikator": "970540008",
"erPerson": false
}
]
}