Public Static Collection

Static Parameters are Parameters that are not received from any system but rather are created within the GLU.Engine. The Reusable and Static Parameters tool is used to create Parameters that will be used repeatedly through the configuration of your integration. There is no limit to the number of such Static Parameters that can be added. Each Parameter has a ‘Properties’ Tab within the ‘Parameter Control Panel’.

A Static Parameter can not be Null (Empty).

A Static Parameter can not be changed throughout the life of the transaction.

Static Parameter Examples

Here an http_status Parameter is being set as a Static Parameter.

Within the Parameter Manager Panel, the ‘Name’ field is required and the ‘Default’ field can be defined. You can indicate if the Parameter is a ‘timestamp’ using the checkbox and you can use the radio buttons to define the treatment of the Parameter value in the logs.

If the Default value is set, this acts as a preset value for the Static Parameter to when it is set to null. It is not possible to set a default value when the type is set to Timestamp.

Setting the type to Timestamp will result in the value of this Static Parameter being set to a DateTime structure. The DateTime value is assigned when Requests are received.

There is no format for timestamp it is simply saved as a ‘LONG’ format. If you want to Format the timestamp there are two ways:

1. In the Parameter Control Panel within the Un/marshaling tab you can set the Date Format – the default is dd/MM/yyyy.

2. Derived Parameters have a function called DATEFORMAT(${yourtimestamp}.

The timestamp is set to the time when the transaction is first initiated and it is kept static throughout the flow through the application. This means if the flow moves to other transactions in the application, even though the flow is in another transaction the timestamp value will still be the same.

The diagram illustrates how it is possible to navigate between transactions, and when doing so, note that the timestamp will always stay the same.

In the Orchestration, if a Connector is called, the flow moves out of the application. When the flow returns the timestamp value will still be the same. This is the case for synchronous and asynchronous connections.

Timestamps versus NOW variable: Timestamp values are always static throughout the transaction in the application. This is not the case for variables defined as ${NOW}.

‘NOW’ valuables only reflect the time at the point the value is used.

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support
Fill the form and we’ll contact you shortly

    I agree with

    We uses cookies to make your experience on this website better. Learn more
    Accept cookies