← Return to the list of available actions
If you have a problem understanding how the action works, check: Action, Conditional Execution, Components parameters.
Category: Currency
Action location: Variable
Available from version: 1.0.3
Action to the zloty currency (PLN) for the given currency and date.
For cuf-components prior to version 1.0.30:
Before calling the action, perform a scheduled task that will download exchange rates to our database. The description of this task can be found here: Downloading exchange rates in currencies from the NBP
The location of the action | Value of the "Events triggering action" parameter | Operation of the "Conditional execution" parameter | Condition for calling an action |
---|---|---|---|
Variable | Call when variables are changed | Activates the action | Changing the value in the variable specified in the parameter: Updating variables. |
Calling on the condition of conditional execution | Invokes an action | The "Conditional Execution" parameter will return "true" | |
Executed on currency or date update or shift | Activates the action | Changing the value in one of the variables given in the parameters: Currency code, Date of exchange rate and Day shift |
Name of the parameter | From version | Description | Parameter type | Default value | Field type | Notes and restrictions |
---|---|---|---|---|---|---|
Currency code* | 1.0.3 | The currency should be transferred in the form of a currency code (currency codes are available on the NBP website), e.g. EUR, USD. | String | Editable field | ||
Date of exchange rate* | 1.0.3 | Date from which the course will be downloaded. Note - if the table does not find the rate on the given date, the action will find the rate with the closest possible date to the given and occurring before it. | Date | Editable field | ||
Action executing types* | 1.0.49 | (type: text value) - A parameter that defines when the action is to be invoked. | An array of text values | Execution when updating currency or date or date shift | Non-editable drop-down list | Selectable values:
|
Updating variables | 1.0.49 | (related to the Events triggering action parameter) Defines which variables will be triggered when updating. | An array of variables | Non-editable drop-down list | It is visible only when the Events that trigger the action are set to "Call when variables are changed" | |
Table number | 1.0.49 | Column for entering the table number from which the exchange ratewas taken | An array of text variables | Editable field | ||
Table type | Column for writing the table type from which the exchange ratewas taken | An array of text variables | Editable field | |||
Day shift* | 1.0.106 | Modify the date of downloading the course (adds / subtracts the number of days from the given date) | Integer | 0 | Editable field | Example: When the date is set to 07/21/2021 and the parameter is set to -1, the exchange rate date will be checked for 07/20/2021 |
Effective date | 1.0.162; 1.1.8
| Effective date the request has been made for. | Text variable | |||
Removed in 1.0.153 |
Parameter*- required field
1.0.3
- Adding a component
1.0.30
- Changing the method of downloading currencies to the system one.
1.0.42
- Error handling fix
1.0.49 (applicable documentation)
- Adding a dynamic form with a new parameter Events triggering actions
1.0.98 (applicable documentation)
- Adding a comment in the tooltip in case of an error
1.0.106 (applicable documentation)
- Addition of the Date shift parameter
1.0.135
- Added "NBP Timezone" parameter
1.0.153
- Removed "NBP Timezone" (no timezone is required now)
- Logging ActivityId
1.0.162;
1.1.8
- Possibility to set effective exchange date variable.
Add Comment