Hi teamWe have moved an existing application to a new schema, and we are also getting rid of the old CDTs in order to use Record Types instead.I need to know how to apply the 'type' function where the new schema name is SierraUniformMike and the recordtype name will be SUM Onboarding Case
'type!{urn:com:appian:types:PRE}PRE_OnboardingCase'( id: null, case: rule!DCM_newCase( reference: joinarray( { "PRE", text( rule!APP_default(value: now(), default: today()), "yymmdd" ), rule!APP_generateUUIDSegment(6) }, "/" ), parentID: null, priority: null, milestone: rule!PRE_getCaseMilestoneByUUID( milestoneUUID: cons!PRE_UUID_ONBOARDING_CASE_MILESTONE_OPEN ), assignment: null, type: rule!DCM_getCaseTypeByUUID( uuid: cons!PRE_UUID_CASE_TYPE_ONBOARDING_CASE ), createdOn: now(), createdBy: loggedInUser() ), createdOn: now(), createdBy: loggedInUser() )
The expression works properly in the old schema.
The revised expression will need to :
I am not using an Action to create the new SUM Onboarding Case
Discussion posts and replies are publicly visible
Use the recordType! domain to create new record typed values.
Thanks guys, there was a bit of confusion on my side. One of my colleagues has helped me resolve my issue.