Further investigation.
Here are the steps I took to understand investigate the approach of moving an application from a tenant to a sandbox using the Package export/import process, and then deploying the application back to the tenant.
-
Logged into the Sandbox and deleted the application I had installed there from a package file. I did this because I had previously imported the application into the Sandbox.
-
Logged into the Tenant, published the application with “Overwrite enabled”.
-
Downloaded the package to my hard drive from the Tenant.
-
I deleted the application from the Tenant. Confirmed the application was deleted. Logged out of the Tenant.
-
Logged into the Sandbox and imported the package from step #3. Ran the application to make sure it was functioning.
-
Published the application in the Sandbox with “Overwrite enabled” and I set the package to be “Locked”.
-
I used the Deploy option to deploy from the Sandbox to the Tenant.
-
After receiving an email that the deployment was successful, I logged back into the Tenant.
-
The application had been installed in the Tenant via the deployment process.
However, I found a couple of things I did not expect:
A) The data that I had entered in the Tenant application had returned. So it appears that data with an applciation is never deleted? So if the application is deleted, its assocaited data is not deleted? Is this correct behavior?
B) While I had specified that the Package was “Locked”, I was able to go into one of the objects and create a new field, which I should not have been able to if the applciation had been locked (according to the documentation).
Just thought I would share what I have observed in my experimentation so far.
#webMethods#AgileApps#webMethods-BPMS