Change all app prefixes referenced in all expression rules to a different app prefix

Certified Associate Developer

Hi team

Here is my use case:

  1. Duplicate an app that exists in one schema to a different schema (for data separation)
  2. Recreate every object in the SAM app in the SAL app
  3. In creating the SAL schema, convert all instances of a!queryEntity() to a!queryRecordType()
  4. Temporarily leave the SAM app in place so I can compare SAL functionality against SAM functionality

Completed so far:

  1. Created the new schema (SAL)
  2. Set up the new synchronised record types
  3. Duplicated or created every object that exists in SAM into SAL
  4. Ensured the SAL site has the same layout as the SAM site

Questions I need answers for:

  1. Is there a way to do a bulk find and replace to change all references in every expression from SAM to SAL, or do I have to manually update each individual expression?
  2. I get a warning that type SAL does not exist every time I try to change 'type!{urn:com:appian:types:SAM}SAM_SoftwareOnboardingCase'
  3. Is there a standardised way to convert an a!queryEntity() expression to an a!queryRecordType() expression?

Any help would be greatly appreciated!

Blessings

Stephen

  Discussion posts and replies are publicly visible