Skip to main content
June 4, 2024
Question

Get cdt reference by name

  • June 4, 2024
  • 7 replies
  • 0 views

Hi, Is there any to get any cdt's reference by its name like we have getrulereferencebyname function?

eval() function does the trick but as its internal function and not recommended, i will avoid it.

Thanks

7 replies

stefanhelzle0001
Brainy
June 4, 2024

I try to avoid doing such things in general. What do you try to achieve?

June 4, 2024

We have all the cdts in child application which are being called in a rule that is present in parent application. Now we can't deploy parent app first as it will have missing precedents(cdts) or vice-versa. Or we can say it is a circular dependency.

stefanhelzle0001
Brainy
June 4, 2024

I understand. But refactoring your app to use a really bad and unsafe design practice will only create other problems.

Did you consider putting all CDTs into a separate package and deploy that first?