GetDataset

GetDataset

Certified

Retrieve a dataset from the Timefold Platform by job ID

yaml
type: io.kestra.plugin.timefold.GetDataset
yaml
id: timefold_route
namespace: company.team

tasks:
  - id: solve
    type: io.kestra.plugin.timefold.Solve
    apiKey: "{{ secret('TIMEFOLD_API_KEY') }}"
    model: FIELD_SERVICE_ROUTING
    solveDuration: PT30S
    modelInput:
      vehicles:
        - id: Ann
          shifts:
            - id: Ann-2027-02-01
              startLocation: [33.68786, -84.18487]
              minStartTime: "2027-02-01T09:00:00Z"
      visits:
        - id: Visit A
          location: [33.77301, -84.43838]
          serviceDuration: PT1H30M
  - id: get_result
    type: io.kestra.plugin.timefold.GetDataset
    apiKey: "{{ secret('TIMEFOLD_API_KEY') }}"
    model: FIELD_SERVICE_ROUTING
    jobId: "{{ outputs.solve.jobId }}"
Properties
Possible Values
FIELD_SERVICE_ROUTINGEMPLOYEE_SCHEDULINGPICKUP_DELIVERY_ROUTING
Defaulthttps://app.timefold.ai
DefaultSTORE
Possible Values
STOREFETCHFETCH_ONENONE
Formaturi