Hi everyone,
I'm running into an unexpected issue when trying to delete a document immediately after uploading it through an integration in the same process model.
I have an interface where the user uploads an Excel file, which gets stored temporarily in Document Management. From that interface, I start a Process Model that looks like this (see attached image):
Start Node
Gateway → checks if a document exists
HTTP Integration (CEDT_INT_postUpload) → sends the file to an external endpoint
CEDT_INT_postUpload
Delete Document → deletes the temporary file after upload
End Node
When the process reaches the Delete Document node, it seems that Appian hasn’t finished handling or streaming the document yet. As a result, the integration fails or the file never actually reaches the destination folder.
If I remove the Delete Document node (or move it to a later step, e.g., after a short delay or in a separate subprocess), everything works fine — the upload completes successfully.
Has anyone experienced something similar? Is it possible that Appian still locks or streams the file during the integration, causing the Delete Document node to interfere? Are there any best practices for safely deleting documents after uploading them through an integration in the same process?
Discussion posts and replies are publicly visible
Peter Lewis do you have any insights? My understanding is, that a process node behaves in an atomic transactional behaviour. The behaviour reported here violates this..