Is it ok to call a process from a rule.
I have a rule on a Business Object that calls a process when a condition is met and it is a new instance of the Business Object. This works, as when the user selects create, they are presented with another Business Object that is required.
I also put the same rule when the Business Object was changed but this is not being called. (I originally tried just using without stating if Business Object was New or Changed but still only worked at creation stage)
1st Rule:
If CallRecord IS NEW AND CallRecord.NeedDetail='Yes' AND CallRecord.DetailGiven<>'DetailGiven' Then
CallDetail
2nd Rule
If CallRecord.CallTypeShort WAS CHANGED AND CallRecord.NeedDetail='Yes' AND CallRecord.DetailGiven<>'DetailGiven' Then
CallDetail
Call Detail is the process, this is one of 20 rules in the process all similar:
If CallRecord.CallType.CallType='Amendments' Then
DELETE CallRecord.CallDetails
ENTER NEW Amendments WITH Amendments.CallRecord=CallRecord
VIEW Amendments
VIEW CallRecord USING Main