UC4 Java API - Remove PromptSet from an Object

Discussion created by VasilisMelissaropoulos on Nov 9, 2017
Latest reply on Nov 13, 2017 by VasilisMelissaropoulos
I'm writing a tool that parses some Objects and performs a series of checks and changes. It's a help tool for a migration project.

It seems that there is no function that removes a single specific PromptSet from an Object's promtset list.
Does anyone tried that before?

As a workaround I was thinking to iterate through the list of promtsets, keep them in a list, then removePromptSets() and finally add them back one by one using the list i previously created, excluding those i don't need.
What's your opinion on that?