Follow these steps to add the getValueOfPortfolio invoke:
- Click the Assign icon
on the palette.
- Click the Invoke icon
on the palette.
- Click the Flow 2 figure
.
The Invoke figure was added.
- Click the Properties tab.
The Display Name field is set to Invoke.
The Name field is set to Invoke.
- In the details section, click the Description tab.
- In the Display Name field, type getValueOfPortfolio.
The Name field is set to GetValueOfPortfolio.
- In the details section, click the Details tab.
- Click Browse.
The Select a Partner window opens.
- In the Partner Name (? = any character, * = any String) field, type StockPortfolioInterface.
- Click StockPortfolioInterfacePartner.
- Click OK.
- From the Operation list, click getStockPortfolioValue.
- From the list, click getStockPortfolioValue.
- Clear the Use Data Type Variables check box.
- Click Browse to the right of getBrokerageAccountInput.
The Select Request Variable window opens.
- In the Variable Name (? = any character, * = any String) field, type getValueOfPortfolioInput.
- Click getValueOfPortfolioInput.
- Click OK.
- Click Browse to the right of getBrokerageAccountOutput.
The Select Response Variable window opens.
- In the Variable Name (? = any character, * = any String) field, type getValueOfPortfolioOutput.
- Click getValueOfPortfolioOutput.
- Click OK.
- Click the Properties tab.
- Right-click the Assign getValueOfPortfolioInput label.
- From the pop-up menu, select Add Link.
- Click the Flow 2 figure
.