Share all details related to your problem, including any error messages you may have received.
Driver Rule references library rules A, B. Library rule A references library rule B and library rule E. Library rule B references library rule E.
When the driver rule is executed in the actual workflow, it encounters the error that the command was not found: Method-In-E. Method-In-E is defined in library rule E.
Drive rule does not use Method-In-E directly, but the referenced rules(rule A & rule B) in drive rule uses Method-In-E.
Should I reference rule E in the driver rule as well? (Driver rule does not use Method-In-E directly)
What might be the problem and how can it be resolved? Thank you.
Your references are bit confusing but what I understood is you are calling a method in a Rule which is referenced in workflow and there are sub-references present in that rule and you are getting an error of method not found.
You can go ahead and add the Rule E as reference and check your functionalities are working without any impact.
Sometimes there might be methods that are having dependencies, so it shouldn’t be a issue having the references.
Basically, Rule Library inclusion is not recursive.
A Rule will include all of its referenced Rule Libraries, but those will not in turn include all of their referenced Rule Libraries. The top-level Rule needs to reference all relevant rules or they won’t be in the namespace.
(I agree that this is annoying, but I suspect Sailpoint probably had issues with infinite recursion.)