Skip to main content
Known Participant
February 28, 2025
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
February 28, 2025

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

Known Participant
February 28, 2025



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

karumurua531442
Participating Frequently
February 28, 2025

for records it would be like this:

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

stefanhelzle0001
Brainy
February 28, 2025