Skip to end of metadata
Go to start of metadata

 

 ← Return to the list of available actions

If you have a problem understanding how the action works, check: ActionConditional ExecutionComponents parameters.

Basic information

Category: Currency

Action location: Variable

Available from version: 1.0.3

Description

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

 

 

Action call
The location of the actionValue of the "Events triggering action" parameterOperation of the "Conditional execution" parameterCondition 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 executionInvokes an actionThe "Conditional Execution" parameter will return "true"
Executed on currency or date update or shiftActivates the action

Changing the value in one of the variables given in the parameters: Currency code, Date of exchange rate and Day shift

 

 

Configuration parameters
Name of the parameterFrom versionDescriptionParameter typeDefault valueField typeNotes and restrictions
Currency code*  1.0.3The 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.3Date 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 valuesExecution when updating currency or date or date shiftNon-editable drop-down list

Selectable values:

  • Call when variables are changed
  • Calling on the condition of conditional execution
  • Execution when updating currency or date or date shift
Updating variables1.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 listIt is visible only when the Events that trigger the action are set to "Call when variables are changed"
Table number  1.0.49Column for entering the table number from which the  exchange ratewas takenAn array of text variables Editable field 
Table type  Column for writing the table type from which the  exchange ratewas takenAn array of text variables Editable field 
Day shift*1.0.106Modify the date of downloading the course (adds / subtracts the number of days from the given date)Integer0Editable fieldExample:
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   
NBP Bank timezone1.0.135Use polish NBP Bank timezone instead of a server timezone.BooleanNoNoneditable dropdown listRemoved in 1.0.153

Parameter*- required field

Sample configuration

Change log

 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.

 

 

 

  • No labels
Write a comment…