Skip to Main Content
Categories Expression Engine
Created by Mark Stuart-Walker
Created on Dec 16, 2024

Expression Engine to have delayed (lazy) writes

Please, fill in the below fields to enable the processing of your idea.

Who would benefit?

Anyone with a large number of expressions on one entity and not concerned with the promptness of the assignment

What impact would it make?

Improve responsiveness as the processing is

How should it work?

=DELAY(UPPER(LEFT(FIELDVALUE("Field1"),3)),10)

The expression will not not be evaluated and assigned to the destination field immediately. The evaluation and assignment should be delayed by (at least) 10 seconds and then transacted.

Perhaps it only makes sense to use this on the field Expression Templates.


Why is it needed?

I believe that the Expression Engine operates as a Server Extension, thus adding more and more expressions will result in degraded performance.

By delaying the writes into a scheduled process the processing is deferred.


Further thought is needed for the delay period. When there are multiple delayed expressions on one entity it would be better to coincide all updates within the same transaction. Perhaps the check should run every 10 seconds and pick up all DELAY()'d transactions where the delay has expired.


  • Attach files