Activity can't find function err: "No suitable instance found"
The application encounters the following "No suitable instance found" error whenever it attempts to use an activity that refers to the "contains" function.
Invalid expression or reference: No suitable instance found [seeking] @(null:null).contains(String,String) [candidate functions are] Rule-Utility-Function @.contains(Param.CaptureAgent,"<IFRAME")
Steps to Reproduce
- Launch the portal.
- Enter search criteria.
- Click on Search Button.
- Observe the error.
At the time of first use, the activity was assembled and the function was not available, so the error got stored in the assembly of the activity.
Subsequent use of the activity reused the old assembly which merely displayed the error, even though by that time the function was available.
- Use the revalidate-and-save tool to refresh the assembly of the activity.
- Avoid calling the activity simultaneously while importing the activity and function, such as by SLA processes, since such usage after the activity has been stored but before the function library has been built can create this state.
0% found this useful