trigger.files is an array which is looped upon. .path jq should be evaluated within the loop.
Current examples fail with:
Unable to resolve state from the Flowable task: io.pebbletemplates.pebble.error.PebbleException: Unable to parse jq value ‘[{name=dump.rtf, path=kestra:///company/team/test-filechange/executions/7hwybe4Ihb0ZulMFr6ZiG3/trigger/watch/2340097534978168835.rtf, size=2645, flags=15, userId=0, groupId=0, fileType=FILE, accessDate=2024-09-02T16:40:56Z, permissions=33188, updatedDate=2024-09-06T08:48:50Z, symbolicLink=false}]’ with type ‘java.util.ArrayList’ ({{ trigger.files | jq(‘.path’) }}:1)```
trigger.files
is an array which is looped upon..path
jq should be evaluated within the loop.Current examples fail with: