Skip to content

Commit

Permalink
fixed issue of saving the file processed: Check-in result settings ha…
Browse files Browse the repository at this point in the history
…d been ignored in case of failure within rules.
  • Loading branch information
koechlm committed May 28, 2022
1 parent 308655d commit 7976708
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Autodesk.VltInvSrv.iLogicSampleJob/iLogicJobExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,11 @@ public JobOutcome Execute(IJobProcessorServices context, IJob job)
{
mAllRulesTextWrp = "External Rule: " + mExtRule;
}
mDoc.Save2(false);
if (mJobCheckInResult == true)
{
mDoc.Save2(false);
}

}


Expand Down Expand Up @@ -679,7 +683,11 @@ public JobOutcome Execute(IJobProcessorServices context, IJob job)
mAllRules.Add(rule.Name);
}
}
mDoc.Save2(false);

if (mJobCheckInResult == true)
{
mDoc.Save2(false);
}
}
}

Expand Down

0 comments on commit 7976708

Please sign in to comment.