In the customerService bean, a client will use createCustomer to create a customer record.
A. True
B. False
Code:
<?xml version="1.0" encoding="UTF-8"?>
<process name="RegisterCustomer" xmlns="[URL]http://jbpm.org/4.0/jpdl[/URL]">
<start>
<transition to="send-verification-email" />
</start>
<java name="send-verification-email" expr="#{customerService}"
method="sendCustomerVerificationEmail">
<arg> <object expr="#{customerId}" /> </arg>
<transition to="confirm-receipt-of-verification-email" />
</java>
<state name="confirm-receipt-of-verification-email">
<transition to="send-welcome-email" />
</state>
<java name="send-welcome-email"
expr="#{customerService}" method="sendWelcomeEmail">
<arg> <object expr="#{customerId}" /> </arg>
</java>
</process>
B. False