Planning - Working with the planning - All about projects - Scheduling procedure

Scheduling by programming

previous page  main page  next page print this page

 

Scheduling can be more precisely defined by a kind of programming language. This allows to carry out the scheduling on the basis of several indications.

Here, e.g. can be determined, which data are required for the initial termination.

 

The function can be accessed from the task properties in the tab "Basic Scheduling". There the functions are entered and passed the required parameters.

 

 

Scheduling field
Scheduling field

 

 

As seen above, the field for the settings is displayed. In this case, the procedure "Function: dialog (start)" was selected and entered the properties for the scheduling dialog. The input is divided as follows:

 

1,                

Priority for execute the sequence of individual events (comma must be present)

dialog()

The function which should be performed. In dialog () is for example determined which properties are set to schedule the process

start

Specifies that the start date can be entered for the selected operation, for scheduling. Other input options "end" are (The end may be defined) or "duration" (The duration of the operation is determined). A maximum of 2 values ​​in combination with "/" is required. E.G. 1, dialog (start / duration); 1, dialog (start / end), or 1, dialogue (duration / end);

";"

is used as a command to define at several entries the end of a statement.

 

The input "1, dialog (start)," now yields the following result that the operation "function: dialog (start)" for scheduling only provides the ability to set a start date.

 

 

Scheduling dialog

Scheduling dialog

 

 

Another function of the user scheduling is the command "ready ()". This allows a process to keep constant between two different processes.

 

 

The function fit()
The function fit()

 

As seen in the screenshot above, the function fit () was used with a priority of 30. The priorities of the fit function () should rather include a high number, because otherwise other operations or scheduling methods that happen later, the termination of the method fit (could) change it. Defined in this example now that the operation "dummy - Adapted with fit ()" is held constant between "dummy starting point" and "dummy endpoint". Parameters "dummy Startpunkt.start" and "dummy Endpunkt.start" are as follows to consider:

 

Dummy startdate.start

The operation - has "dummy Adapted with fit ()" the same start date as the process "dummy starting point", but could not start earlier because it is centered with the function fit () between this and the subsequent operation "dummy endpoint". It would have also been possible the parameter "dummy Startpunkt.end", then the process would have startet with "Dummy - Adapted to fit ()" at the last day of "dummy starting point". The process linking between "dummy starting point" and "dummy endpoint" has a minimum distance.

 

Dummy Enddate.start                

Here is provided the end date of "dummy - Adapted with fit ()" with a start date of "dummy endpoint".

 

"arrangePredecessors" arranges all activities that show a relation to previous target operations (acts as the "predecessor order"). Another statement would be "arrangeSuccessors", this would provide the following relation to the target process ("Arrange follow-up" acts as the function).

 

 

error messages
error messages

 

If incorrect entries are made, at the bottom of the entry dialog an error message is thrown.

 

Briefly summarized again the functions and statements to ensure the succession.

 

Firstly it always has to be set a priority by a number with a comma subsequent E.G.: "2,"

The functions behave as follows:

 

fit();                

Allows a process on predecessors, successors, to gear their start and end dates, and to center this process between two others.

Possible parameters: task1.start or task1.end/task2.start or task2.end.

 

dialog();        

Determines the parameters of the start and finish dates and the duration of the operation.

Several entries are separated by "/". At maximum two inputs can be made.

Possible parameters:        

                 Start/End/Duration

                 Start -> Startdate for scheduling is selectable

                 End  -> Enddate for scheduling is selectable

                 Duration -> Duration for the scheduling selectable

 

arrangePredecessors; Determines whether the predecessor is to be ordered.

arrangeSuccessors; Determines whether the successor is to be ordered.

 

The important thing is always that each statement is concluded with a semicolon.