Dec. 22, 2015
These transactions are triggered from CloudPortal™ Business Manager and may or may not initiate a workflow.
The rules or conditions to initiate a workflow depending on transaction details are defined in transactionWorkflowMap.xml.
If multiple rules are matched then first "Match" will be successful and workflow associated with this "Match" will be returned. If there is no matched workflow, then the transaction will be completed.
Workflow name returned from transactionWorkflowMap.xml is used to read the workflow definition from workflows.xml. This file has the complete definition for all the workflows, which include how many phases are there in a workflow, what all activities are there in each phase.
<Workflows> <Workflow name="account-activation-retail"> <Bucket name="Phase-1" order="1"> <Activity name="account-activation-retail.verifyMasterUserEmailActivity" ref="verifyMasterUserEmailActivity" /> </Bucket> <Bucket name="Phase-2" order="2"> <Activity name="account-activation-retail.collectCreditCardInfoActivity" ref="collectCreditCardInfoActivity" /> <Activity name="account-activation-retail.createOSSAccountActivity" ref="createOSSAccountActivity" /> </Bucket> </Workflow> </Workflows>