diff --git a/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/00_analysis_mover.ipynb b/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/00_process_analysis_mover.ipynb similarity index 60% rename from pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/00_analysis_mover.ipynb rename to pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/00_process_analysis_mover.ipynb index 904a02e..9b546c0 100644 --- a/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/00_analysis_mover.ipynb +++ b/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/00_process_analysis_mover.ipynb @@ -1,13 +1,18 @@ { "cells": [ { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ - "## Analysis Mover using Content CLI\n", + "## Process Analytics Analysis Mover using Content CLI\n", "\n", "\n", - "### This tutorial shows how to copy an analysis from one team/workspace to another one" + "### This tutorial shows how to copy an analysis from one team/process analytics workspace to another one\n", + "\n", + "
\n", + " NOTE: This tutorial is intended for use with Process Analytics analyses. To pull data from Studio Analyses, see our Asset Mover Template\n", + "
" ] }, { @@ -16,10 +21,10 @@ "metadata": {}, "outputs": [], "source": [ - "source_team_url = 'https://your_team.celonis.cloud/'\n", - "source_api_key = 'your_api_token'\n", - "destination_team_url = 'https://your_team.celonis.cloud/'\n", - "destination_api_key = 'your_api_token'" + "source_team_url = 'INSERT TEAM URL HERE' #ex. https://your_team.celonis.cloud/\n", + "source_api_key = 'API TOKEN HERE'\n", + "destination_team_url = 'INSERT TEAM URL HERE' #ex. https://your_team.celonis.cloud/\n", + "destination_api_key = 'API TOKEN HERE'" ] }, { @@ -35,6 +40,7 @@ "metadata": {}, "outputs": [], "source": [ + "# DO NOT MODIFY THIS CELL\n", "import os\n", "os.environ['TEAM_URL'] = source_team_url\n", "os.environ['API_TOKEN'] = source_api_key\n" @@ -47,6 +53,14 @@ "### Pull analysis from the source team" ] }, + { + "attachments": {}, + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
Looking for the analysis ID? Open to the analysis and view the browser URL
(ex. https://team.cluster.celonis.cloud/process-mining/analysis/dd277835-1140-4f30-98ea-1b190bd21cec/)
" + ] + }, { "cell_type": "code", "execution_count": 3, @@ -61,7 +75,7 @@ } ], "source": [ - "!content-cli pull analysis --id 'insert analysis id here'" + "!content-cli pull analysis --id 'ANALYSIS ID HERE'" ] }, { @@ -78,17 +92,21 @@ "metadata": {}, "outputs": [], "source": [ + "# DO NOT MODIFY THIS CELL\n", "os.environ['TEAM_URL'] = destination_team_url\n", "os.environ['API_TOKEN'] = destination_api_key" ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "### Push analysis to the destination team\n", "\n", - "Hint: Press tab while writing the file name to auto complete" + "Hint: Press tab while writing the file name to auto complete\n", + "\n", + "
Looking for the workspace id? Open process analytics, select the workspace, and view the browser URL
(ex. https://team.cluster.celonis.cloud/process-mining/ui?workspaces=694c4a6a-af11-4fb1-90e7-ffbc609cce4f)
" ] }, { @@ -105,7 +123,7 @@ } ], "source": [ - "!content-cli push analysis --workspaceId 'insert workspace id here' --file 'insert_downloaded_file_in_the_previous_step_here'" + "!content-cli push analysis --workspaceId 'WORKSPACE ID TO PUSH TO HERE' --file 'DOWLOADED FILE FROM THE PREVIOUS STEP HERE' #ex. analysis_6b2166e2-0c40-43e2-b3e6-62996c7dae11.json" ] } ], @@ -130,4 +148,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +} diff --git a/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/01_data_pool_mover.ipynb b/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/01_data_pool_mover.ipynb index ceccc46..ffadf71 100644 --- a/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/01_data_pool_mover.ipynb +++ b/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/01_data_pool_mover.ipynb @@ -16,10 +16,10 @@ "metadata": {}, "outputs": [], "source": [ - "source_team_url = 'https://your_team.celonis.cloud/'\n", - "source_api_key = 'your_api_token'\n", - "destination_team_url = 'https://your_team.celonis.cloud/'\n", - "destination_api_key = 'your_api_token'" + "source_team_url = 'INSERT TEAM URL HERE' #ex. https://your_team.celonis.cloud/\n", + "source_api_key = 'API TOKEN HERE'\n", + "destination_team_url = 'INSERT TEAM URL HERE' #ex. https://your_team.celonis.cloud/\n", + "destination_api_key = 'API TOKEN HERE'" ] }, { @@ -35,16 +35,20 @@ "metadata": {}, "outputs": [], "source": [ + "# DO NOT MODIFY THIS CELL\n", "import os\n", "os.environ['TEAM_URL'] = source_team_url\n", "os.environ['API_TOKEN'] = source_api_key" ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ - "### Pull data pool from the source team" + "### Pull data pool from the source team\n", + "\n", + "
Looking for the data pool ID? Open to the pool and view the browser URL
(ex. https://team.cluster.celonis.cloud/integration/ui/pools/52f73644-9369-4604-a050-92cb493f2025)
" ] }, { @@ -61,7 +65,7 @@ } ], "source": [ - "!content-cli pull data-pool --id 'id_of_your_data_pool'" + "!content-cli pull data-pool --id 'DATA POOL ID HERE'" ] }, { @@ -78,6 +82,7 @@ "metadata": {}, "outputs": [], "source": [ + "# DO NOT MODIFY THIS CELL\n", "import os\n", "os.environ['TEAM_URL'] = destination_team_url\n", "os.environ['API_TOKEN'] = destination_api_key" @@ -105,7 +110,7 @@ } ], "source": [ - "!content-cli push data-pool --file 'the_file_that_got_downloaded_in_the_previous_step'" + "!content-cli push data-pool --file 'DOWLOADED FILE FROM THE PREVIOUS STEP HERE' #ex. data-pool_7796633e-c2db-4524-92ec-85ae5fe65282.json" ] } ], @@ -130,4 +135,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +} diff --git a/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/02_asset_mover.ipynb b/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/02_asset_mover.ipynb index c43ff0f..eb464e2 100644 --- a/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/02_asset_mover.ipynb +++ b/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/02_asset_mover.ipynb @@ -1,12 +1,13 @@ { "cells": [ { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "## Asset Mover using Content CLI\n", "\n", - "### This script moves an Asset (skill, view, analysis, knowledge model etc. in the studio) from one team to another " + "### This script moves any asset in Studio (skill, view, analysis, knowledge model etc.) from one team to another " ] }, { @@ -15,10 +16,10 @@ "metadata": {}, "outputs": [], "source": [ - "source_team_url = 'https://your_team.celonis.cloud/'\n", - "source_api_key = 'your_api_token'\n", - "destination_team_url = 'https://your_team.celonis.cloud/'\n", - "destination_api_key = 'your_api_token'" + "source_team_url = 'INSERT TEAM URL HERE' #ex. https://your_team.celonis.cloud/\n", + "source_api_key = 'API TOKEN HERE'\n", + "destination_team_url = 'INSERT TEAM URL HERE' #ex. https://your_team.celonis.cloud/\n", + "destination_api_key = 'API TOKEN HERE'" ] }, { @@ -34,16 +35,20 @@ "metadata": {}, "outputs": [], "source": [ + "# DO NOT MODIFY THIS CELL\n", "import os\n", "os.environ['TEAM_URL'] = source_team_url\n", "os.environ['API_TOKEN'] = source_api_key" ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ - "### Pull asset from the source team" + "### Pull asset from the source team\n", + "\n", + "
Looking for the asset key? Locate the asset, open the ... menu, and click Key
" ] }, { @@ -60,7 +65,7 @@ } ], "source": [ - "!content-cli pull asset --key 'insert_asset_key_here'" + "!content-cli pull asset --key 'ASSET KEY HERE' #ex. test.testview" ] }, { @@ -77,16 +82,20 @@ "metadata": {}, "outputs": [], "source": [ + "# DO NOT MODIFY THIS CELL\n", "os.environ['TEAM_URL'] = destination_team_url\n", "os.environ['API_TOKEN'] = destination_api_key" ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "### Push asset to the destination team\n", - "Hint: Press tab to autocomplete the file name" + "Hint: Press tab to autocomplete the file name\n", + "\n", + "
Looking for the package key? Locate the package, open the ... menu, and click Key
" ] }, { @@ -103,15 +112,8 @@ } ], "source": [ - "!content-cli push asset --file 'insert_downloaded_asset_file_name' --package 'package_key_to_push_the_asset_to'" + "!content-cli push asset --file 'DOWLOADED FILE FROM THE PREVIOUS STEP HERE' --package 'PACKAGE KEY TO PUSH THE ASSET TO HERE' #example file: asset_mykm.yml" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { @@ -135,4 +137,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +} diff --git a/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/03_workflow_mover.ipynb b/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/03_workflow_mover.ipynb index a6d7738..4728836 100644 --- a/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/03_workflow_mover.ipynb +++ b/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/03_workflow_mover.ipynb @@ -15,10 +15,10 @@ "metadata": {}, "outputs": [], "source": [ - "source_team_url = 'https://your_team.celonis.cloud/'\n", - "source_api_key = 'your_api_token'\n", - "destination_team_url = 'https://your_team.celonis.cloud/'\n", - "destination_api_key = 'your_api_token'" + "source_team_url = 'INSERT TEAM URL HERE' #ex. https://your_team.celonis.cloud/\n", + "source_api_key = 'API TOKEN HERE'\n", + "destination_team_url = 'INSERT TEAM URL HERE' #ex. https://your_team.celonis.cloud/\n", + "destination_api_key = 'API TOKEN HERE'" ] }, { @@ -34,6 +34,7 @@ "metadata": {}, "outputs": [], "source": [ + "# DO NOT MODIFY THIS CELL\n", "import os\n", "os.environ['TEAM_URL'] = source_team_url\n", "os.environ['API_TOKEN'] = source_api_key" @@ -60,7 +61,7 @@ } ], "source": [ - "!content-cli pull workflow --id 'insert_workflow_id_here'" + "!content-cli pull workflow --id 'WORKFLOW ID HERE'" ] }, { @@ -77,6 +78,7 @@ "metadata": {}, "outputs": [], "source": [ + "# DO NOT MODIFY THIS CELL\n", "os.environ['TEAM_URL'] = destination_team_url\n", "os.environ['API_TOKEN'] = destination_api_key" ] @@ -104,15 +106,8 @@ } ], "source": [ - "!content-cli push workflow --file 'insert_downloaded_file_in_the_previous_step_here'" + "!content-cli push workflow --file 'DOWLOADED FILE FROM THE PREVIOUS STEP HERE'" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { @@ -136,4 +131,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +} diff --git a/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/04_analysis_to_studio_mover.ipynb b/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/04_process_analysis_to_studio_mover.ipynb similarity index 63% rename from pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/04_analysis_to_studio_mover.ipynb rename to pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/04_process_analysis_to_studio_mover.ipynb index 18ab73e..ed244f8 100644 --- a/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/04_analysis_to_studio_mover.ipynb +++ b/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/04_process_analysis_to_studio_mover.ipynb @@ -1,10 +1,15 @@ { "cells": [ { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ - "## Move Analysis from Process Analytics to Studio" + "## Move Analysis from Process Analytics to Studio\n", + "\n", + "
\n", + " NOTE: This tutorial is intended for use with Process Analytics analyses. To pull data from Studio Analyses, see our Asset Mover Template\n", + "
" ] }, { @@ -13,10 +18,10 @@ "metadata": {}, "outputs": [], "source": [ - "source_team_url = 'https://your_team.celonis.cloud/'\n", - "source_api_key = 'your_api_token'\n", - "destination_team_url = 'https://your_team.celonis.cloud/'\n", - "destination_api_key = 'your_api_token'" + "source_team_url = 'INSERT TEAM URL HERE' #ex. https://your_team.celonis.cloud/\n", + "source_api_key = 'API TOKEN HERE'\n", + "destination_team_url = 'INSERT TEAM URL HERE' #ex. https://your_team.celonis.cloud/\n", + "destination_api_key = 'API TOKEN HERE'" ] }, { @@ -32,16 +37,20 @@ "metadata": {}, "outputs": [], "source": [ + "# DO NOT MODIFY THIS CELL\n", "import os\n", "os.environ['TEAM_URL'] = source_team_url\n", "os.environ['API_TOKEN'] = source_api_key" ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ - "### Pull analysis from process analytics in source team as an asset" + "### Pull analysis from process analytics in source team as an asset\n", + "\n", + "
Looking for the analysis ID? Open to the analysis and view the browser URL
(ex. https://team.cluster.celonis.cloud/process-mining/analysis/dd277835-1140-4f30-98ea-1b190bd21cec/)
" ] }, { @@ -58,7 +67,7 @@ } ], "source": [ - "!content-cli pull analysis --id 'insert_id_of_analysis' --asset" + "!content-cli pull analysis --id 'ANALYSIS ID HERE' --asset" ] }, { @@ -75,16 +84,20 @@ "metadata": {}, "outputs": [], "source": [ + "# DO NOT MODIFY THIS CELL\n", "os.environ['TEAM_URL'] = destination_team_url\n", "os.environ['API_TOKEN'] = destination_api_key" ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ "### Push downloaded analysis file to the studio as asset in the source team\n", - "Hint: Press tab while writing the file name to auto complete" + "Hint: Press tab while writing the file name to auto complete\n", + "\n", + "
Looking for the package key? Locate the package, open the ... menu, and click Key
" ] }, { @@ -101,15 +114,8 @@ } ], "source": [ - "!content-cli push asset --file 'insert_downloaded_asset_file_name' --package 'package_key_to_push_the_asset_to'" + "!content-cli push asset --file 'DOWLOADED FILE FROM THE PREVIOUS STEP HERE' --package 'PACKAGE KEY TO PUSH TO HERE' #example file: asset_6b2166e2-0c40-43e2-b3e6-62996c7dae11.yaml" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { @@ -133,4 +139,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +} diff --git a/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/06_package_mover.ipynb b/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/06_package_mover.ipynb index 9972a44..de1f2e7 100644 --- a/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/06_package_mover.ipynb +++ b/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/06_package_mover.ipynb @@ -15,10 +15,10 @@ "metadata": {}, "outputs": [], "source": [ - "source_team_url = 'https://your_team.celonis.cloud/'\n", - "source_api_key = 'your_api_token'\n", - "destination_team_url = 'https://your_team.celonis.cloud/'\n", - "destination_api_key = 'your_api_token'" + "source_team_url = 'INSERT TEAM URL HERE' #ex. https://your_team.celonis.cloud/\n", + "source_api_key = 'API TOKEN HERE'\n", + "destination_team_url = 'INSERT TEAM URL HERE' #ex. https://your_team.celonis.cloud/\n", + "destination_api_key = 'API TOKEN HERE'" ] }, { @@ -34,16 +34,20 @@ "metadata": {}, "outputs": [], "source": [ + "# DO NOT MODIFY THIS CELL\n", "import os\n", "os.environ['TEAM_URL'] = source_team_url\n", "os.environ['API_TOKEN'] = source_api_key" ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ - "#### Pull Package from the source team" + "#### Pull Package from the source team\n", + "\n", + "
Looking for the package key? Locate the package, open the ... menu, and click Key
" ] }, { @@ -64,7 +68,7 @@ } ], "source": [ - "!content-cli pull package --key 'package_key'" + "!content-cli pull package --key 'PACKAGE KEY HERE'" ] }, { @@ -81,6 +85,7 @@ "metadata": {}, "outputs": [], "source": [ + "# DO NOT MODIFY THIS CELL\n", "os.environ['TEAM_URL'] = destination_team_url\n", "os.environ['API_TOKEN'] = destination_api_key" ] @@ -107,7 +112,7 @@ } ], "source": [ - "!content-cli push package --file 'downloaded_zip_file_in_previous_step'" + "!content-cli push package --file 'DOWLOADED FILE FROM THE PREVIOUS STEP HERE' #ex. package_testpackage.zip" ] } ], @@ -132,4 +137,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +} diff --git a/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/07_action_engine_skill_mover.ipynb b/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/07_action_engine_skill_mover.ipynb index 355107d..06ce8f8 100644 --- a/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/07_action_engine_skill_mover.ipynb +++ b/pycelonis1/00_manage_celonis/00_ibc_to_ibc_movers/07_action_engine_skill_mover.ipynb @@ -15,10 +15,10 @@ "metadata": {}, "outputs": [], "source": [ - "source_team_url = 'https://your_team.celonis.cloud/'\n", - "source_api_key = 'your_api_token'\n", - "destination_team_url = 'https://your_team.celonis.cloud/'\n", - "destination_api_key = 'your_api_token'" + "source_team_url = 'INSERT TEAM URL HERE' #ex. https://your_team.celonis.cloud/\n", + "source_api_key = 'API TOKEN HERE'\n", + "destination_team_url = 'INSERT TEAM URL HERE' #ex. https://your_team.celonis.cloud/\n", + "destination_api_key = 'API TOKEN HERE'" ] }, { @@ -34,16 +34,20 @@ "metadata": {}, "outputs": [], "source": [ + "# DO NOT MODIFY THIS CELL\n", "import os\n", "os.environ['TEAM_URL'] = source_team_url\n", "os.environ['API_TOKEN'] = source_api_key" ] }, { + "attachments": {}, "cell_type": "markdown", "metadata": {}, "source": [ - "### Pull action engine skill from the source team" + "### Pull action engine skill from the source team\n", + "\n", + "
Looking for the action engine skill ID? Open to Action Engine, open the project from the projects tab. Select the desired skill and view the browser URL
(ex. https://team.cluster.celonis.cloud/action-engine/ui/projects/deef790a-2a2b-4637-a99b-77d271278279/skills/43ac6d44-1320-4c17-be39-b7307474ebc1)
" ] }, { @@ -60,7 +64,7 @@ } ], "source": [ - "!content-cli pull skill --skillId 'insert_skill_id_here' --projectId 'insert_project_id_here'" + "!content-cli pull skill --skillId 'ACTION ENGINE SKILL ID HERE' --projectId 'PROJECT ID HERE'" ] }, { @@ -77,6 +81,7 @@ "metadata": {}, "outputs": [], "source": [ + "# DO NOT MODIFY THIS CELL\n", "os.environ['TEAM_URL'] = destination_team_url\n", "os.environ['API_TOKEN'] = destination_api_key" ] @@ -104,7 +109,7 @@ } ], "source": [ - "!content-cli push skill --projectId 'insert_new_project_id_here' --file 'insert_downloaded_file_name_here'" + "!content-cli push skill --projectId 'NEW PROJECT ID HERE' --file 'DOWLOADED FILE FROM THE PREVIOUS STEP HERE' #ex. skill_08594b68-2731-4ede-abaf-4fd7eb5720ca.json" ] } ], @@ -129,4 +134,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +}