IBM BPM, V8.0.1, All platforms > Create processes in IBM Process Designer > Create user interfaces for business processes > Building Heritage Coaches > Configure Heritage Coach controls > Controlling field and other formatting in Heritage Coaches

Use formatting with variables

Learn how to apply formatting to a Heritage Coach control that is bound to a variable.

You can apply formatting to a Heritage Coach control that is bound to a variable. All input values are treated as numbers, even if they are bound to string variables.

If you create a service that includes a decimal variable named tw.local.amount with a default value of 251000.0 and you bind a Heritage Coach control to the tw.local.amount variable, you can still specify the format in which the value is displayed even though the value that the control displays during run time is determined by the value of the variable to which the control is bound.

For example, if the US currency (dollars/cents) format is selected for the Heritage Coach control, when you run the service the Heritage Coach control is populated with the value of the variable, and the value is formatted to $251,000.00.

Controlling field and other formatting in Heritage Coaches


Related tasks:
Use formatting with language localization resources