Skip to main content
February 15, 2024
Solved

Get the application name

  • February 15, 2024
  • 4 replies
  • 0 views

Hi Everyone,

Requirement: We need to segregate the process model based on the app name in the process task reports.

We are creating the process reports based on all task, we need to fetch the app name based on the Process model ID.

Any suggestions would be appreciated, Thanks in advance. 

Best answer by mikes0011

If you're using a process model naming convention that includes an app-specific prefix (following best practices), then I'm guessing you could filter your process report to process models where the pm name starts with your app prefix.

If you're talking about giving a report some sort of visibility into process instances for process models that belong to any particular Design Application(s), i'm afraid that's not going to be feasible, considering that any given process model could belong to any number of Design Application(s).

4 replies

mikes0011
mikes0011Answer
Brainy
February 15, 2024

If you're using a process model naming convention that includes an app-specific prefix (following best practices), then I'm guessing you could filter your process report to process models where the pm name starts with your app prefix.

If you're talking about giving a report some sort of visibility into process instances for process models that belong to any particular Design Application(s), i'm afraid that's not going to be feasible, considering that any given process model could belong to any number of Design Application(s).

The Expression Guru
February 15, 2024

Thanks Mike,

Actually, we tried with Prefix its working fine as expected, but in worst scenario case, where developer does not follow the best practices, in this scenario we are unable to fetch the exact application name.

mikes0011
Brainy
February 15, 2024

It's up to the design team management to enforce proper naming conventions are followed for process model names.  My advice here is that this is an item you check for during code review phase or similar.  It'll be very easy to scan the app package(s) being deployed to check that all process models use proper prefixing.

The Expression Guru
February 15, 2024

Here is one more way of doing it without using the filters based on application name.

In order to fetch all the tasks based on the application from the task report we can also add a process variable of  Application ID in all the process model containing tasks and then you can add the filter based in application ID in your task report.