Action Builders

Action Builders are snippets of scripts that are created based on typical use scenarios.

Depending on the Actions Builder, a set of actions can be directly added to the main script or show a Wizard that will be used in the snippet creation.

Action Builder Wizards

media_1484845285071.png

Variables

media_1484845264318.png

Action Builder Wizards allow you to select and create variables.

To select a Variable, click the drop down and select the correct Variable.

Variables can also be created by typing in the name of the Variable. If the Variable doesn’t exist, the Action Builder will create one.

Testing Scripts

Debugging the Script

media_1452284236333.png

To test out the current scipt, click the Debug button to begin.

media_1452284261045.png

The activity that is currently being performed will be highlighted

media_1452284444422.png

The Output will display actions occuring including Variables being set.

Break Points

media_1452284472130.png

To pause the testing at a specific activity, select the activity that you want to pause at.

media_1452284478222.png

Click he Toggle Breakpoint button.

media_1452284486260.png

A breakpoint is added on the selected activity. The script will pause at this activity until you click the Debug button to continue.

Selecting the activity and clicking the Toggle Breakpoint button will remove the breakpoint.

Schedule Scripts

media_1452371284505.png

Scheduled scripts will be run during time intervals.

Name – the name of the script.
Is Active – the script will run if true, not run if false.
Start Mode – the type of interval that the script will run on (Daily, One Time, Weekly).
Start Time – the time, of the day, that the script will begin.

One Time

media_1452305988800.png

Script runs one time at the designated time.

Daily

media_1452306001068.png

Script will run daily at a particular time.

Recur Every Days – this will designate if the script will run daily (1), every two days (2)…

Weekly

media_1452306013431.png

Script will run weekly.

Recur Every Weeks – how any weeks will the script run. One week (1), two weeks (2), all year (52).
Daily – select the days the script will run.

Auto Scripts

media_1452305813534.png

Auto scripts are scripts that run based on the actions of a Form or Software Object. The script can automatically run when a new record is created and/or when it fits a specific criteria.

The record id will be passed to the script.

Name – the name of the script.
Target Type – the type of object that will associated to this script.
Is Active – refers to an active script. True and it will run automatically, false and it will not.
On Create – schedules the script to run when a new record is created.
First Criteria – schedules the script to run when the record matches a crtieria.

Variables

Overview

Automation scripts rely heavily on Variables.

Variables allow data to be moved throughout the script. Many actions rely on input and many produce output that can be later used in other actions.

Adding Variables through Actions

media_1449466052798-1.png

Typically, a variable will be added while you design your script.

Once you drag an action onto the designer, click the Click for Options link to bring up the Options dialog.

media_1449466101937-1.png

For this particular action we have a Output field that will be set to a variable.

Click the button to the right of the field.

media_1449466665026-1.png

The Variables dialog will be invoked.

If Variable of the required type already exists, they will show in the list.

To create a new Variable, cilck the New button.

media_1449466686819-1.png

Type in the Variable name and click Ok.

media_1449466697026-1.png

The new Variable will be shown in the list.

Select the Variable and click Ok.

media_1449466705072-1.png

media_1449466714552-1.png

Adding Variable Directly

media_1449466828838-1.png

Under the Variable section, click on Create Variable to create a new variable.

This will default to a string Variable Type. Click the String type and select the appropriate Variable Type.

media_1463166712550-1.png

You can also add a Variable by clicking the Add Variable button under the Automation group.

media_1463166796617-1.png

Type in a name, select a common Variable Type and click Ok.

The Variable will be added to the Action that is selected depending on if that Action is able to accept Variables.

Deleting a Variable

media_1449466900510-1.png

Scope

media_1449467106759-1.png

media_1449467227543-1.png

Actions

Adding Actions

media_1449442408544.png

Actions are little pieces of code that will be executed.

To add a Action, simple click on the desired action and drag it onto the designer.

Changing the Action Caption

media_1449447738757.png

Click on the title of the action and type in a new name.

Deleting Actions

media_1449443028548.png

Right click the desired action and choose the Delete option.

You can also select the action and press the Delete key.

Action Options

media_1449464278945.png

Some actions will have properties that need to be filled in order to perform.

Click the Click for Options link to open the Options dialog.

media_1449464316717.png

Depending on the action, the Options dialog will display all Input and Output fields.

Input fields are used to perform the action.
Output fields are the result when the action is performed. Not all actions will have a output.

Errors

media_1449448104012.png

Navigating the Designer

media_1449447845245-1-1.png

The Designer is where all the actions will be placed to make a fully functional script.

Breadcrumb Navigation

media_1449447917384-1-1.png

When double clicking on some actions, they will be fully opened in the designer.

The breadcrump navigation, at the top, will

Zooming In and Out

media_1449447984596-1-1.png

The Designer can be zoomed in and out by clicking either the Zoom button or choosing a zoom percentage.

media_1449447999510-1-1.png

To center the entire Automation Script, click the Center button next to the Zoom percentage drop down.

Next to the center button is the Overview button that will invoke the Overview popup.

media_1449448023683-1-1.png

Drag the box up and down for easy navigation.

Expanding and Collapsing Actions

media_1452274800068-1-1.png

To expand or collapse a action, click the arrows on the top right.

media_1449448007818-1-1.png

Expanding and collapsing all actions, in the designer, can be achieved by clicking the Expand All at the top right of the designer.

Overview

media_1452273497913-1.png

The main Automation Designer is broken up into 6 different areas.

Designer – where you will drag your actions onto.
Actions – a list of actions that can be dragged onto the designer.
Properties – the properties for a selected action.
Browser Designer – retrieves web page html elements search criteria that will be used to perform actions upon.
Variables/Arguments – list of variables and arguments for the selected action.
Output – testing a script will list all the details and any errors.

Main Designer

media_1452273600547-1.png

Actions

media_1449440652824-1.png

Action Properties

media_1452273532212-1.png

Browser Designer

media_1449422381314-1.png

Variables and Arguments

media_1452273973698-1.png

Output

media_1449422407205-1.png