samwoo Posted August 16, 2024 Posted August 16, 2024 Good afternoon, Searching all the Workflows using this has not worked for me for years. I always thought that I was going crazy that every search I carried out always returned every single Workflow/BPM that I have. Checking in Developer Tools I had a need to use it today, and I decided to use the Developer tools to see what's going on and it was clear as day (method adminBpmFindProcessesByPropertyText). As you can see, the <findText></findText> param is empty, regardless of what I typed in the field... this is what's causing all the Workflows to be returned in the results. Intelligent Capture Test As a test, I did the same thing in Intelligent Capture screen, and the <findText></findText> value was populated (for method adminPcfFindProcessesByPropertyText) and it correctly returned the Intelligent Captures that matched the criteria. PowerShell Test I then used PowerShell Add-HB-Param "application" "com.hornbill.servicemanager" Add-HB-Param 'findText' "SharePoint" $api = Invoke-HB-XMLMC -XMLMCService "apps/com.hornbill.core" -XMLMCMethod "adminBpmFindProcessesByPropertyText" And it correctly displayed all the Workflows that matched the criteria. Verdict The API request when carrying out the search against all Workflows is broken and needs fixing.
Estie Posted August 16, 2024 Posted August 16, 2024 Interestingly my search icon only shows that I can search and not search and replace: Is the 'replace' an admin function?
Ryan Posted August 20, 2024 Posted August 20, 2024 @samwoo you are right, the search is not filtering by the text provided. This will be fixed in an upcoming build of Core UI. @Estie the search and replace is an experimental feature, which can be turned on with the setting experimental.feature.bpm.allowbatchsearchandreplace. The standard search (without replace) is the currently supported behaviour. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now