bpmAppService.BPMSServices.RuleService(rule) Call of Law and Action.

Name Type of Return Input Parameter Description
CallRule object Rayvarz.BPMApp.[application].Rules.Rules baseRule, Rayvarz.BPMS.Infrastructure.DomainObject.DomainObjectBase domainObject, params object[] parameters Calling the law The parameter definition is optional, you can pass as needed. In the following example, two parameters are passed to the law:
bpmAppService.BPMSServices.RuleService.CallRule(Rayvarz.BPMApp.BPMSTest.Rules.Rules.rule1, domainObject, new Object[]{“rule1”, domainObject}); How to read the value of the parameters in the rule var args = parameters0 var obj = parameters1 as Rayvarz.BPMApp.BPMSTest.Model.BPMAPP_Information;
CallAction object Rayvarz.BPMS.Infrastructure.DomainObject.DomainObjectBase domainObject, Rayvarz.BPMS.Infrastructure.DomainObject.DomainObjectBase eventObject, action, string applicationName action: Rayvarz.BPMApp.BPMSTest.Actions.Actions action: Rayvarz.BPMApp.BPMSTest.Actions.PostFormActions action: Rayvarz.BPMApp.BPMSTest.Actions.PostStarterFormActions action: Rayvarz.BPMApp.BPMSTest.Actions.PreFormActions action: Rayvarz.BPMApp.BPMSTest.Actions.PreStarterFormActions Call action