Duong_Nguyen-Nhat_2335

How to exclude item during the export from our Workflow test environment to production

Discussion created by Duong_Nguyen-Nhat_2335 on Feb 24, 2017
This has been asked recently:

Question:

I have workflows in our workflow testing Environment(5000) which I don't want to have exported or imported to our Production environment(6000). 

Answer:

1. If you want to import/export workflow only, you can do it with the the normal export and the maintype is workflow as you already know:

.\ImportExportCLI.exe export -con $url -usr $usr -pwd $p2 -format xml -mt WorkflowDefinition -fi $filename2 -where "system_workflow.system_name unlike 'test'"

2. For the deepexport / deepimport, it only works with Application, hence you can only use the application's properties. ( like application's name) and you can't use the properties of the workflow, so you can't exclude the workflow with the specific name. This works as design.

Outcomes