CDT vs map

Certified Associate Developer

Hi all,

I have to deal with metadata on my processes. Most of them upper 20 parameters. My engine rule Will need to Fetch the specific parameter and its value coming from interfaces, data bases or integrations.

So I wonder what It is best way to deal with them for performance:

1) create a CDT with upper 20 fields (and It could be defined more than 50 fields)

2) create a CDT with 2 fields: key and value and work as a list.

3) Define a Map as any type objects.

Thank you.

  Discussion posts and replies are publicly visible

Parents
  • Certified Lead Developer

    Can you give us a bit of a background on the scenario?

    In general, I recommend to go with Appian Records. But only if you want to persist that data in some database.

    For pure transport, go with a CDT. And the number of fields would not matter in that case.

    And use maps in case you need the ultimate flexibility.

Reply
  • Certified Lead Developer

    Can you give us a bit of a background on the scenario?

    In general, I recommend to go with Appian Records. But only if you want to persist that data in some database.

    For pure transport, go with a CDT. And the number of fields would not matter in that case.

    And use maps in case you need the ultimate flexibility.

Children