Delete data

Hello,

  I have a process where I want first delete all data from a variable, before update the datas.

  This variable is multiple, for example the variable Directory which I have all the directions of persons of a town in. 

  Well, I am using the smart service "Delete from Data Store Entities" but I have an error: "An error occurred while trying to retrieve the data store entity [id=]. Verify that the data store and entity have not been deleted, and have the correct security settings. No data was deleted".

  Someone knows the problem?

Thank you so much :)

  Discussion posts and replies are publicly visible

Parents
  • Depending on exactly what you mean by variable there are different methods:

    If by 'variable' you mean a simple process variable, then it is not a data store entity and so instead of using the 'Delete from Data Store Entity' you should simply use a script task to write null into that variable

    If you are referring to a specific field within a CDT, the same advice applies. The 'delete from data store entity' actually removes the row from the db, meaning that there is nothing to update after running it.
Reply
  • Depending on exactly what you mean by variable there are different methods:

    If by 'variable' you mean a simple process variable, then it is not a data store entity and so instead of using the 'Delete from Data Store Entity' you should simply use a script task to write null into that variable

    If you are referring to a specific field within a CDT, the same advice applies. The 'delete from data store entity' actually removes the row from the db, meaning that there is nothing to update after running it.
Children