This rule simply suspends accounts whose balance goes negative, for obvious business reasons. When an account balance changes, this rule checks whether the the new balance is less than zero. If it is, the account is suspended.This task provides summary instructions for actions you have already learned. If you need a reminder, refer to Task H for details.
1. Add another rule to the ProcessDebits rule set and name it CheckNegativeBalance.
2. Open the rule editor for the CheckNegativeBalance rule.
3.
4. In the Conditions area, type the following:
System.debugOut("############### Account ID <"+account@extId+"> STATUS set to <Suspended>. Balance <"+account.Balance+"> is less than zero");
6. Click Apply and save the project.Summary and Next StepsYou have now configured the project’s ontology and rules. Now you are ready to configure and build the archive, ready for deployment.
Copyright © TIBCO Software Inc. All Rights Reserved.