Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to export a workflow and use in a different environment

Aisha M
Contributor
July 28, 2020

I want to export one workflow from our prod server and use it on the dev environment.

I tried exporting using the XML option, and when I tried to import it, I kept getting an error that file does not exist.

Can someone please help me with the steps. Also, does exporting & Importing cause any problem on the original server ? 

1 answer

1 accepted

2 votes
Answer accepted
Antoine Berry
Community Champion
July 28, 2020

Hi @Aisha M ,

I suspect you are on server and not cloud ?

Anyway you have to put your workflow on the server so the instance can access it. Or you can directly paste the xml content of the exported file when importing which would be the easiest solution : 

image.png

Hope that helps

Aisha M
Contributor
July 28, 2020

yayyyy, its @Antoine Berry  :) Yes, its a server. So, I want to copy a workflow from our prod environment to Dev.

I tried testing it first with a workflow in Dev itself and it showed me some errors when I copied pasted the xml contents & I couldn't import & when I tried the path, it said the file doesn't exist, even though I had it on my Desktop

I get the below error when I copy paste the contents,

Error parsing workflow XML: The document type declaration for root element type "workflow" must end with '>'. (line:3 col:85). Please see log for more details.

Aisha M
Contributor
July 28, 2020

@Antoine Berry  I was able to fix that, the error was because I was copying the XML contents from the Internet Explorer, and not from a file.

Antoine Berry
Community Champion
July 28, 2020

Nice, I was just about to comment. You were missing a xml tag so I suspected that you were missing a part of the workflow.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events