0% found this document useful (0 votes)
7 views5 pages

SCRIPT

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 5

Variable setting task Page 1 of 5

Help >

Task configuration
Introduce and management
some relevant knowledge of task function.

Teach you how to use task function

In the development of the project, users maybe meet some complicated pictures or

something can not be resolved in the configuration way, so need to make some programs to

complete. Those programs are called task function in the configuration software. Every problem

and every function will be solved by programming those task function, so task function is also

called task.The use of the task can not only solve the above problems, but also can be a better

use of various resources in the project. Tasks using the JavaScript language, about JavaScript

language, you can see "task script syntax" section or visit:

http://www.w3school.com.cn/js/index.asp

Configuration software is divided into: variable set task and script task

Variable setting task

The essence of variable setting task is to assign operations to variables.

The editing steps for variable setting tasks are as follows:

Add variables to set tasks

Step one: Setting task node on the variable setting task one, after clicking right mouse

button "variable setting task ", pop up a menu box, then click "add task" menu.

Step two: set the variables to set task properties and click "OK" to complete the task of

setting the variables. As shown in the following figure:

Figure-- Task attribute

file:///C:/Users/Administrator/AppData/Local/Temp/~hhD529.htm 18/11/2024
Variable setting task Page 2 of 5

Task name: The name of task, used to identify the task function.

Task description: Introduction to tasks, such as the function of the task, role, etc.

Task type: Task types are divided into script tasks and variable setting tasks.

Edit variable setting task

Step one:In the variable assignment editor window, click on the variable to add the selection

button, then pop up variable selector.

Step two: In the variable selector, after the selection of the variables to be added before the

hook (can choose multiple variables), click "Yes".

Step three: Click on the Add button for the assignment bar of the variable, then pop up

expression window, "Insert variable" and input the corresponding expression,value. And click

"Yes" to complete variable expressions, click on the "compile" to complete the assignment of the

variables.As shown in the following figure:

Figure-- Variable assignment

Click " Insert" button, and then pop up variable selector window. Hook in the box before

selecting the insert, click "confirm" to complete the insertion of variables. As shown in the

folloing figure:

FIgure-- Variable expressions

Step four: Click "Test" , in order to determine whether the content of the value is wrong,

then pop up the test windows. As shown in the following figure:

Figure-- Variable assignment error

file:///C:/Users/Administrator/AppData/Local/Temp/~hhD529.htm 18/11/2024
Variable setting task Page 3 of 5

Figure-- Variable assignment right

Click View script ", to see variable assignment script, then pop up test window. As shown in

the followong figure:

Figure-- Variable assignment task script

Click "Task allocation" to switch back to variable assignment window from the window of

view variable assignment task script.

Click "Delete" to delete variable assignment which you selected.

Script task

Scripting tasks and variable setting tasks are different, and it can be set for all content in the

project.

If you are not familiar with the scripting language, you can see the section on "task script

syntax ".

The editing steps for the script task are as follows

Add script task

Step one: In the script task node, right click on the "script task", then pop up a menu box,

finally click "add task" menu.

Step two: Set task properties and click "Yes" to complete the task of setting the variables.

As to the task attribute, you can see this chapter, "variable setting tasks - adding variable

setting tasks to the second step .

Edit script task

Step one: In the edit box, input the program code, then click "compile". As shown in the

following figure:

file:///C:/Users/Administrator/AppData/Local/Temp/~hhD529.htm 18/11/2024
Variable setting task Page 4 of 5

Figure-- Compile script task

Configuration software provides users with a number of brief scripting tasks, the users

double click the function that you want to add to the script editor

Step two: Click "test", in order to determine whether the content of the script is wrong.

Task management

Manage the task, it can effectively improve the efficiency of the project development and

facilitate the task of finding. Common task management functions include: task browsing, etc.

Task manager

In the configuration, task management is used for browsing, searching and adding tasks. As

shown in the following figure:

Figure-- Task Manager window

From the task manager window, you can see all the tasks of the project and the brief

information. You can quickly find the task information you want to view by sorting and filtering.

Click on the category selection box to select the type of task you want to query, or input the

keyword that you want to see in the filter box (task name), then the task manager can quickly

query the information to query the task. For example, you want to query Task_1 of the variables

set task type. Select the variable set task type in the category selection box or input "Task_1".In

task management you can query to Task_1 quickly. As shown in the following figure:

Figure-- Classified query

Figure-- Screening query

file:///C:/Users/Administrator/AppData/Local/Temp/~hhD529.htm 18/11/2024
Variable setting task Page 5 of 5

Click "new add", pop up configuration task property to add the window, then configure the

task property after the click OK to complete the task of adding. There is no need to describe the

task property, you can see this chapter of "variable setting tasks - add variables and set tasks

second step " chapter.

file:///C:/Users/Administrator/AppData/Local/Temp/~hhD529.htm 18/11/2024

You might also like