deleted workflow not captured in update set in DEV, now it is causing problems in TEST, what can I do?

woodyfairley
Tera Guru

Regrettably I had a large number of workflows in my scoped application (Studio) in DEV, trying to learn and optimize  behaviors within the app by using Workflow editor in Studio. Deleting a lot of the useless workflows certainly took some learning, now they are gone. I was careful to ensure my update set and scope were correct at the time I deleted the workflows, but the DELETE action was not captured, and after migrating the update set to TEST, I still have the troublesome workflows. What do I do now to get rid of them? Could they be causing my important workflow to hang at "Wait for condition" activity?

Thank you in advance for reading this question, and thank you to all of the solution-providers!

Kind Regards,

Woody

1 ACCEPTED SOLUTION

Hi @woodyfairley ,

Okay, so you can try one more thing, Instead of deleting the workflow make it inactive using "Set Inactive" option and that will serve your purpose and that will get captured in Update Set.

Try this out and please give us an update.

Please mark my answer correct and helpful if this resolves your issue.
Regards,
Palak

View solution in original post

7 REPLIES 7

jackinsidend
Giga Guru

Hi,

You can find the deleted action in your dev environment, sys_update_xml.list.

Once you have it, move it to a new update set and move that to TEST and onwards.

Jack

woodyfairley
Tera Guru

I see the created update, and the last modified update, but the DELETE update is not there. Thank you for the suggestion.

Kind Regards,

Woody

Palak Gupta
Tera Guru
Tera Guru

Hi @woodyfairley ,

Did you check in "Deleted Records"? You can un-delete the workflows and then select the Update set you want to capture the DELETE action and then delete the workflow again. 

Please mark my answer correct and helpful if this resolves your issue.

Regards,

Palak

woodyfairley
Tera Guru

Thank you Palak, I found the deleted workflows in the Deleted Records module as you suggested, and chose Undelete Record for each one and they re-appeared in my scoped application in Studio. Thank you for this guidance.

As a test I created and set an update set for the application, then opened Studio and deleted one of the workflows, then closed Studio. After refreshing the screens, the deleted workflow disappeared from the scoped application in Studio but there is still no DELETE update in the update set as expected. As expected, I found a new listing in the Deleted Records module for the deleted record, so I am not sure where the update is for the DELETE action on the workflow. I am learning so much, thank you!