Error on visibility section of Recordtype

Certified Senior Developer

Hi,

We have a Record Type based on a MySql view, and we just added 2 new fields in the concerned table and in the view.

When we used the RecordType, all works fine, the 2 fields are well visibles from Interfaces, ER, or the RecordType itself.

The only issue we have is when we try to deploy this component with the Visibility set with the code below (cf screenshot). Please see the error is below.

When we leave the "Visiblity" section to true (default) all works fine. When we put back the code with new fields, the error still appears.

Yesterday to get out of this situation, we set the Visibility with an ER to not evaluate anymore the new fields with the rv!record[] function, to deploy it.

Today, we tried again to set the initial code, an now, it works !??

Would you have any explanation ?

Deployment log :

2022-06-15 13:53:19.88 ERROR recordType 6dfe1b0b-91a9-46c0-8133-d6c88103606b The recordType [id= uuid=6dfe1b0b-91a9-46c0-8133-d6c88103606b]
was not imported because a required precedent is missing: recordField [uuid=ajournement_usager_non_presente location=Record Actions > Related Actions ["renvoyerLeCerAuCds"]
> Visibility] in record type [id=null uuid=6dfe1b0b-91a9-46c0-8133-d6c88103606b] cannot be found. (APNX-1-4070-005) (APNX-1-4071-006)
com.appiancorp.ix.ConsumerException: type=recordType, srcId=6dfe1b0b-91a9-46c0-8133-d6c88103606b, dstId=null,
cause=com.appiancorp.ix.binding.UnresolvedRecordPropertyReferenceException: type=recordField, srcId=ajournement_usager_non_presente, r
ecordTypeUuid=6dfe1b0b-91a9-46c0-8133-d6c88103606b, ctx={from={recordType: uuid=6dfe1b0b-91a9-46c0-8133-d6c88103606b}, md={[Record Actions
> Related Actions ["renvoyerLeCerAuCds"] > Visibility]: {nullable=true, required=true}RECORD_TYPE}}:
recordField [uuid=ajournement_usager_non_presente location=Record Actions > Related Actions ["renvoyerLeCerAuCds"] > Visibility] in record type
[id=null uuid=6dfe1b0b-91a9-46c0-8133-d6c88103606b] cannot be found., level=ERROR, object=RecordTypeHaul{recordType=RecordType [id=null, uuid=6dfe1b0b-91a9-46c0-8133-d6c88103606b,
name=Projet, sourceTypeStr={http://www.appian.com/ae/types/2009}DataStoreEntity, sourceUuidStr=64c9ae42-8b52-4155-9646-1c09ec44b8c3@_a-0000e3fa-6fc8-8000-9ba9-011c48011c48_20898]}
at com.appiancorp.ix.ImportConsumer.consume(ImportConsumer.java:36)
at com.appiancorp.ix.HaulImportConsumer.consume(HaulImportConsumer.java:66)
at com.appiancorp.ix.HaulImportConsumer.consume(HaulImportConsumer.java:30)

...

  Discussion posts and replies are publicly visible