Not able to see code in the expression of a interface

Certified Associate Developer

Hi All ,

I am facing a strange issue with my interface ,Yesterday I have worked on one of the interface ,I have clicked on save and publish also ,later some time I have opened that interface and I am not able to see any code in expression of that . It opened like unnamed interface, but code in that interface is working fine in the dependent interface. When I am trying to open that interface it is opening like a new interface(unnamed interface).I am not able to deploy the same interface from another environment also.

Can anyone please let me know the solution for this issue?

  Discussion posts and replies are publicly visible

  • Hi,

    Did you checked are you able to see the versions ?

  • 0
    Certified Associate Developer
    in reply to vijayalakshmig0072

    Hi,

    I have checked the versions also but I am not able to see any code in that versions too.Every single version is showing unnamed interface only when I open them

  • 0
    Certified Lead Developer
    in reply to sireesha

    Is it on-prem Appian deployment? it might be due to insufficient memory.

  • 0
    Certified Lead Developer

    I ran into this exact issue an hour ago (NOT a Permissions/Security issue) & it automatically resolved itself on the hour (of the next hour), our Appian environment/Database is on the Cloud if that matters. For me, this issue was happening when trying to open current & old versions of an interface (URL was unique for the version but looked like a New/Test Interface). When I tried to compare versions, even ones from last year, was getting the Error "Cannot compare versions. The interface does not exist, the versions have been deleted, or you do not have sufficient privileges to access its data".

    However, a Record Type's Summary page relying on this interface (visible on the Site) was still working with the interface, & I could duplicate the interface object with the most recent changes I had saved. Met with a co-worker to review the issue just over an hour later & it had fixed itself. After realizing it fixed itself, I duplicated one of those tabs I had open where it was displaying as "Unnamed Interface" & it was back to displaying as expected, comparing versions also worked.

    Root Cause: I saved 2 versions within 1 minute of each other & then deleted the prior version at 7:01am GMT. Time between the 2nd save & deleting of prior version was likely < 5 seconds. This caused an Error on Appian's back-end tracking Design Object updates (I got an Error message immediately after deleting the prior version).

    Extra Info: When I checked the UUID with function getcontentdetailsbyuuid() it was showing that it was a deleted object. In the system logs => /suite/shared-logs/ehidev4/audit/design_objects.csv => it was only showing that the interface had been Updated (no Deletes). In the system logs => /suite/shared-logs/ehidev4/deletion.log => it was only showing "successful deletion of object version". When an object is deleted from the environment it shows "successful deletion of objects". At 8:20am GMT function getcontentdetailsbyuuid() was back to showing it as a normal, existing (not deleted) object.

  • 0
    Certified Lead Developer

    From what I understood, you are not able to access the interface that you created, but its working as expected when you reference it. Seems like you don't have the desired access to view that interface object. Can you please ask any of the system admin users to rectify the security of this object as per your application?