Hi All,
we have encountered the delay in the execution of the process node (write Records) in the process model. The estimated time taken for the execution is over 2000ms, can anyone suggest, how to reduce the node Execution time and we have Expression rule in the node input of the smart Service .
Thanks in advance!!
regards,
Manoj Yadav.
Discussion posts and replies are publicly visible
Move complex expression rule evaluation to a script task before the Write Records node.
but we have already over 35 nodes and is there any hard limit for the node execution time in appian ?
While there is no strict hard limit on execution time, you can optimize performance by reducing the number of nodes. Where possible, consider breaking complex operations into subprocesses and executing them asynchronously to distribute the load. Additionally, avoid unnecessary node chaining, as this can introduce delays without adding value.
How much time is the expression rule taking when tested independently? Try to optimise it and if its returning a large set of data as output then its better to create a subprocess where you can call the expression rule in batches and write records in batches.
Keep in mind, that Appian is made to scale. This means that nodes are added to a queue and evaluated by one of the available execution engines. So, the node execution time includes this mechanism, but this is not the time the actual logic runs.
Make sure to minimize the evaluation time of your expression, and let Appian scale.