Skip to main content
July 16, 2024
Question

Write to data store

  • July 16, 2024
  • 3 replies
  • 0 views

Hi, I have a variable of type document and another of data entity type where I need to store the documents, in all the process models I have this:

but in just one case the documentId is not filled hence I am getting an error when trying to use the cmcDocument variable. In database it is inserted as expected:

the instance: 

I don't know what can be the problem as in other process models it is working and there is no difference between those processes

    3 replies

    venkatrea696188
    July 16, 2024

    Hi , isn't the Document Id is the primary key with Auto increment enabled?? Are you saving it back ,in Output tab storedValues?

    karumurua531442
    July 16, 2024

    hi [mention:0d77b95d889c420097b2afce6f897f56:e9ed411860ed4f2ba0265705b8793d05]  could you check your PK is auto increment

    rajt0005
    July 16, 2024

    check PK with auto Increment enabled!  and store the value in process variable then retrieve using that same process variable