Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Create Report based on list collector field

User659586
Mega Guru

Hi

I want to create a report that groups and counts projects with same business applications. This field is a List Collector so it can have multiple entries.

find_real_file.png

What can I do to split this field for reporting purposes? 

I tried database views to join project and business application tables because I need the Application Portfolio Manager to filter these projects.

How can I accomplish that?

Thanks! 

1 ACCEPTED SOLUTION

Hi @Ricardo Rodrigues ,

I'm afraid it is not that simple, as there is a many-to-many relation between records and tags (aka labels). But due to this fact the tag concept is suitable to your use case (as you cannot create a m2m table for licence reasons)

For more information please see https://docs.servicenow.com/bundle/paris-platform-user-interface/page/use/common-ui-elements/concept...

Kind regards
Maik

View solution in original post

10 REPLIES 10

Hi @Ricardo Rodrigues ,

I thought hard about it and considered using the tags. Every time a value for "Business Applications" is added, a tag with the same name is also added in the background. 

What sounds simple at first is a bit more complex in practice and I don't have the time to develop it right now.

But maybe you can do something with this approach.

Kind regards
Maik

Thanks I will try that solution but how can I access the "Tag" field?

Can I simply do, for example, project.tags ?

Hi @Ricardo Rodrigues ,

I'm afraid it is not that simple, as there is a many-to-many relation between records and tags (aka labels). But due to this fact the tag concept is suitable to your use case (as you cannot create a m2m table for licence reasons)

For more information please see https://docs.servicenow.com/bundle/paris-platform-user-interface/page/use/common-ui-elements/concept...

Kind regards
Maik

I think it's a great solution, I tried it joining multiple tables and shows exactly what I want! Thanks a lot!

Thanks for the feedback and glad to help you!

Kind regards
Maik