Rule: Recognize-task-hierarchy-conversion-offer-conversion-to-excel
loading x elements...

Name: Recognize-task-hierarchy-conversion-offer-conversion-to-excel

Version: 5

Discussion Thread

NOTE: this Rule has been deleted.

There is a newer version of this Rule.

Creator: initial_tools

Hardcoded Priority (supersedes the rating): 4.5

This Rule has moderator approval.

When hierarchy_for_task_selection_root_miscellaneous_conversion is active, offer an Option that enables a conversion of a file into Excel (.xlsx) format.

This first uses task_obtain_file_from_user to obtain a file, then uses task_convert_file_type with require_format_excel to convert it, then offers the result for download.

ID: 274

Created: Feb. 24, 2019, 11:11 a.m.

full definition:

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.

Rule

{ "name" : "Recognize-task-hierarchy-conversion-offer-conversion-to-excel", "description" : "When hierarchy_for_task_selection_root_miscellaneous_conversion is active, offer an Option that enables a conversion of a file into Excel (.xlsx) format.

This first uses task_obtain_file_from_user to obtain a file, then uses task_convert_file_type with require_format_excel to convert it, then offers the result for download."
, "dependencies" : [

Dependency

{ "symbol" : "hierarchy_for_task_selection_root_miscellaneous_conversion" }
], "threshold" : 1.0, "trigger" :

Trigger

{ }
, "actions" : [

Create an Option

{ "type" : "create_option", "var" : "offer-conversion-to-excel", "name" : "offer-conversion-to-excel", "description" : "If selected, this first uses task_obtain_file_from_user to obtain a file, then uses task_convert_file_type with require_format_excel to convert it, then offers the result for download.", "confidence" : 0.9, "trigger" :

Trigger

{ "repeat" : [ "theCurrentSelectionTag" ], "arguments" : [

Tag filter (for search)

{ "type" : "tag", "var" : "theTaskSelectionHierarchyIsActive", "symbol" : "hierarchy_for_task_selection_currently_active" }
,

Tag filter (for search)

{ "type" : "tag", "var" : "theTriggeringHierarchyTag", "targeted_by" : [

Tag filter (for search)

{ "type" : "tag", "var" : "theCurrentSelectionTag", "symbol" : "hierarchy_for_task_selection_currently_active" }
], "symbol" : "hierarchy_for_task_selection_root_miscellaneous_conversion" }
], "deactivate_if" : { "theTaskSelectionHierarchyIsActive" : ["no_match"] } }
, "display" :

Option Display

{ "must_always_be_shown" : true, "message_components" : [

Text message component

{ "type" : "text", "text" : "Convert a file into Excel format." }
] }
, "actions" : [

Create a Tag

{ "type" : "create_tag", "symbol" : "!nullify", "arguments" : [

Variable

{ "type" : "variable", "var" : "theCurrentSelectionTag" }
] }
,

Create a Tag

{ "type" : "create_tag", "var" : "theTask", "symbol" : "task_obtain_file_from_user", "mark_with" : ["signal"] }
,

Create a Tag

{ "type" : "create_tag", "var" : "theRequireTag", "symbol" : "require_a_file", "arguments" : [

Variable

{ "type" : "variable", "var" : "theTask" }
], "mark_with" : ["signal"] }
,

Create an Option

{ "type" : "create_option", "var" : "react-to-user-file-by-starting-file-conversion-task", "name" : "react-to-user-file-by-starting-file-conversion-task", "description" : "Waits until a task_obtain_file_from_user is satisfied, then uses the file to start another task based on it.", "confidence" : 1000, "trigger" :

Trigger

{ "arguments" : [

Tag filter (for search)

{ "type" : "tag", "equals" : "theTask", "task_is_finished" : true }
,

Tag filter (for search)

{ "type" : "tag", "targeted_by" : [

Tag filter (for search)

{ "type" : "tag", "symbol" : "!provide", "arguments" : { "1" :

File filter

{ "type" : "file", "var" : "theFile" }
} }
], "equals" : "theRequireTag" }
] }
, "actions" : [

Create a Tag

{ "type" : "create_tag", "var" : "theTask", "symbol" : "task_convert_file_type", "mark_with" : ["signal"] }
,

Create a Tag

{ "type" : "create_tag", "var" : "theRequireTag", "symbol" : "require_format_excel", "arguments" : [

Variable

{ "type" : "variable", "var" : "theTask" }
,

Variable

{ "type" : "variable", "var" : "theFile" }
], "mark_with" : ["signal"] }
,

Create an Option

{ "type" : "create_option", "var" : "react-present-converted-file", "name" : "react-present-converted-file", "description" : "Waits for the solution to the task_convert_file_type, then presents the result for download.", "confidence" : 1000, "trigger" :

Trigger

{ "arguments" : [

Tag filter (for search)

{ "type" : "tag", "equals" : "theTask", "task_is_finished" : true }
,

Tag filter (for search)

{ "type" : "tag", "targeted_by" : [

Tag filter (for search)

{ "type" : "tag", "symbol" : "!provide", "arguments" : { "1" :

File filter

{ "type" : "file", "var" : "theConvertedFile" }
} }
], "equals" : "theRequireTag" }
] }
, "actions" : [

Create a Message

{ "type" : "create_message", "message_components" : [

Text message component

{ "type" : "text", "text" : "Finished converting the file to Excel." }
,

Downloadable File

{ "type" : "downloadable_file", "text" : "Download the converted file", "file" :

Variable

{ "type" : "variable", "var" : "theConvertedFile" }
}
] }
] }
] }
] }
], "existing_variables" : { "offer-conversion-to-excel" :

Variable

{ "type" : "option" }
} }

Rule

{ "name" : "Recognize-task-hierarchy-conversion-offer-conversion-to-excel", "description" : "When hierarchy_for_task_selection_root_miscellaneous_conversion is active, offer an Option that enables a conversion of a file into Excel (.xlsx) format.

This first uses task_obtain_file_from_user to obtain a file, then uses task_convert_file_type with require_format_excel to convert it, then offers the result for download."
, "dependencies" : [

Dependency

{ "symbol" : "hierarchy_for_task_selection_root_miscellaneous_conversion", "weight" : 1.0, "comment_filter" : null }
], "threshold" : 1.0, "trigger" :

Trigger

{ "repeat" : "never", "arguments" : [], "deactivate_if" : {} }
, "actions" : [

Create an Option

{ "type" : "create_option", "var" : "offer-conversion-to-excel", "name" : "offer-conversion-to-excel", "description" : "If selected, this first uses task_obtain_file_from_user to obtain a file, then uses task_convert_file_type with require_format_excel to convert it, then offers the result for download.", "confidence" : 0.9, "trigger" :

Trigger

{ "repeat" : [ "theCurrentSelectionTag" ], "arguments" : [

Tag filter (for search)

{ "type" : "tag", "var" : "theTaskSelectionHierarchyIsActive", "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" : "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" : {} }
,

Tag filter (for search)

{ "type" : "tag", "var" : "theTriggeringHierarchyTag", "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [

Tag filter (for search)

{ "type" : "tag", "var" : "theCurrentSelectionTag", "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" : "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" : {} }
], "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_root_miscellaneous_conversion", "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" : {} }
], "deactivate_if" : { "theTaskSelectionHierarchyIsActive" : ["no_match"] } }
, "display" :

Option Display

{ "must_always_be_shown" : true, "parameter_file_name" : null, "message_components" : [

Text message component

{ "type" : "text", "text" : "Convert a file into Excel format." }
], "buttons" : null }
, "actions" : [

Create a Tag

{ "type" : "create_tag", "var" : null, "symbol" : "!nullify", "comment" : null, "weight" : null, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "theCurrentSelectionTag" }
], "mark_with" : [] }
,

Create a Tag

{ "type" : "create_tag", "var" : "theTask", "symbol" : "task_obtain_file_from_user", "comment" : null, "weight" : null, "arguments" : [], "mark_with" : ["signal"] }
,

Create a Tag

{ "type" : "create_tag", "var" : "theRequireTag", "symbol" : "require_a_file", "comment" : null, "weight" : null, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "theTask" }
], "mark_with" : ["signal"] }
,

Create an Option

{ "type" : "create_option", "var" : "react-to-user-file-by-starting-file-conversion-task", "name" : "react-to-user-file-by-starting-file-conversion-task", "description" : "Waits until a task_obtain_file_from_user is satisfied, then uses the file to start another task based on it.", "confidence" : 1000, "trigger" :

Trigger

{ "repeat" : "never", "arguments" : [

Tag filter (for search)

{ "type" : "tag", "var" : null, "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [], "equals" : "theTask", "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" : true, "arguments" : {} }
,

Tag filter (for search)

{ "type" : "tag", "var" : null, "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [

Tag filter (for search)

{ "type" : "tag", "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" : "!provide", "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" : { "1" :

File filter

{ "type" : "file", "var" : "theFile", "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, "name_matches" : null }
} }
], "equals" : "theRequireTag", "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" : null, "arguments" : {} }
], "deactivate_if" : {} }
, "display" : null, "actions" : [

Create a Tag

{ "type" : "create_tag", "var" : "theTask", "symbol" : "task_convert_file_type", "comment" : null, "weight" : null, "arguments" : [], "mark_with" : ["signal"] }
,

Create a Tag

{ "type" : "create_tag", "var" : "theRequireTag", "symbol" : "require_format_excel", "comment" : null, "weight" : null, "arguments" : [

Variable

{ "type" : "variable", "nullable" : false, "var" : "theTask" }
,

Variable

{ "type" : "variable", "nullable" : false, "var" : "theFile" }
], "mark_with" : ["signal"] }
,

Create an Option

{ "type" : "create_option", "var" : "react-present-converted-file", "name" : "react-present-converted-file", "description" : "Waits for the solution to the task_convert_file_type, then presents the result for download.", "confidence" : 1000, "trigger" :

Trigger

{ "repeat" : "never", "arguments" : [

Tag filter (for search)

{ "type" : "tag", "var" : null, "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [], "equals" : "theTask", "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" : true, "arguments" : {} }
,

Tag filter (for search)

{ "type" : "tag", "var" : null, "role" : "required", "search_type" : "last", "search_postfilter" : null, "targeted_by" : [

Tag filter (for search)

{ "type" : "tag", "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" : "!provide", "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" : { "1" :

File filter

{ "type" : "file", "var" : "theConvertedFile", "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, "name_matches" : null }
} }
], "equals" : "theRequireTag", "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" : null, "arguments" : {} }
], "deactivate_if" : {} }
, "display" : null, "actions" : [

Create a Message

{ "type" : "create_message", "var" : null, "visibility" : "all", "message_components" : [

Text message component

{ "type" : "text", "text" : "Finished converting the file to Excel." }
,

Downloadable File

{ "type" : "downloadable_file", "scenario_history" : false, "scenario_history_title" : null, "scenario_history_description" : null, "text" : "Download the converted file", "file" :

Variable

{ "type" : "variable", "nullable" : false, "var" : "theConvertedFile" }
}
] }
] }
] }
] }
], "existing_variables" : { "offer-conversion-to-excel" :

Variable

{ "type" : "option", "value" : null }
} }

all versions of this Rule:

Version 9

Version 8 (deleted)

Version 7 (deleted)

Version 6 (deleted)

Version 5 (deleted)

Version 4 (deleted)

Version 3 (deleted)

Version 2 (deleted)

Version 1 (deleted)