Skip to main content
Hello Team, How can an analysis be transferred from one EMS to another EMS?

Hi Heiko,

 

I had answered something similar in another post.

 

In case you are looking at an analysis, try coping and pasting the component directly, this may work however all your formulas and variables need to be recreated

 

This can also be easily moved in case the two are under the same team . It's just a copy to another team.

image 

In case you are not able to do that, follow the following steps (not sure will work for clusters), this will require you to use content-cli (https://docs.celonis.com/en/migrate-analyses-from-process-analytics-to-studio-using-content-cli.html)

 

1 Create a profile from the team you want to move from

content-cli profile create

 

2 Pull an analysis from your required space

content-cli pull analysis --profile origin-team --id 7c9e5e7c-76ab-4b91-bdf7-4d7a89ff16c1 --asset

 

3 Create a profile for the team you want to move to

content-cli profile create

 

4 Push the analysis

content-cli push asset --file <filename> --profile goal-team --package hello-world-app

 

PS: Kindly look at the documentation to get a clear understanding


Hello Abhishek ,

I followed the instructions but I'm already struggling with step two. I always get:

error:  Object 'Analysis' with ID '309401e7-....-....-...' not found

 

I tried:

content-cli pull analysis --profile CopyProb01 --id 309401e7-....-....-... --asset

 

Best regards,

Heiko


Hi Heiko,

 

Try pulling the individual asset to your local machine and then trying ti upload that file in the new enviroment and proceeding

 

Pull/Push individual assets from/to Studio

The pull/push asset commands work the same way as for other content in the EMS. By using content-cli pull asset, you can pull individual assets from Studio to your local machine, and an example of it would be:

// Pull single asset from package

content-cli pull asset -p my-profile-name --key package-test.km-test

After you have pulled your assets, you can push them into another package using the following command:

// Push single asset to package

content-cli push asset -p my-profile-name -f asset_km-test.yml --package new-package

Additionally, you can use content-cli push assets to push all the assets you have in your current directory to a single package, like the following example:

// Push multiple assets to package

content-cli push assets -p my-profile-name --package test-package

 


Hello Abhishek,

There are still errors when pulling the analysis, but I have successfully pulled a package, now.

 

content-cli pull package --profile PROFILEnameSOURCE --key PACKAGEname

content-cli push package --profile PROFILEnameTARGET --spaceKey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -f PACKAGEname.zip

 

Thank you for your support


Reply