Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tutorial:scripting_comb_data_model [2020/07/18 02:45] admin [Activating Plugins] |
tutorial:scripting_comb_data_model [2021/01/05 03:00] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
Learning Objectives: | Learning Objectives: | ||
- | * Model scripting | + | * [[#Model scripting]] |
- | * Looping | + | * [[#Looping DataTable]] |
- | * Activating plugins | + | * [[#Activating plugins]] |
- | * Persisting and exporting | + | * [[# |
+ | * [[#Remote Execution]] | ||
This tutorial assumes that you are familiar with how to create a Combinatorial Data Model and have created a simple model with at least 2 variables named Field1 and Field2 and have generated the DataTable. | This tutorial assumes that you are familiar with how to create a Combinatorial Data Model and have created a simple model with at least 2 variables named Field1 and Field2 and have generated the DataTable. | ||
Line 19: | Line 20: | ||
| | ||
- | Run the model, you should see following returned and displayed on IDE: | + | Run the model, you should see following returned and displayed on [[../ |
Total number of rows in DataTable: 10 | Total number of rows in DataTable: 10 | ||
Line 48: | Line 49: | ||
$DATASET.notifyClient(row); | $DATASET.notifyClient(row); | ||
} | } | ||
+ | |||
+ | Make changes to your script to incorporate the plugin function calls and re-run the model. | ||
+ | |||
+ | ===== Exporting results ===== | ||
+ | When running the model in IDE, you can export/ | ||
+ | |||
+ | After model execution completes, you can export the results by menu //File / Export// or {{wiki: | ||
+ | |||
+ | Try the export and review the result file downloaded. | ||
+ | |||
+ | If you are running model remotely using [[../ | ||
+ | |||
+ | |||
+ | ===== Remote Execution ===== | ||
+ | You may run your data model remotely using REST api: | ||
+ | |||
+ | curl -X POST " | ||
+ | |||
+ | Replace " | ||
+ | |||
+ | The output is written to " | ||