Hi,
I have created new workflow in author instance. It is working as per my expectations at author environment.
Now I need to push this to publish instance.
What are the steps I need to follow?
Thanks,
Views
Replies
Total Likes
We normally have the workflows as part of the code so that they can be deployed to all the environments. If it's a one time thing, you can package the workflow from the author and deploy it to publish or just build and replicate the package to publish. If you are on AEM 6.4, workflows are stored in /conf and /var. Prior to 6.4, they were in /etc.
Views
Replies
Total Likes
How do you reliably deploy workflows from code? I have put workflow model data in both places /conf/global/settings/workflow/models and /var/workflow/models. I deploy these to the target system(s) but I find these odd things sometimes:
What is the recommended process for deploying new or updated workflows?
Should the jcr:isCheckedOut="{Boolean}false" be in the XML file that I deploy /var/workflow/models/my-model-workflow/.content.xml ?
Do we need to add a "compile" step to our deployment process, to make the updated workflow models usable?
I feel like I must be doing something wrong here, but I can find no documentation on how to deploy workflow models from codebase.
Views
Replies
Total Likes
What is the reason that you need to deploy workflows to publish instances? Not any pages or assets, but the workflow (models)? What is the reason that you need to run workflows there?
(It is very unusual.)
Jörg
Views
Replies
Total Likes
Hi Jörg,
No idea about why the original poster needs workflows on publish instance.
I was tacking my question on here in response to rmahendra's statement "We normally have the workflows as part of the code".
Maybe I should open a new discussion?
Harold
Views
Replies
Total Likes
Hi Harold,
There's no specific deployment process for workflow. It works same with as normal deployment process. Add it as part of code base. Make sure filters are set correctly and both /conf & /var part is included.
I've used the same and didn't face any issue.
Views
Replies
Total Likes
Views
Likes
Replies