X4 Adapter
Warning instead of error issued if mandatory parameters are not set for an adapter
If mandatory parameters are missing in an adapter, a warning is displayed in the Problems view instead of an error.


FTP Connector – Checks if file to be downloaded exists
The FTP Connector now checks if the file to be downloaded exists on the server issuing an error message if the file is not available.
The new Exists operation with the path parameter has been added to the adapter.
Properties
Operation | Exists: |
Parameter
path | Path to a folder or file on the FTP(S)/SFTP server. Possible values: § Any string (e.g. /Folder/Subfolder or /Folder/Subfolder/File.xml) |
FTP Connector (Advanced) – Pass all files in local folder to FTP Server
When using the FTP Connector, multiple files stored in a local folder can now be passed to the FTP Server automatically in send and receive mode.
If transferring all files from the folder defined in the localPath parameter to the folder defined in the remotePath parameter:
Set multipleFiles parameter
Set documentname parameter NULL
Loop Adapter – Specifying number of loops executed in a process
Users can now set the count parameter which clearly specifies how often the loop will be executed in the process.
The Loop Adapter executes a specified number of loops in a process. As soon as the specified number of loop passes has been executed, the Loop Adapter outputs the status value 1.
Properties
Operation | Operation executed by the adapter Possible values:
|
Parameter
count | Number of loop passes to be executed Possible values:
|
IMAP and POP3 Email Adapters – adding OAuth 2.0 support
As Microsoft deprecates the basic authentication for IMAP, POP3, and other legacy protocols, the IMAP and POP3 email adapters will support Microsoft Modern Auth (OAuth 2.0).
Parameter
oAuth2 | Defines if the OAuth 2.0 protocol is used for log-in. Possible values:
If the OAuth 2.0 protocol is used:
|
Keycloak Management Adapter – retrieving data from non-default realm
The Keycloak Management adapter can retrieve data from a non-default realm by choosing the realm for authentication at log-in.
To support this, the following new parameters were added to the adapter:
Parameters
realm | Realm to be used in Keycloak ReST API calls |
clientId | Client ID for Keycloak ReST API authentication |
clientSecret | Client secret for Keycloak ReST API authentication |
LDAP Connector – turn off host name validation for an LDAP connection
In the LDAP Connector the host name validation for an LDAP connection can be turned off with the acceptAllHostnames parameter.
Parameter
acceptAllHostnames | Disables the security settings by accepting any host name contained in the certificate. Possible values: § true: Accepts any host name. § false: The security settings are enabled (default). |
User Session Adapter – new adapter to store user session information from a process
There is a new adapter (User Session) in the X4 Tools category which allows to store data in the user session and access it later.
Properties
Operation | Operation performed by the adapter Possible values:
|
Parameter
key | For Get User Session operation: Used as filter. For Store User Session operation: Used as the name with which the data in the data stream is stored in the user session. Possible values:
|
System Status/Schedule Management Adapters – System Health API to detect e.g. performance issues
To check the system health or detect performance issues, useful runtime information about the X4 Server and the processes is needed. The System Status and Schedule Management adapters were extended to provide the required information.
The System Status adapter outputs status information about the X4 Server. The Schedule Management adapter updates or lists schedulers that are in the X4 repository or in a project.
System Status Adapter
Properties
Operation | Operation executed by the adapter Possible values:
|
The Threads Information operation outputs information about all threads running on the X4 Server. The following elements can be included in the output:
Element | Description | Possible values |
---|---|---|
Name | Name of the thread |
|
Id | ID of the thread |
|
State | Status of the thread |
|
Priority | Priority of the thread |
|
Daemon | Specification whether the thread is a background service |
|
CpuTime | Time needed for the execution of the current thread in seconds |
|
Schedule Management Adapter
The Schedule Management adapter has a new operation, Jobs Information.
The Jobs Information operation displays information about scheduled processes from all Schedule files in the X4 repository.
The following elements can be included in the output:
Element | Description | Possible values |
---|---|---|
Id | UUID of the execution |
|
Name | Name of the execution |
|
Process | Path to the process to be executed |
|
Active | Execution status |
|
JobsExecuted | Number of previous executions |
|
StartTime | Execution start date |
|
PreviousTime | Date of last execution |
|
NextTime | Date of the next execution |
|
EndTime | Execution end date |
|
System Configuration Adapter – showing configuration parameters
There is a new adapter to show the configuration parameters of the X4 instances. The System Configuration adapter can be found in the X4 Tools category.
Properties
Operation | Operation executed by the adapter Possible values: § List Configurations: List all configurations of the system § Get Configuration by configurationName: Output configuration with the specified name |
File System Adapter – improved information for targetPath
Sometimes users confuse the path and targetPath parameters in the File System adapter. Therefore, a comment has been added to the targetPath parameter:
targetPath | Additional path to a file or folder in the file system of the X4 server or to a connected Windows or Samba network drive. To do this, the X4 server requires appropriate permissions on the destination folder. This parameter is used only for Move and Copy operations. Possible values: Any string, if necessary, including placeholders and file extension, e.g. %USER_COLLECTION%/Data/Input.xml
Any UNC network drive specification according to the scheme \\\\Server\\\share\\public\folder\\\ with any spaces and special characters, e.g. \\\\SP-PM-01\\share\\Public Folder\\ |
Deployments Adapter – ReST API for refreshing contents of X4DB
After modifying resources on the file system, they can be refreshed in the X4 database with a ReST service. The ReST service was renamed from "Deployed Processes" to "Deployments" and is available in the X4 Adapters > X4 Tools > Deployments category.
Deployments: Lists the processes and resources deployed on the server in the X4 repository. The listing also includes processes deployed using X4 Apps.
Properties
Operation | Operation performed by the adapter Possible values:
|
Parameters
Adapter | Main class of the adapter (do not change!) Possible value: de.softproject.x4.adapter.deployed.app.DeployedAppAdapter (default) |
repository | Repository name |
project | Project name |
processPath | Path and name of the process |