After you deploy the bank component to LiveCycle ES, you can test it by creating a new process that uses it. Although this section does not explain all the concepts involved in creating a process, it provides the basic concepts for you to create a simple process that uses the bank component. For information about creating a process, see
Creating Your First LiveCycle ES Application at
http://www.adobe.com/go/learn_lc_firstApplication.
The following illustration shows an example process named CreateBankAccount that creates a new customer, creates a new account, and then emails a message that specifies the new customer and account identifier value. The email component created in the previous section is used to email a message to the user. For information, see
Creating Your First Component.
The createCustomer operation returns a string value that represents the customer identifier value. This value is stored in a string process variable named
customerId. For information about creating process variables, see
LiveCycle Workbench ES Help.
The customer identifier input value is assigned the value of the customerId process variable. The
createAccount operation returns a string value that represents the account identifier value. This value is stored in another string process variable named
accountId.
The setValue operation assigns a string process variable named
outputResult with the value of
customerId and
accountID. The following XPath expression is used to concatenate these string values together:
The send operation (which belongs to the email component created in the previous section) emails the value of the
outputResult process variable to the specified email recipient. For information about the send operation, see
Creating Your First Component.