it saves when I use this:
a!writeToDataStoreEntity( dataStoreEntity: cons!AF_EXCELPIPELINE_CONS, valueToStore: local!pipelinetest )
but does not save when I use this:
a!writeToMultipleDataStoreEntities( valuesToStore: { a!entityData( entity: cons!AF_EXCELPIPELINE_CONS, data: local!pipelinetest ) } )
why is that so?
Discussion posts and replies are publicly visible
writeToMultipleDataStoreEntities, is looking for multiple entity data store to establish FK relationship, this function not work if provide single entity... that why there are 2 function provided by Appian.
Sorry, but that is not true. This has nothing to do with foreign keys.
The only difference is that a!writeToDataStoreEntity() can write one or more rows to a single entity in one data store. a!writeToMultipleDataStoreEntities() can write one or more items to one or more entities in only one data store