Frequently Asked Questions

Javascript Commands
Why do certain parts of an application’s user interface appear a repeated number of times at runtime?
This may be due to the developer not protecting custom Javascript procedural code. See this link for more details.
Why does the user interface not reflect the values retrieved from an external call?
This could be related to the inference continuing before the external call has completed. See this link for more details.
How to display a report which shows some or all of the captured input data, as well as one or more of decisions and/or calculations made by the engine?
You can use a Dialog Object to define the content of your report and include this Dialog in your decision flow. The following are 3 options in which you can do this:
  • Embed the name of the Objects you wish to display, delimited by ‘curly brackets’, inside a Label control together with any description text you wish to include 
    • Standard Label example:
      • The total cost is: £{Total_Cost}
    • HTML Label example (IsHTML=True)
      • <span style="color: red">The total cost is £{Total_Cost}</span>
      • HTML Labels can also contain images stored under the “assets” folder
        • <img src="assets/my_image.jpg" alt="My View" style="width:304px;height:228px">
  • For more dynamic reports (e.g. using HTML Tables) you can build a String Variable with the content for your report and embed this string variable inside a Label control. This is best built with HTML content
    • {My_HTML_Report_Var}
    • For Fixed Dialog Layout, you can enable a scroll bar for when the content exceeds the size of the Label control (ShowScroll=True)
  You can also use the reserved tags {__report} or {__debug} inside a Label control to display all the captured and derived value for the session. This is very useful tool for quick reports and testing.