Add the setNewBalanceOnOutputVariable assign activity to the TransferFromBrokerageToBankProcess
process.
Follow these instructions to add the activity:
- Switch to the TransferFromBrokerageToBankProcess editor.
- Click the Invoke icon
on the palette.
- Click the connection between depositToBank and Reply.The Assign figure
was added.
- Switch to the Properties view.
- In the details section, click the Description tab.
- In the Display Name field, type setNewBalanceOnOutputVariable.
- Click the Properties tab.The Display Name field is set to setNewBalanceOnOutputVariable.The Name field is set to SetNewBalanceOnOutputVariable.
- In the details section, click the Details tab.
- Click the Properties tab.
- From the From list, click Variable.
- In the navigation tree, expand depositToBankResponse : depositResponseMsg > depositResult : depositResponse > newBalance : CashAmountBO.
- From the To list, click Variable.
- In the navigation tree, expand UpdatedDestinationAccount : BankAccountBO > balance : double.

The Query field is set to /newBalance.The Query field is set to /balance.
- Click the Properties tab.
- From the menu, select File > Save (or press Ctrl+S).

- From the menu, select File > Close (or press Ctrl+F4).The editor closes for TransferFromBrokerageToBankProcess.