Hi Everyone
We're trying to write multiple records using write to record smart service on interface. But we're receiving below error --
The input "Records" must only include records from a single record type.
can anyone please let me know what is wrong with the below code?
a!writeRecords( records: { ri!taskDetails, ri!caseDetails }, onSuccess: a!save(ri!teadOnly, false()), onError: a!save(local!error, fv!error) )
Discussion posts and replies are publicly visible
What types are ri!taskDetails and ri!caseDetails then?
These two are record type rule inputs.
These two are different records? If yes you cannot perform the operation.
ok, that means Appian doesn't allow writing multiple type of records using one smart service at interface level. Please correct me if I'm wrong.
Unknown said:Appian doesn't allow writing multiple type of records using one smart service at interface level.
That's exactly what the error message says, so...