From 0e378dc19c06961cf7051be9cb13096effcaee8a Mon Sep 17 00:00:00 2001 From: mr Date: Wed, 14 Jan 2026 13:55:32 +0100 Subject: [PATCH] add Selected in Workflow Exec --- models/workflow/workflow.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/models/workflow/workflow.go b/models/workflow/workflow.go index f9738ba..5f37275 100644 --- a/models/workflow/workflow.go +++ b/models/workflow/workflow.go @@ -42,6 +42,11 @@ type Workflow struct { ScheduleActive bool `json:"schedule_active" bson:"schedule_active"` // ScheduleActive is a flag that indicates if the schedule is active, if not the workflow is not scheduled and no execution or booking will be set // Schedule *WorkflowSchedule `bson:"schedule,omitempty" json:"schedule,omitempty"` // Schedule is the schedule of the workflow Shared []string `json:"shared,omitempty" bson:"shared,omitempty"` // Shared is the ID of the shared workflow // AbstractWorkflow contains the basic fields of a workflow + + SelectedInstances ConfigItem `json:"selected_instances"` + SelectedPartnerships ConfigItem `json:"selected_partnerships"` + SelectedBuyings ConfigItem `json:"selected_buyings"` + SelectedStrategies ConfigItem `json:"selected_strategies"` } func (d *Workflow) GetAccessor(request *tools.APIRequest) utils.Accessor {