Name: Disable-hierarchy-for-task-selection-when-task-is-chosen
Version: 14
Creator: initial_tools
Hardcoded Priority (supersedes the rating): 4.5
This Rule has moderator approval.
If a task_ has been defined, nullifies hierarchy_for_task_selection_currently_active.
Also deactivates Enable-hierarchy-for-task-selection-root and the Option created by it.
This ensures that the hierarchy of features is no longer displayed to the user when there already is a task_ being worked on.
ID: 407
Created: May 28, 2019, 1:16 p.m.
The below is the JSON description of this object.
It is annotated with links to the documentation of each component.
You can hide fields with default values to make things clearer, and copy it to a clipboard to make creating similar Rules and Options easier.
Also deactivates Enable-hierarchy-for-task-selection-root and the Option created by it.
This ensures that the hierarchy of features is no longer displayed to the user when there already is a task_ being worked on.", "dependencies" : [ { "symbol" : "?scenario_start", "weight" : 1.0, "comment_filter" : null } ], "threshold" : 1.0, "trigger" : { "repeat" : "never", "arguments" : [ { "type" : "symbol", "_comment" : "Don't use this Rule if we are actually in a planned scenario", "var" : "thisIsAPlannedScenario", "role" : "excluded", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [], "equals" : null, "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "is_reserved" : null, "symbol" : "?scenario_plan_tags" }, { "type" : "tag", "_comment" : "This matches any unfinished task.", "var" : null, "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [], "equals" : null, "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "is_reserved" : null, "symbol" : null, "comment" : null, "comment_contains" : null, "comment_matches" : null, "weight" : null, "min_weight" : null, "max_weight" : null, "nullified" : false, "requirement_is_provided" : null, "task_is_finished" : false, "arguments" : {} } ], "deactivate_if" : { "thisIsAPlannedScenario" : ["match"] } }, "actions" : [ { "type" : "create_option", "var" : "disable-hierarchy-for-task-selection-when-task-is-chosen", "name" : "disable-hierarchy-for-task-selection-when-task-is-chosen", "description" : null, "confidence" : 1000, "trigger" : { "repeat" : "never", "arguments" : [ { "type" : "option", "var" : "optionToDeactivate", "role" : "optional", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [], "equals" : null, "created_by" : { "type" : "rule", "var" : null, "role" : "optional", "targeted_by" : [], "equals" : null, "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "is_reserved" : null, "is_the_current_rule" : null, "deactivated" : null, "rule" : "Enable-hierarchy-for-task-selection-root" }, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "is_reserved" : null, "is_the_current_option" : null, "deactivated" : null, "name" : null } ], "deactivate_if" : {} }, "display" : null, "actions" : [ { "type" : "loop", "for" : "theTagToNullify", "in" : { "type" : "tag", "var" : null, "role" : "required", "targeted_by" : [], "equals" : null, "created_by" : null, "created_earlier_than" : null, "created_in_same_event_as" : null, "created_later_than" : null, "is_reserved" : null, "symbol" : "hierarchy_for_task_selection_currently_active", "comment" : null, "comment_contains" : null, "comment_matches" : null, "weight" : null, "min_weight" : null, "max_weight" : null, "nullified" : false, "requirement_is_provided" : null, "task_is_finished" : null, "arguments" : {} }, "do" : [ { "type" : "create_tag", "var" : null, "symbol" : "!nullify", "comment" : null, "weight" : null, "arguments" : [ { "type" : "variable", "nullable" : false, "var" : "theTagToNullify" } ], "mark_with" : [] } ] }, { "type" : "create_tag", "var" : null, "symbol" : "!deactivate_rule_or_option", "comment" : null, "weight" : null, "arguments" : [ { "type" : "rule", "nullable" : false, "rule" : "Enable-hierarchy-for-task-selection-root" } ], "mark_with" : [] }, { "type" : "conditional", "if" : { "type" : "reference_exists", "exists" : "optionToDeactivate" }, "then" : [ { "type" : "create_tag", "var" : null, "symbol" : "!deactivate_rule_or_option", "comment" : null, "weight" : null, "arguments" : [ { "type" : "variable", "nullable" : false, "var" : "optionToDeactivate" } ], "mark_with" : [] } ], "else" : [] } ] } ], "existing_variables" : { "thisIsAPlannedScenario" : { "type" : "symbol", "value" : null }, "disable-hierarchy-for-task-selection-when-task-is-chosen" : { "type" : "option", "value" : null } } }
all versions of this Rule:
Version 14
Version 13 (deleted)
Version 12 (deleted)
Version 11 (deleted)
Version 10 (deleted)
Version 9 (deleted)
Version 8 (deleted)
Version 7 (deleted)
Version 6 (deleted)
Version 5 (deleted)
Version 4 (deleted)
Version 3 (deleted)
Version 2 (deleted)
Version 1 (deleted)