'Deleted Application Files' record is not created in parent dev. instance.

Tae Kyung Lee
Tera Expert

Hi.

 

I'm using 'Team Development' in parent-child dev. environment for scoped app.

 

When I deleted some files in child and push the 'DELETION' to parent, files in parent are also delete properly.
But when I publish app. to repository, 'DELETION' of files are not packaged.

 

Yes, I know that 'DELETION' of app. files are recorded in 2 'sys_metadata_delete' table and 'author_elective_update' in folder of .ZIP file.
But in my case deletion is missed in both table and .ZIP file.

 

How can I solve this?
Is it impossible to package DELETION when I use team development?

 

Thank you.

1 ACCEPTED SOLUTION

Tae Kyung Lee
Tera Expert

I've got answer from ServiceNow, and this is designed behavior.

So this is my workaround and it works well.

 

# form dev instances.

- Delete application files in child instance with update set.

- Add business rule that prohibit pushing of 'deletion' local change to parent instance.

- Import update set(that has deleted record) to parent instance.

- Publish app in parent instance.

 

# from QA instances.

- Add or change properties to accept application files deletion.

  . com.glide.apps.include_my_deletes = true  // for scoped app.
  . com.glide.apps.include_my_schema = true // for table/filed deletion
  . com.glide.apps.include_global_deletes = true  // for global app.

- update app. form application repository

- DELETION SUCCESS!!!

View solution in original post

5 REPLIES 5

Tae Kyung Lee
Tera Expert

I've got answer from ServiceNow, and this is designed behavior.

So this is my workaround and it works well.

 

# form dev instances.

- Delete application files in child instance with update set.

- Add business rule that prohibit pushing of 'deletion' local change to parent instance.

- Import update set(that has deleted record) to parent instance.

- Publish app in parent instance.

 

# from QA instances.

- Add or change properties to accept application files deletion.

  . com.glide.apps.include_my_deletes = true  // for scoped app.
  . com.glide.apps.include_my_schema = true // for table/filed deletion
  . com.glide.apps.include_global_deletes = true  // for global app.

- update app. form application repository

- DELETION SUCCESS!!!