X4 Produktdokumentation

Server start

startup.png

New configurations for executions at server startup can be created using the Startup button. A number of options and parameters are available. These are explained in more detail below.


Options


Name

Freely selectable name for execution

Process

Path to the process in the X4DB

ExampleProcesses/Activities/Processes/Process.wrf

Click Browse... to select a process.

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

  • The process must not be a sub-process of another process.


Active

Activates the scheduler

Start date

Sets the start date of the scheduler in jjjj-mm-tt hh:mm:ss format

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

End date

Sets the end date of the scheduler in jjjj-mm-tt hh:mm:ss format

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

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

Parameters 

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


add_row.png

Add row

remove_row.png

Remove 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 component.

As the parameter values are only directly accessible when the process is started, 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>