-
Task
-
Resolution: Unresolved
-
Medium
-
None
-
None
-
None
-
None
Problem: In the Update Operation API, the workflow artifact is always deleted. It is expecting that the POST artifact will always be called after
Scenario: User creates operation with external artifact, uploading a file. Later, a user updates the operation without uploading a new artifact. The artifact is deleted even though the user did not want to change the artifact.
Solution: For PUT Operation call for an operation with external workflow, use "workflowId" property of operation model to determine whether a delete will happen. This flag should be made true if the user uploaded a new artifact for the operation, in which case a new POST artifact will occur, or if the user removed the artifact, in which case the delete will happen but no new artifact will be pushed.