Closed geoo89 closed 2 months ago
I don't think we need a functionality to ignore templates and since I have many cases with template_definition and create_flow sharing the same sheet_name, if I understand correctly if I wanted to use ignore_row to ignore the flow creation this would also delete the template definition?
To reword your use case: The rationale is that often, you use a template to bulk-create a bunch of flows (using data sheets) that are auto-renamed to include the data row ID. You may want to avoid creation of these flows, without deleting the template (in order to create flows using the same template but different data). Is that correct?
I amended the PR so that template definitions are not affected. Please have a look.
Defines a new content index row type
ignore_row
. For rows of this type, only the columnsheet_name
is relevant. Ignores/deletes all previous template/flow/campaign/trigger definitions that match [sheet_name] in the following way:new_name
(orsheet_name
if not provided) entry is [sheet_name] is ignorednew_name
(orsheet_name
if not provided) is [sheet_name] is ignoredsheet_name
is [sheet_name] is ignoredTemplate definitions are not affected by
ignore_row
. The rationale is that often, you use a template to bulk-create a bunch of flows (using data sheets) that are auto-renamed to include the data row ID. You may want to avoid creation of these flows, without deleting the template (in order to create flows using the same template but different data).Fixes #123