From b148e504388553e95ce732f141b9b9cf24455393 Mon Sep 17 00:00:00 2001 From: oguzhankoral Date: Wed, 13 Nov 2024 20:59:49 +0000 Subject: [PATCH] Mark template function as success --- SpeckleAutomateDotnetExample/AutomateFunction.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SpeckleAutomateDotnetExample/AutomateFunction.cs b/SpeckleAutomateDotnetExample/AutomateFunction.cs index 449cb70..f0a6a3d 100644 --- a/SpeckleAutomateDotnetExample/AutomateFunction.cs +++ b/SpeckleAutomateDotnetExample/AutomateFunction.cs @@ -37,6 +37,9 @@ FunctionInputs functionInputs // 5- Attach report to failed objects to be able to highlight them in viewer or Revit connector // 6- Report the automation result as SUCCESS/FAIL + automationContext.MarkRunSuccess( + "We are going to fail successfully in a bit, don't worry!" + ); } private static void AttachReportToFailedObjects(