X4 Produktdokumentation

Server start

startup.png

The Startup button can be used to create new configurations for server startup runs. A number of options and parameters are available. These are explained in more detail below.


Options


Name

Freely selectable name for the execution

Process

Path to the process in the X4DB

Example: Processes/Activities/Processes/Process.wrf

Select Browse select a process.

  • The process must be in the same project as the scheduler.

  • The process must not be a subprocess of another process.


Active

Enables the scheduler.

Start date

Sets the start time of the scheduler in the format yyyy-mm-dd hh:mm:ss.

Example: 2021-06-01 13:00:00

End date

Sets the scheduler end time in the format yyyy-mm-dd hh:mm:ss.

Example: 2022-08-01 23:00:00

(information) The end time must be in the future..

Parameters

In the Parameters section, you can define any number of parameters for the execution configuration.


add_row.png

Add a row

remove_row.png

Delete a row

Key

Name of the parameter (any string, ideally NCName)

Value

Optional parameter value


The scheduler creates an XML file as input for the process, which contains the defined parameters. The input XML file is loaded directly into the process at the start block.

Since the parameter values are only directly accessible at the start of the process, they must be saved (e.g. as a variable) if they are to be used later in the process.

Example:

XML
<?xml version="1.0" encoding="UTF-8"?>
<Execution jobId="JobId" executionId="ExecutionId" executionName="ExecutionName">
  <Parameters>
    <Parameter name="ParameterKey">ParameterValue</Parameter>
    <Parameter name="ParameterKey">ParameterValue</Parameter>
    <Parameter name="ParameterKey">ParameterValue</Parameter>
    ...
  </Parameters>
</Execution>