Package: com.suncode.plugin.scheduled_tasks.RewriteDataBetweenDatasourcesScheduledTask
Available from version: 1.0.X
One or more defined data sources for the data read operation and one or more defined data sources for the data write operation.
A plugin that provides a scheduled task that allows you to rewrite data between two defined data sources. Data transferred between sources is in text form.
Parameter name | from version | Description | The type of the parameter | Notes and Restrictions |
---|---|---|---|---|
First Source Id | 1.0.0 | String | Id of the source from which the data will be retrieved | |
First source parameter values | 1.0.0 | String | JSON object containing the input configuration of the data source (in the format {'x': 'y', ...}, where x - source parameter id; y - parameter value) | |
Second source id | 1.0.0 | String | Id of the source where the data will be entered | |
Source parameters mapping | 1.0.0 | String | JSON object containing mapping of output parameters of the first source with input parameters of the second source (in the format {'x': 'y', ...}, where x - id of the output parameter of the source from which the data will be retrieved; y - id of the input source parameter where the data will be entered) | |
Second source parameter values | 1.0.X | String | JSON object containing the input configuration of the data source (in the format {'x': 'y', ...}, where x - source parameter id; y - parameter value) |
Dostępne znaczniki:
Marker | Description |
---|---|
{timestamp} | thirteen-digit number of milliseconds since 01/01/1970 (timestamp) |
{DD} | two-digit number representing the day of the month |
{MM} | two-digit number representing the month |
{YY} | a two-digit number representing the year |
{YYYY} | a four-digit number that represents the year |
{hh} | a two-digit number representing the hour |
{mm} | a two-digit number representing the minutes |
{ss} | a two-digit number representing the seconds |
{nnn} | a three-digit number representing nanoseconds |
Example
Defining the "Source parameter values" parameter as {"last_call_date": "{YYYY} - {MM} - {DD} {hh}: {mm}: {ss}. {Nnn}"}
The following will be sent to the source: {"last_call_date": "2020-11-09 20: 09: 15.032"} (the values of the last valid execution date of the scheduled task will be automatically taken from the database; in the case when the task is run for the first time , the date of 01.01.1970 will be adopted)
1.0.X (applicable documentation)
- Create a scheduled task
Add Comment