@@ -12,6 +12,7 @@ package bitdrift_public.protobuf.workflow.v1;
1212import "bitdrift_public/protobuf/matcher/v1/log_matcher.proto" ;
1313import "bitdrift_public/protobuf/state/v1/matcher.proto" ;
1414import "bitdrift_public/protobuf/state/v1/scope.proto" ;
15+ import "bitdrift_public/protobuf/workflow/v1/save_field.proto" ;
1516import "validate/validate.proto" ;
1617
1718// The wrapper for the list of workflows. Top-level item used to send information
@@ -110,27 +111,6 @@ message Workflow {
110111 string id = 1 ;
111112 }
112113
113- // The log's field value, if available, will be snapped, and persisted to the workflow state.
114- // This can be looked up by ID by further transitions.
115- message SaveField {
116- string id = 1 ;
117-
118- oneof save_field_type {
119- // Saves the value of a specified field from the log. If the field is not present, nothing
120- // is saved.
121- string field_name = 2 ;
122-
123- // Saves the message of the log.
124- bool message = 3 ;
125- }
126-
127- // If provided, this must specify a regex with a single capture group. The value of the
128- // captured group will be saved instead of the whole field value. If not provided, the whole
129- // field value will be saved. If the regex doesn't match the field value, nothing will be
130- // saved.
131- optional string regex_capture = 4 ;
132- }
133-
134114 // The configuration of a value extraction for a Sankey diagram.
135115 message SankeyDiagramValueExtraction {
136116 // The ID of the Sankey diagram to extract the value for.
0 commit comments