Hi,
When building out a new repository - how does that work with existing workflows that you created in other repositories - do they have to be connected to the new one (hopefully not rebuilt) and how? Thank you!
Hi,
When building out a new repository - how does that work with existing workflows that you created in other repositories - do they have to be connected to the new one (hopefully not rebuilt) and how? Thank you!
Depends on if you are running one instance of workflow or multiples.
If one instance, you will have to go into each workflow and link them to the additional repository(ies) and re-publish them.
If separate instances of Workflow, you’ll need to open each one export it (File > Save As). Then open it in the other instance, change the repository it is linked to, and publish it.
I run a test environment with separate repository, Forms, and Workflow, so that second option is what I do. It’s annoying, but it is what it is. It wouldn’t be so bad if I could run separate instances of Workflow Designer at once. As it is, I run one locally and one from a server so that I can work on both at the same time.
That's not how the one instance case works. You cannot have multiple connections profiles in the same workflow and have it choose which one to run.
Workflows with starting rules will need to have the rule specify which repository to check. Workflow definitions have one associated connection profile. That is what is used when running the workflow. The repository is expected to match between the event that satisfies the starting rule and the workflow that this rule starts.
If you need the same workflow to run in 2 repositories, you will need to have 2 copies of it and of the starting rules. Each copy would have a connection profile pointing to the appropriate repository. The associated starting rule will have an extra condition on the repository name.
Thank you Miruna - much appreciated.
Oh, I'm so sorry for misunderstanding that.