a!save in saveInput doesn't save CDT

Hi all,

I'm trying to save a CDT retrieved by a query in an expression rule and save it in a Rule Input because this interface will start a process model and I need that CDT as parameter.

a!localVariables(
  local!listBankAccountsFrom: if(
    isnull(
      ri!settlementCurrency
    ),
    null,
    rule!FIN_ListBankAccounts(
      settlementCurrency: ri!settlementCurrency,
      isFrom: true
    ).data
  ),

Here it is how I try to save in a readonly text field 

value: local!listBankAccountsFrom.iban,
                    saveInto: a!save(ri!bankAccountFrom,local!listBankAccountsFrom),

The local variable gets populated correctly, while the rule input is always null.

What am I doing wrong?

Parents Reply Children

 Discussion posts and replies are publicly visible