System Model Definition Query

System Model Definition Query

The System Model Definition is helpful in training your AI Models, building queries and exposing your application ontology to visual graph tools.

Navigate to the API Explorer:


Remove the boilerplate query, and replace the query with the query defined below.
Notes
Note: if you want ALL models, including system (platform models) you must remove the 'dataModelDeploymentId: { _isNull: false} portion of the query. If you leave this, it will only query models that have at least one deployment. 

  1. {
      modelDefinitions(where: {
        metadata:  {
           mfgx:  {
              dataModel:  {
                 dataModelDeploymentId:  {
                    _isNull: false
                 }
              }
           }
        }
        _not: {
          _or: [
            {
              metadata:  {
                mfgx:  {
                    isDataChangeModel:  {
                      _eq: true
                    }          
                }
              }
            },
            {
              name:  {
                _endsWith: "_CustomFields"
              }
            }
          ]
        }
      }) {
        name
        description
        fields {
          name
          type
          description
        }
      }
    }

After executing the Query - the Results panel will include the entire data graph of your Fuuz Tenant.


Now you can take those results, by collapsing at line #1 - and export them to another format - notepad, etc. 
Attached is a sample export from one of our MES accelerator applications. 

    • Related Articles

    • Data Models

      Open the Fuuz app. Select the Fuuz dropdown menu. Select the System option. Select the Data Modeling option. Select the Data Models option. From here, it is possible to perform the following task or tasks. Search for a data model. Create a data ...
    • Data Flow Models

      Open the Fuuz app. Select Fuuz → System → Orchestration → Data Flow Models dropdown menu. Or type Data Flow into the Search Bar: It is possible to perform the following task or tasks. Search for a data flow model. View the Model Info of a node. ...
    • Data Model Deployment Logs

      Open the Fuuz app. Select the Fuuz dropdown menu. Select the System option. Select the Data Modeling option. Select the Data Model Deployment Logs option. From here, it is possible to perform the following task or tasks. Search for a data model ...
    • Data

      Screen elements in the “Data” section all have built-in mechanisms to query data from Fuuz to display on the screen. These screen elements have configurable properties in the “Data” property section that allow the user to configure what Data Model is ...
    • Data Modeling

      Open the Fuuz app. Select the Fuuz dropdown menu. Select the System option. Select the Data Modeling option. The options include: Data Model Deployment Logs Data Models Schema Designer