Purge workflow Data on Locked site collection

  • 21 November 2016
  • 3 replies
  • 9 views

Badge +3

Hi Team,

If i run below commands without -site parameter it goes through the entire farm:

.NWAdmin.exe -o PurgeWorkflowData -deletedLists -silent

.NWAdmin.exe -o PurgeWorkflowData -lastActivityBeforeLocal $SixMonthOld -state "Running" -silent

There are some site collections being locked in our farm. So can you please confirm what will happen if it runs through the locked site collection?

Regards,

Simran Sachdeva


3 replies

Userlevel 6
Badge +16

I suggest you to make a POC ( Proof of concept ) creating a site collection running a simple workflow and then lock it and run the command.

Let's us know the results

Badge +11

‌, have you resolved your issue?

Badge +3

Hi @burkslm, i dnt see any error while it runs through the locked site collection. So i am assuming that it already avoids the locked site collections.

Reply