I'm trying to delete a record inside a Process. But it's not working.I read the documentation on Delete from Data Store Entity but it's not really helping.
I also tried the solution from previous post on the community forum
This is what I did:
The code inside the value field:
If I choose an entity inside the entity field, it's always reset to blank when I click elswhere.
I have no error inside my process, but the record is not deleted.
Anyone has a solution ? Thanks !
Discussion posts and replies are publicly visible
First thing to check is the pv!fasolErrorResponse - does that have an id value set for the smart service to use ? If not then you need to back track through the process model to check how that value is being set.
In the process History, I have this for my variable:
[id=1, title=Erreur de paramètre, message=Le code national ou la date n'est pas valide, details=, fk_rentalId=8, apiCode=2, endDate=7/22/2019 12:00 AM]
If you check the STDOUT log that may give you some additional information about why the data isnt being deleted. Have you also captured the AC! params on output ? That may also give some indication.
I found the solution by changing the code like this:
Is the other value a foreign key on the table you want to Delete ?
no, That's another record in the same Table.
© 2020 Appian. All rights reserved.