Skip to main content
Known Participant
Feb 28, 2025 12:41 PM UTC
Solved

We used type! to create local constants in case of CDT, but is there something similar for record types?

We used type! to create local constants in case of CDT, but is there something similar for record types?

4 replies

karumurua531442
Participating Frequently
Feb 28, 2025 12:42 PM UTC

Hi [mention:eef68e60a0d842ddadd0bbcaff199a4c:e9ed411860ed4f2ba0265705b8793d05] Didn't get your question could please elaborate or post something regarding your usecase

Known Participant
Feb 28, 2025 12:45 PM UTC



I used type! to create a local constant, is there anything similar for record types? because type! only works for CDT

karumurua531442
Participating Frequently
Feb 28, 2025 12:52 PM UTC

for records it would be like this:

recordType!Case(
   recordType!Case.fields.id: 1,
   recordType!Case.fields.status: "Open",
   recordType!issueType: "Shipping"
)

stefanhelzle0001
Brainy
Feb 28, 2025 12:49 PM UTC