NewInBackground

This action template creates a new record in the background without user interaction, e.g. you could define that when an order is created, a delivery date record is automatically created with "current day + 2 days", if no specific delivery date was given.

Below is a list of input arguments:

Input Argument

Description

InfoAreaId

Name of the new record's info area.

LinkRecordId

Optional link record of the new record.

TemplateFilter

Filter that defines the values that are automatically applied upon creation.

CheckExisting

If set to true, the new record is only created if no record was yet created containing the TemplateFilter's values.

Default: false

CreatedAction

Name of a context menu action that is executed after a record was created.

SyncParentInfoArea

Comma-separated list of info areas that are linked to the new record and that are synchronized as well, e.g. entering MB synchronizes all linked MB records, if an MA record was created.

CreateFailureAction

If the record could not be created, this action is executed.

ExistsAction

Name of a context menu action that is executed if a record containing values based on the TemplateFilter already exists. If given, CheckExisting needs not to be set.

Options

Additional options can be given in JSON syntax.

Example:

Link fields can be set locally e. g. if linked records are added in offline mode, see System.OfflineStationNumber. If you specify {"ComputeLinks" :true } in the Options argument, link record IDs are generated for the server records.

CopySourceFieldGroupName

The field group where the fields you want to copy have been marked accordingly.