writeToDataStoreEntity vs writeToMultipleDataStoreEntities

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