ITM/IMAS releases of Kepler provide two, built from scratch, actors for record manipulation.
1. Setting values inside Record Token using recordset actor
recordset
This actor allows you to set/modify values inside RecordTokeninside Record Token. It works following way:
If there is no field inside Record Token, it will add it into Record Token
Code Block { a = 1 } -> inputRecord -+ | >- { a = 1, b = 2 } | { b = 2 } -> b -+
If there is a field with given name inside Record Token, it will be replaced
Code Block { a = 1, b = 1 } -> inputRecord -+ | >- { a = 1, b = 2 } | { b = 2 } -> b -+
If there is a field with given name inside Record Token, the type of field may change if you pass different type in the input
Code Block { a = 1, b = 1 } -> inputRecord -+ | >- { a = 1, b = { c = 2 } } | { b = { c = 2 } } -> b -+
recordget
This actor allows to get values from the RecordToken
...