Drop down for Business Term and Exclude Child asset Types
We need to show the list of business terms in a drop down in workflow form and exclude the other child asset types of business terms like Acronym from the drop down list.
Using conceptType filter to the Form variable of asset type, does not exclude Child asset types from the drop down.
Any idea or workaround on how to implement this?
Former User
Posted 5 years ago · Edited 1 year ago·Last reply 4 years ago
5 comments
bartvanderlocht
·5 years ago · EditedA workaround (although it’s not perfect, see further): use proposedFixed + proposedValues instead of conceptType
Set proposedFixed to true and proposedValues to a list of UUIDs of the assets in scope (in this case: all the Business Terms)
You’ll need to build a list for proposedValues in a scripttask first. You’ll probably use a FindAssetsRequest, in which you 'll need to set 'typeInheritance to false
This has 3 disadvantages:
-Depending on the number of assets, it might be very slow, a dropdown with conceptType is a lot faster (although I expect it to be manageable for Business Terms)
-The rendering within the form is different (now showing the community and domain ‘breadcrumbs’)
-You can only do this in a usertask, not in the startform
Ramesh Kuppusamy
·4 years ago · EditedI have a similar requirement where I am trying to build a workflow to propose new business term and link it to existing business term in the domain as synonym. I used proposedFixed + proposed values +multivalue instead of conceptType to show drop down list of existing business terms in the domain. This approach works for most cases, but in case if the domain is empty, then the proposed list would be empty and the dropdown list shows all the assets across all domains. Now I have added the proposedFixed + proposed values +conceptType+domainId+multivalue pre-filters to handle that scenario.
Another approach is to use dynamic enum, but it won’t allow to choose multiple values from the dropdown.
Former User
OP5 years ago · EditedHi @george.cheung.collibra.com, @stijn.waegemans
We also have similar requirement, but could not find a way to pre-filter assets without children asset types. Please suggest here.
Regards
Vaibhav
noor
·5 years ago · EditedHi Annamalai, were you able to implement this requirement? I have a need to let the user choose asset types filters in the workflow input form.
Former User
OP5 years ago · EditedNope, we had an work around to segregate the Acronyms into a different domain and Business Terms into another domain, and used the workflow input form filters for domainId