Skip to content

Commit

Permalink
Mark template function as success
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhankoral committed Nov 13, 2024
1 parent 92d8303 commit b148e50
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SpeckleAutomateDotnetExample/AutomateFunction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b148e50

Please sign in to comment.