Skip to Main Content
Digital Business Automation Ideas


This is an IBM Automation portal for Digital Business Automation products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Please use the following category to raise ideas for these offerings for all environments (traditional on premises, containers, on cloud):
  • Cloud Pak for Business Automation - including Business Automation Studio and App Designer, Business Automation Insights

  • Business Automation Workflow (BAW) - including BAW, Business Process Manager, Workstream Services, Business Performance Center, Advanced Case Management

  • Content Services - FileNet Content Manager

  • Content Services - Content Manager OnDemand

  • Content Services - Daeja Virtual Viewer

  • Content Services - Navigator

  • Content Services - Content Collector for Email, Sharepoint, Files

  • Content Services - Content Collector for SAP

  • Content Services - Enterprise Records

  • Content Services - Content Manager (CM8)

  • Datacap

  • Automation Document Processing

  • Automation Decision Services (ADS)

  • Operational Decision Manager

  • Robotic Process Automation

  • Robotic Process Automation with Automation Anywhere

  • Blueworks Live

  • Business Automation Manager Open Edition

  • IBM Process Mining


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.


Status Future consideration
Created by Guest
Created on Feb 5, 2024

Search Tasks based on task details


Summary


IBM BAW does not allow to search tasks based on criterias that correspond to values of

business data attached to the tasks.

For instance, if a task has a “JobCode” business data, there is no API that allows to search all

task instances across all process instances with a “JobCode” equals to “XYZ”.

The workaround to get all tasks for all processes, iterate on each task, get the task detail to

find the searched task is extremely costly when the number of processes/tasks is big.

The ask it to have a REST API, similar to what exist at process level, to find all tasks with a

given list of criterias.

The limitation has already been raised in the community:

https://community.ibm.com/community/user/automation/discussion/search-in-baw-tasks-

with-filter-in-task-scope-not-process-instance-scope-using-baw-rest-exposed-services


Context


BPCE is using IBM BAW as the foundation for their new Workflow system with the objective

to implement their business workflows and orchestrate work from their agents. Ultimately,

thousands of processes and tens of thousands of tasks will be in-flight at any given time.


Business Requirements


Process participants in the bank can be assigned task. A given employee might have several

Job Roles and tasks are assigned to a given employee for a given Job Role.

The requirement is to give a workflow participant the ability to find all tasks that are

assigned to him for a given Job Role.

This is one example of a business requirement that require searching for tasks based on the

details of a task. To efficiently fulfil his mission, a workflow participant might have to get

access to all tasks according to one or several criteria. These criteria correspond to task-level

business data.


What can’t be done today


A developer using IBM BAW APIs doesn’t have an API to find all tasks where the value of a

business data attached to the task correspond to a given value.


Technical limitations


There is no API in BAW to find all task instances across all process instances where the value

of a variable attached to the task is equal to a given value.

There is an API to find all tasks with a criteria based on predefined task attribute (like status

or others), but not for business data attached to the task.

There is an API to find all task instances across all process instances, but, when the product

is deployed at scale, this can bring a very large number of task instances and iteration on

each of them is extremely time consuming.

This kind of API exists to find all process instances where the value of a process-level

variable is a given value. A workaround that has been explored is to copy on process-level

variables the value of task-level variable so that it can be searched using the process-level

search API. However, has multiple instances of a given task with different values for their

variables can be run in parallele, those copy would have to be stored on multi-valued

process-level variables. However, this API does not allow to test a criteria on elements of

multi-valued (list) variables, which makes this workaround not viable.

Directly accessing the BAW database to find these tasks is not possible because task details

stored in the database (values of task-level variables) is stored as a blob which is the result

of the serialisation of a Java class, making it opaque and not searchable.

The only workaround identified to far is to build a separate system of records of all tasks

that would allow more flexibility in queries, and maintain it as task evolve. This new

database of task would be built and maintained based on the events sent by BAW when

tasks are instantiated and modified. However, some data in task details can’t be tracked

(multi-valued variable for instance), which might lead to missing updates to maintain this

database. Although this issue might be workarounded, building and maintaining this

separate database is a significant effort that would not be necessary if the search API for

task was more powerful.

Idea priority High
  • Guest
    Reply
    |
    Mar 6, 2024

    When you say "functional metadata" can you explain in more detail? Are you trying to have exposed business data in task instances like there is in process app variables?