SDK: Rule Behavior
- 25 Jan 2022
- 1 Minute to read
- Print
- DarkLight
This documentation version is deprecated, please click here for the latest version.
SDK: Rule Behavior
- Updated on 25 Jan 2022
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Version 7.x .NET Architecture Change
- Versions 7.0.1 - 7.1 require .NET Core 3.1
- Versions 7.2 - 7.9 require .NET 5
- Versions 7.10+ require .NET 6
IRuleBehavior, much like IFlowBehavior allows for the customization of the behavior of the rule editor.
public interface IRuleBehavior
{
string Name { get; }
bool IsUserSettable { get; }
string RewriteSubject(Rule r, string subject);
string RewriteVerb(Rule r, string verb);
string RewritePredicate(Rule r, IRuleStep step, DataDescription anchorData, IInputMapping[] mappings, string predicate);
DataDescription[] ProcessTreeInputDeclaration(Rule r, string path, DataDescription[] inputs);
DataDescription[] ProcessStepInputDeclaration(RuleStep step, DataDescription[] inputs);
DataDescription[] ProcessInputDeclaration(Rule r, DataDescription[] inputData);
FlowStepToolboxInformation[] ProcessSteps(Rule r, DataDescription anchorData, string[] nodes, FlowStepToolboxInformation[] steps);
ValidationIssue[] RunRuleValidation(Rule rule);
void ProcessInputValues(Rule r, FlowStateData data);
string OverrideDebugUIClassName { get; }
string OverrideRunUIClassName { get; }
AllowUserToEditRuleInputData { get; }
void OnBehaviorAssigned(Rule r);
bool CanChangeBehavior { get; }
bool CanChangeRuleType { get; }
bool AllowDirectServiceCall { get; }
}
Was this article helpful?