Showing posts with label Saved Search. Show all posts
Showing posts with label Saved Search. Show all posts

Wednesday, December 2, 2015

Limiting Inbox search result for IBM BPM

sometimes if we have lots of instances assigned to a user or usergroup then refreshing inbox for user become very slow as IBM BPM tries to get details about all cases and it might take upto 10 minutes.

This performance issues is due to large number of cases so there are only two solutions,
1.) close the cases and keep only required cases open and available, which does not work in all scenarios
2.) limit the number of instances fetched by a saved search/inbox in IBM BPM Portal. which can be done by below steps.

-> In newer version this value is by default set to 500 which is good and you might need to make it higher if you want to see more instances in result.

Optimize the number of loaded search result entries

You can optimize the number of retrieved results entries of your saved searches.
The saved searches are optimized to process 500 result entries. The displayed pages of the result contains up to 500 entries, which are retrieved from the server. In addition, the total number of entries is displayed.
If you expect more than 500 records for a call, for example, if you are using the TWSearch function or the saved search in an API format, you can increase this number.
To retrieve a different number of entries, complete the following steps:
  1. Insert the following section into the 100custom.xml file:
    <properties>
        <server merge="mergeChildren">
      <process-search-engine-count-optimization merge="replace">500</process-search-engine-count-optimization>
           </server>
    </properties>
  2. Adjust the 500 value to meet your needs. The larger the value, the more memory and time is needed to retrieve the entries.
  3. After saving changes to the 100custom.xml file, restart the server.


You can find more details about his in blow tech-note by IBM

Sunday, November 2, 2014

Second Page of custom saved search result reset back to previous saved search's column and filter - IBM BPM Portal

Problem
Whenever we try to execute a custom search or quick search first page of result comes as expected but as soon as we click on second or any other page from pagination menu custom search gets back to default or last clicked saved search.

Solution 
We raised this issue with IBM and they came back with an IFix to solve this issue.
apparently this issue is related to cookie in local browser. whenever we click on second or any other page, it get redirected to the saved search that is related in cookie and search filter, sorting and column get details from saved search in cookie. 
To solve this problem, JR49440 Needs to be installed.

Go to, IBM Fix Central and find JR49440 related to your current IBM BPM version.
More details can find in below tech-note