02-16-2021 04:12 AM
I want a search feature in alfresco, my requirement is that i have 100s of completed workflow and i wanted to search completed workflow by its description or title of the workflow. Based on description/name of the workflow , i should serach for it. Is it possible and if yes how to do it.
Any kind of help will be appreciated.
Regards
Akash
02-16-2021 04:31 AM
If what you are looking for should be similar to the fuzzy / free-form search for documents, but on workflows, then there is no such functionality in Alfresco. There is support for basic database-oriented lookup / selection in the APIs, but none of those are directly exposed in the user interface - and even if they were, they only support very basic exact match / pattern-based matching.
What I have done in an experiment years ago (ca 2012/2013) was to create a "virtual node" service which mapped workflow and task instances to virtual Alfresco nodes, and then used Alfresco's regular indexing and search capabilities to query them. E.g. where a regular node would have workspace://SpacesStore/xxxx-xxxx-xxxxxxxx-xxxx like structure, the workflow / task instances would be workflow://Activiti/xxxxxx (using the DB ID + a number pattern to provide a stable identifier length unless you had billions of instances).
But this was quite an excessive / intensive customisation, and AFAIK changes to Alfresco core since then likely would prevent a similar approach from working nowadays.
Explore our Alfresco products with the links below. Use labels to filter content by product module.