We have several environments where we develop our workflows (DEV/STAGING/TESTING).As soon as everything is tested successfully we send it to PRODUCTION environment. We are preparing package files for tresting and production environment where responsible person install it according to pdf guide. We create this package file manually by exporting workflows/functions/data_sources/..., adding custom powershell scripts, new db schemas, we zip ip and send it to production team. We have currently about 15 workflows and 10 of them are clones of master workflow with different templates assigned.
Manual preparation of the package takes hours of manual work and it is error prone. Scripting these steps with REST api would be great improvment.
I would like to have on script which would clone workflows, implement templates, export workflows to dar, add all custom scripts/sql schemes and zip it. It would save horendous amount of clicking and deployment would be easier with less errors.
@ Is there also a way to import dar files and/or save workflows with a different name and/or delete workflows?
This is not possible. I'm not clear as why you want to rename the workflow during import. Why not rename it before exporting it on the source WFA. Rename it or clone it then export. Or rename it after importing on the destination WFA.
Why it has to be done during import?
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.