Occasionally when you search in Process Inspector and Process Portal with the same condition in IBM Business Process Manager, you receive search results that are different instead of the same.
Why does this happen? Well...
The Process Inspector search is for instances, while the Process Portal search is for tasks. Even though in most cases there is a one-to-one relationship between active instances and tasks for a user, this does not happen 100% of the time.
The instance full text search in the Process Inspector performs a direct query against the database (for example: the LSW_BPD_INSTANCE and the related tables), while the task full text search in the Process Portal uses the Apache Lucene based task index.
There are known issues with the under-indexing of tasks, most notably when you are running in an Oracle environment. Rebuilding the task index via the taskIndexFullReIndex wsadmin command, which is documented in the IBM Knowledge Center would likely resolve the current issue, allowing the missing task to be displayed in Process Portal via a full text search.
There is also an interim fix available on Fix Central for IBM Business Process Manager V18.104.22.168: JR49509. JR49509 contains a fix for APAR JR49503 which addresses a known under-indexing issue on Oracle and may prevent the reported scenario from re-occurring.
Question Mark ? (modified) credit: (cc) Some rights reserved by freeimages