I am looking for a efficient way to declare for a Receive Task that all variables received in the message should be merged into the process instance and in addition create some new variables using the received data.
However, if I use an Output Mapping it creates a local scope and I have to explicitly list all received variables in the mapping.
For example, I receive the following variables in the message:
{
"customerId": "1000027115",
"accountNo": "30405060",
"sortCode": "607080",
"dateOfBirth": "1955-08-25",
"contactNo": "447000044444",
"emailAddress": "john.doe@example.com",
"emailLastUpdated": "2020ā01ā01 10:45:30.005",
"accountAddressStreet1": "Flat 4",
"accountAddressStreet2": "18 Queen Street",
"accountAddressCity": "London",
"accountAddressState": "Greater London",
"accountPostCode": "EC2A 4AA",
"accountAddressCountry": "GB"
}
And I would like to compute the age with FEEL as an additional variable.
Furthermore, Iād like to filter out some variables that already exist in my process and should not be overwritten, e.g. customerId
, accountNo
, and sortCode
.
@Philipp_Ossler Could this be done with some clever FEEL context functions?