Next up is a worked example for embedding an archetype in the GLIF. We will use the archetype editor contained within the GLIF Editor and put some GELLO in the archetype itself to calculate a Body Mass Index (BMI) for some inputted values. Then we will retrieve the BMI value out of the persisted archetype instance to execute a GLIF Decision.
-- -- -- -- -- -- -- -- --
Open a blank GLIF file in the GLIF Editor and save it as BMI.GLIF
[We don't need to load test.xml as this example will use the archetype as the data source.]
Click on the the Allow Modifications button again to enable editing.