Hello, I am posting this to see if anyone else has had this problem and found a way to solve it. I am posting workflows from a Test Alteryx environment to our Prod environment using the Gallery endpoint /gallery/api/admin/v1/workflows/ (using a POST call).
I am attempting to create an automated promotion process, and the workflows I am promoting will be overriding the previous versions. However, when I use the sourceId parameter in the API call, it never overrides the specified workflow. It will give a new App ID, and the posted workflow works as expected, but it is a duplicate and will not override the ID given. Strangely, if I repeat the call it will give me the same ID back (meaning it created a new workflow on the first call, and overwrote that ID on the second call, even though I didn't pass that ID). If I change my sourceId parameter to the ID given back to me, it will again generate a new workflow.
My example parameters are below. Please let me know if you have encountered this error.
