Issue with a!writeToDataStoreEntity() smart service

Certified Associate Developer

Hello everyone,

I'm trying to use the new a!writeToDataStoreEntity() smart service function on a form and running into a problem. Though I can successfully use the form I've created in Tempo when I try and use the same code on a site page I receive an error when I try to load the page: Variable(s) not found: chain!result.

I am using a process model with a start form to create the site page and the same error appears when I try and save the process model.

Has anyone run into this problem in 16.2 before?

OriginalPostID-214582

OriginalPostID-214582

  Discussion posts and replies are publicly visible

Parents
  • Hi...any out come for this issue...is this resolved?

    I am also facing an issue when i try to use a!wrtitetodatastore entitry in a start form

    a!writeToDataStoreEntity(
    dataStoreEntity :cons!LAMR_TARGETPRICEDETAILS_ENTITY,
    valueToStore :ri!lamrTargetPriceDetails_DT,
    onSuccess: {
    a!save(ri!errorUpdatingStatus, false)
    },
    onError: {
    a!save(ri!errorUpdatingStatus, true)
    }
    )
Reply
  • Hi...any out come for this issue...is this resolved?

    I am also facing an issue when i try to use a!wrtitetodatastore entitry in a start form

    a!writeToDataStoreEntity(
    dataStoreEntity :cons!LAMR_TARGETPRICEDETAILS_ENTITY,
    valueToStore :ri!lamrTargetPriceDetails_DT,
    onSuccess: {
    a!save(ri!errorUpdatingStatus, false)
    },
    onError: {
    a!save(ri!errorUpdatingStatus, true)
    }
    )
Children
No Data