Deleting objects during API deployment

Certified Senior Developer

We have deployed app to prod environment back in 2020. After a few years it turned out that some features are not needed. We have deleted those objects on our dev environment then on git repo. During deployment to UAT or PROD based on version control system package.zip is created. This package does not contains deleted objects. This package is pushed to higher environment by Appian API - during deployment objects not available in package are not deleted from higher environment but Appian just remove them from deployed application. In other words objects remain in higher environment as not linked to particular application.

How to use automated deployment via API and delete objects from higher environment automatically ?

docs.appian.com/.../Deployment_Rest_API.html

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    This is leading to situation that our prod environment contains a lot unused objects. If by any chance someone create new object on DEV with same name as delete object on UAT/PROD environment then it will fail on deployment as object with same name but different UUID already exist on higher environment. 

Reply
  • 0
    Certified Senior Developer

    This is leading to situation that our prod environment contains a lot unused objects. If by any chance someone create new object on DEV with same name as delete object on UAT/PROD environment then it will fail on deployment as object with same name but different UUID already exist on higher environment. 

Children