Rule: Demo-file-uploading
loading x elements...

Name: Demo-file-uploading

Version: 2

Discussion Thread

There is a newer version of this Rule.

Creator: oobola@yahoo.com

Creates an option that allows for a user to input arguments for the program
InteractGpaAnalyser and execute it.

ID: 598

Created: Oct. 18, 2019, 5:44 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" : "Demo-file-uploading", "description" : "Creates an option that allows for a user to input arguments for the program
InteractGpaAnalyser and execute it."
, "dependencies" : [

Dependency

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

Trigger

{ }
, "actions" : [

Create an Option

{ "type" : "create_option", "var" : "test-file-uploading", "name" : "test-file-uploading", "description" : "prompts user for input parameters", "confidence" : 1000.0, "trigger" :

Trigger

{ "repeat" : "different_variables", "arguments" : [

Tag filter (for search)

{ "type" : "tag", "symbol" : "?user_input_uploaded_file", "arguments" : { "0" :

File filter

{ "type" : "file", "var" : "uploadedDataFile", "name_matches" : "^.*\\.json$" }
} }
] }
, "display" :

Option Display

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

Text message component

{ "type" : "text", "text" : "File data successfully uploaded" }
] }
, "actions" : [] }
], "existing_variables" : { "test-file-uploading" :

Variable

{ "type" : "option" }
} }

Rule

{ "name" : "Demo-file-uploading", "description" : "Creates an option that allows for a user to input arguments for the program
InteractGpaAnalyser and execute it."
, "dependencies" : [

Dependency

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

Trigger

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

Create an Option

{ "type" : "create_option", "var" : "test-file-uploading", "name" : "test-file-uploading", "description" : "prompts user for input parameters", "confidence" : 1000.0, "trigger" :

Trigger

{ "repeat" : "different_variables", "arguments" : [

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" : "?user_input_uploaded_file", "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" : { "0" :

File filter

{ "type" : "file", "var" : "uploadedDataFile", "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" : "^.*\\.json$" }
} }
], "deactivate_if" : {} }
, "display" :

Option Display

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

Text message component

{ "type" : "text", "text" : "File data successfully uploaded" }
], "buttons" : null }
, "actions" : [] }
], "existing_variables" : { "test-file-uploading" :

Variable

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

all versions of this Rule:

Version 4

Version 3

Version 2

Version 1