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

Name: Demo-file-uploading

Version: 4

Discussion Thread

Creator: oobola@yahoo.com

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

ID: 600

Created: Oct. 18, 2019, 5:52 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

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

Tag filter (for search)

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

File filter

{ "type" : "file", "var" : "theUploadedFile" }
} }
] }
, "actions" : [

Create a Message

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

Downloadable File

{ "type" : "downloadable_file", "text" : "Download the file you just uploaded", "file" :

Variable

{ "type" : "variable", "var" : "theUploadedFile" }
}
] }
], "existing_variables" : { "theUploadedFile" :

Variable

{ "type" : "file" }
} }

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" : "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" : "theUploadedFile", "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 }
} }
], "deactivate_if" : {} }
, "actions" : [

Create a Message

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

Downloadable File

{ "type" : "downloadable_file", "scenario_history" : false, "scenario_history_title" : null, "scenario_history_description" : null, "text" : "Download the file you just uploaded", "file" :

Variable

{ "type" : "variable", "nullable" : false, "var" : "theUploadedFile" }
}
] }
], "existing_variables" : { "theUploadedFile" :

Variable

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

all versions of this Rule:

Version 4

Version 3

Version 2

Version 1