Skip to content
  • There are no suggestions because the search field is empty.

How-To: Utilize Input and Instance Parameters

Overview

In HighByte, input and instance parameters enable dynamic and flexible configurations. These parameters allow you to modify specific values at runtime, making it easier to reuse inputs and instances with varying configurations..

 

Utilizing Parameters

 

Parameterizing Inputs

You can parameterize inputs to change the data they query or process. For instance, consider a SQL input that retrieves machine information with a fixed machine ID:

SELECT * FROM machineTable WHERE machineID=123

This query can be parameterized to accept a machine ID at runtime:

SELECT * FROM machineTable WHERE machineID=

With this setup, the `myid` parameter can be provided when the input is referenced , such as:

When this input is read, `myid` is replaced with `123`, returning information for the specified machine.

 

Using Templates with Parameters 

Templating can be utilized in conjunction with parameterization to create many configuration objects when each object differs by a small amount. 

 

provide multiple values for parameters. For example, you can template a connection input in a flow. You could also template an instance attribute to _

 

 Multiple Parameters

Both inputs and instances can accept multiple parameters. When multiple parameters are used, the references are structured as follows.

Note: Parameters are case-sensitive and order is NOT important

 

Conclusion

Using input and instance parameters in HighByte allows you to create adaptable and reusable configurations. By specifying parameters at runtime, you can customize how inputs and instances behave, enhancing the flexibility of your data processing workflows.