Skip to main content
6-Contributor
August 16, 2021
Solved

ECN Rverse the ecn workflow to particular time

  • August 16, 2021
  • 3 replies
  • 4604 views

Hi, 

 

I have done some changes in ACL to deny for all ECN access to user that had impacted all open ecn and all them were terminated and set to resolve. is there a way to reset to all affected ecn to a state on a particular time. 

 

this is in prduction system

 

Regards,

Karthik

Best answer by MikeLockwood

I created a quick and dirty report just now - attached.  Hopefully this is helpful.  Note: From the Report results, can output to Excel.

Rename from .qml.txt to just .qml to import. This is from 12.0.0.3.

 

3 replies

avillanueva
23-Emerald I
23-Emerald I
August 16, 2021

You can set the state on a Change Notice. If you are using default or similar workflows, setting to Open state will kick off a new workflow but its not the same workflow. The workflow you had terminated is dead. Hasta la vista baby. You will have to restart the workflows and manually advanced to the right point it was previously. Note, you might want to give a heads up to users as they will be getting tasks and emails as it moves through.

6-Contributor
August 16, 2021

yeah it is right but I would need to bring them alive again. is it possbile anyhow

22-Sapphire I
August 16, 2021

I created a quick and dirty report just now - attached.  Hopefully this is helpful.  Note: From the Report results, can output to Excel.

Rename from .qml.txt to just .qml to import. This is from 12.0.0.3.

 

8-Gravel
May 7, 2024

Hi Mike, Thank you very much your reply and the Report!

As I mentioned in my request for help that I'm not an administrator, am a user, and I don't have access to create this program.

I can do Advance Search. See the snapshot below.

 

Best Regards,

Naim

PTC 1.PNG

18-Opal
August 16, 2021

I see this is already marked resolve but though I'd add to it.

 

There is a way to restart an existing terminated workflow.

The upside of restarting an existing workflow of course is that you keep all the workflow info that has been already stored (with the exception of data that is stored in the Work Item) and you pick up the workflow right where you were when it was terminated.

 

I made a test workflow and terminated it from the OOTB Process Manager.

Before Terminate

d_graham_2-1629152518624.png

After Terminate

d_graham_4-1629152676487.png

 

 

I then wrote and ran some code in a Windchill shell to restart it.

It did take three tries to get the code right but it works.

After Restart

d_graham_5-1629152842753.png

 

 

Note the Start Time is the same in all images.

Where as this is suppose to correct an inadvertent termination I decided not to update the workflow's original Start Time. Although updating Start Time is doable.

Note the End Time is updated in the images.  

 

I can provide quit a bit of sight into what is going on "under the hood" but whereas this is kind of a fringe topic I'll hold off on that until some interest is shown.

 

Note that the Expression and Synch robots were also terminated and restarted.

 

So, the long and the short of this is it's doable.

 

David

6-Contributor
August 17, 2021

I need to do the same and resume the terminated. may I have the steps to do it.