I have been researching about migrating workflows between environments and looked at various posts, but don't seem to be able to find the answer.
When "POST"ing workflows into a target environment (using api/admin/v1/workflows/ POST), is it possible to post it into a specific target Private Studio?
For example,
- workflowA in UAT sits in PrivateStudioA --> I would like to publish this to the PROD Env as
- workflowA in Prod in PrivateStudioB
Is this possible?
From looking at the Workflows API Endpoint, it seems that the OwnerEmail is used to determine where (Subscription) the workflow is posted in the Target environment.
Is this correct? or have I completely misunderstood?
Many thanks for your help.
Solved! Go to Solution.
Hello @Bal,
That is correct, when posting workflows to another environment you will upload those to the private studio of the email account shared.
Just for your knowledge, it doesn't need to be the same account. It only needs to be an existing private studio. The owner even does not need to have artisan rights.
In other words:
You can post workflow "Project_A" from Ironman@avengers.com private studio in UAT to:
Also you can have it renamed too
Regards
@afv2688 - Thanks so much for such a quick reply, and confirming that this is how the POST works.
I just want to check - when you said "Also you can have it renamed too" - do you mean you can rename the workflow when posting? or something else?
Hey @Bal ,
I suggest you take a look at this topic: https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/Migrating-Workflows/ta-p/335774
It has an almost finished workflow to migrate workflows between environments. The private studio email is set manually in a formula tool at the 'migrate workflows' container.
Best,
Fernando Vizcaino
Workflow Admin Manager (WAM) has the ability to migrate 1 or 1000s of workflows from one environment or another. Dev-Test-Prod migrations are one of the key items the platform was built to help streamline. https://youtu.be/nikRaMMSADc