Skip to content

TI code ​

Use a TurboIntegrator (TI) code block to run statements from a Google Sheet. You can include blocks alongside TeamOne modeling definitions or use sheet formulas to build statements from cell values.

Prolog ​

Enter ::code.prolog or ::code in column A, then add the TI statements in the rows below in the same column. Use the prolog for code that belongs at the start of TI execution.

A prolog block on a TeamOne modeling sheet

See the prolog example spreadsheet.

Epilog ​

Enter ::code.epilog in column A, then add the statements below it. Use the epilog to close out a run, for example by writing a completion message to the server log.

An epilog block on a TeamOne modeling sheet

See the epilog example spreadsheet.

Example ​

Use these rows to log a message in each TI phase.

Column A
::code.prolog
LogOutput('INFO', 'Starting TeamOne example');
::code.epilog
LogOutput('INFO', 'Finished TeamOne example');

Use Run code on the Content tab to execute the blocks and review the Message log. To write and run a snippet interactively or add it to the active sheet, open TI console.