Jump to content

Recommended Posts

Posted

Good afternoon,

Searching all the Workflows using this has not worked for me for years.

image.png.058eab6f0fbcfd3722a7d41a0538eeb7.png

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).

image.thumb.png.5afe550a36b5ced0179d16128e9c1dbf.png

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.

Posted

Interestingly my search icon only shows that I can search and not search and replace:
image.png.2751d25316b9ea9510a7c3d2f9982a37.png

 

Is the 'replace' an admin function?

Posted

@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.

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...