Skip to main content
Use the arc:finally keyword to execute a section of a script after control leaves an arc:call, arc:try, arc:render, or arc:script statement. It is a convenient way to clean up the formatting of generated documents.

Parameters

None

Control Attributes

None

Example

The arc:finally block is executed when an unhandled exception occurs. It ensures that tags are closed:

See Also

  • arc:try: Define a scope to catch exceptions.
  • arc:call: Loop over items returned by an operation.
  • arc:render: Generate a document based on an Script template.
  • arc:script: Create a script block.