Defining the CreateAccount Event
For example purposes, the information needed to create an account is an ID, a balance, and a monthly average balance (for the fraud detection calculation). The ID property is inherited from the
AccountOperations
event.
- Procedure
- Right-click the
Events folder, and select
.
The New Simple Wizard appears.
- In the Simple Event name, type CreateAccount.
- In the Description field, type Triggers the CreateAccount rule to create an account.
- Click Finish.
- In the field Simple Event Editor Inherits From, click Browse.
- In the upper section of the event picker, select the
Simple Event event type, and in the lower section browse to and select the
AccountOperations event. Click
OK.
The
AccountOperations
event is now the parent event for theCreateAccount
one. - In the Default Destination field, click the browse button and in the Select Destination dialog, select
/Channels/HTTP.channel/AllOps.
Click OK.
- In the
Properties section, add two properties:
Balance, of type doubleAvgMonthlyBalance, of type double
- Save and close the resource.
Tip: In any editor, you can click any label that is underlined (such as the Inherits from label in the Event editor) to open the resource selected for that setting.