Hi,
I have code below to open the serveritem and to finish/kill it.
Using the foreach loop to get the "outsideChangeSerialNo" to finish the server item. Some of them have already finished.
Is there any way to check if the sever item already finished or exist, to avoid the exception "25225 Server Item Not Found with Serial" at below fist line.
/* How to check if server item exist? */
SourceCode.Workflow.Client.ServerItem serverItem = clientConnectionWF.OpenServerItem(outsideChangeSerialNo);
if (serverItem != null)
{
serverItem.Finish();
}