Execution order with the Load() function

Following on from my earlier post around the now() function in an expression rule, I'm starting to experiment with the art of the possible.

We have various web services that are called from UI screens - some are quite quick and others are quite slow, and we're trying to measure the performance of the services being called within our IT estate.

Can someone confirm that when a UI interface loads, if the statements within the LOAD ( ) are executed in the sequential order they are written ? ie top to bottom and not re-evaluated ?

Thank you

Paul

OriginalPostID-223568

OriginalPostID-223568

  Discussion posts and replies are publicly visible

Parents
  • Hi Paul,
    As per the nature of load() is concerned, the local variables are set only once, the first time load() evaluates, and afterward the value is only changed by interaction with the interface.
    Having said that, the local variables that contain database queries, web service calls, custom plugins, and even Appian functions that query data stored within Appian may be evaluated in parallel to reduce the overall evaluation time.
    You could also check the nature of evaluation in the performance view of the SAIL interface.
    Thanks
Reply
  • Hi Paul,
    As per the nature of load() is concerned, the local variables are set only once, the first time load() evaluates, and afterward the value is only changed by interaction with the interface.
    Having said that, the local variables that contain database queries, web service calls, custom plugins, and even Appian functions that query data stored within Appian may be evaluated in parallel to reduce the overall evaluation time.
    You could also check the nature of evaluation in the performance view of the SAIL interface.
    Thanks
Children
No Data