Create and edit processes
You can create or edit a TurboIntegrator process in the process editor on a modeling workbench.
Procedure
-
To create a new process:
- Open a modeling workbench.
- In the Databases tree, expand the database on which you want to create the new process.
- Right-click the Processes group.
- Click Create process.
- You can change the database where the process is stored by selecting a database from the Database list. The current database is selected by default.
- Enter a name for the process.
- Click Create.
-
To edit an existing process:
- Open a modeling workbench.
- Right-click the process in the Databases tree.
- Click Edit process.
-
Define a data source, set parameters, and enter your
process statements in the process editor. Process statements are generally TM1® TurboIntegrator or Rules functions that execute actions upon data or metadata
in your database.
- For full descriptions of all TurboIntegrator functions, see TM1 TurboIntegrator Functions on IBM Knowledge Center.
- For full descriptions of all Rules functions, see TM1 Rules Functions on IBM Knowledge Center. All Rules functions, with the exceptions of STET and ISLEAF, are valid in TurboIntegrator processes.
A TurboIntegrator process has four distinct procedures that are executed sequentially when you run a process.
Procedure Description Prolog
A series of statements to be executed before the data source is processed.
Metadata
A series of statements that update or create cube, dimensions, and other metadata structures during processing.
Data
A series of statements that manipulate values for each record in the data source.
Epilog
A series of statements to be executed after the data source is processed.
You must ensure that you create statements in the appropriate procedure within the process. For example, a statement that creates a new cube should be in the Metadata procedure. Similarly, any statements that update data values should be in the Data procedure.
When you enter a statement within any procedure section in the process editor, it must be either before this line:
#****GENERATED STATEMENTS START****
or after this line:
#****GENERATED STATEMENTS FINISH****
Do not insert any of your statements between the generated statements start and finish lines, as anything between these lines can be overwritten.
- Click Save to save the process.