Johan den Ouden
mvp_badge
MVP
Warn about unused aggregates in (screen) actions
1937
Views
7
Comments
Implemented
Aggregates & Queries
Development Environment 10.0.902.0

When we develop actions and specially change them later we sometimes remove code in the flow.

When a variable is not used anymore after changing / deleting some code in the flow service center warns you about this (yellow line under the variable and a message in the warning panel).

When an aggregate is not used anymore service center does not warn you about this.
I would like service center to warn me so I can check if the aggregate can be deleted or not.

In the example below the GetUsers aggregate is not used.

Changed the category to
Aggregates & Queries
Johan den Ouden
mvp_badge
MVP

Maybe it counts for advanced sql queries too but in there there might update, insert, delete statements which you want to happen. But it's a warning and the developer can hide the warning when he has validated it and it's still needed.

I wouldn't add it to adv. queries because it would possibly generate more false positives than actually scenarios where it would be useful.

Love the idea though! :)

Changed the status to
Implemented
on 21 Aug 2018

Hey Johan,

I'm glad to announce that your idea has been implemented recently and now aggregates not being used will trigger a warning so that you can cleanup unused "code". You can find your contributions in latest Service Studio's version release notes:

https://success.outsystems.com/Support/Release_Notes/Development_Environment/Development_Environment_10.0.902.0

Hope you like it ;)

Changed the status to
Implemented
on 21 Aug 2018

Hey Johan,

I'm glad to announce that your idea has been implemented recently and now aggregates not being used will trigger a warning so that you can cleanup unused "code". You can find your contributions in latest Service Studio's version release notes:

https://success.outsystems.com/Support/Release_Notes/Development_Environment/Development_Environment_10.0.902.0

Hope you like it ;)

Johan den Ouden
mvp_badge
MVP

Hi Vasco,

Nice to see the feature has been implemented!


Nice One!