Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Due to some users skirting the system -- which I should have forseen -- I have to make adjustments to our Change Notice & Change Activity workflows. This requires adding a new Life Cycle State and updating all the EPMDocs.
Of course we have a bunch of workflows currently running that are tied to the old Life Cycle template and use the previous version of the Change Notice workflow.
After I edit/check in the LC template and Change Notice workflow and I reassign life cycle of all the EPMDocs to the new LC template, any new Change Notices created should work fine.
The problem I run into is what do I do with the workflows in process. Is there a way to updating existing change notice workflows to use the latest template? While the changes aren't extensive, they're different enough that the new LC template will not work with the old CN workflow.
My initial thought was to update only the EPMDocs that are not associated with an active change workflow. The problem, of course, becomes how do I track those files in order to update them in the future to the new LC template. These are change notices that may take months to complete so it becomes much more difficult to track when they are finally closed and I can update their life cycle template.
If an EPMDoc is left with the old LC template and someone starts a new workflow I anticipate errors that may require manual intervention of setting them to the correct LC template. I'm okay with that as long as after that manual intervention the workflow continues on its merry way.