How can i export and import workflows

Hi @Sintayehu_shibeshi,

Adding @Pawan answer,

please apply in hook.

fixtures = [{
                "doctype": "Workflow"
        },
			{
				"doctype": "Workflow State"
			}
	]

After then export for an apply command like:

bench export-fixtures

//OR

bench --site yourSite export-fixtures

Thank You!

1 Like