Map function
# Example of dynamic sync-entities expression
actions:
- children:
- type: action.sync-entities
options:
title: Show events
provider: DATA_PROVIDER_REST
entities: |
=$map(@ctx.datasources.list-calendars-rest, function($item) {
$.{
"entity": "events-from-calendar"
"function": "get-calendar-event-list"
"parameters": {
"accessToken": "jigx.graph.oauth",
"calendarId": $item.id
}
}
})[]Last updated
Was this helpful?