Write redirect for Guided Tasks

First, you need to understand the structure of a redirect.

Structure of a Redirect Script

The redirect is comprised of two components:

  • Command
  • Argument placed in parentheses (), followed by semicolon ;

The script is similar to giving the user instructions on how to get to a specific screen, but it contains the instructions to automatically bring the user to the appropriate screen to complete a phase of the workflowClosed a method of coordinating multi-step processes involving one or more users.

The following table lists the most commonly used commands and the requirements for appropriate arguments for each, along with examples:

Command

Argument

Example of Redirect Script

Redirects to...

Example phase to be completed

home

no arguments

home();

Home page

Announce the dates for grade entry to teachers from Home page's Announcements

node

navkey (required)

OIDClosed object identifier (optional)

node(student.std.list);

Student List (without OID)

specific student's detail page (with OID)

 

option

option ID

option(prepare_GradeInput);

Prepare Grade Input wizard

Prepare grade input

report

report ID

(obtain from Tools > Reports)

report(SYS-STD-001);

Student Address Labels report

Run Student Address Labels report

action

free-form URL

action(skl.preferences.db);

School preferences

Define school preferences

view

view ID

view(school);

School view

Log on to School view