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
If you are using records you don't need type() , records are referenced using "record!" ?
record!XYZ_NAME(
record!XYZ_NAME.fields.id:1,
record!XYZ_NAME.fields.name: "stephen"
)
Is this you wanna know or am i missing something??