Addition of new activity impacting old workflows

Hi Thiomir/ Maxim

I have added a new activity that is working for newly created workflows but causing issues on older workflows and I want that newly added activity to be executed on older workflows also. How can I achieve this because currently I am getting issues.

Thanks

If by “older workflows” you mean executions that have already been started and are still running (have not completed), you would need to add the new activity invocation in workflow code using versioning

Hi @tihomir,

Yes by older workflows means running workflows which are not completed. After versioning does that newly added activity will be executable on older running workflows. Because I want that newly added activity to be executed on older running workflows as well. As there may be the cases where I have workflows running from last 20-25 days. Because if that changes not executed on older workflows it is gonna fail at functionality level.

Thanks

Hi @tihomir,

Any update??

Your running executions can be at different execution points. If you add change before ones exec point (with versioning) it would not get executed unless you use reset dor example. Sounds as adding this change at the very end od your workflow code is what you might want to do ( still would need to version your change )