Hi all,
I am trying to use pipeline to first search/filter out the records that I want, then within those records, I want to sum up a field ("hours") and update a record on another app.
I tried the following:
Search records --> Look up the record that I want to update --> update record with sum
For the update record step, I have the following jinja code but it's giving me an error because it exceeded 100 records:
{% set total = namespace(value=0) %}
{% for r in range(90) %}
{% set total.value = total.value + a
{% endfor %}
{{ total.value }}
Is there another way to do this? I wanted to try the "For each" loop but there isn't a global variable that I can assign.
Thank you!
------------------------------
Jay
------------------------------