You need to sign in to do that
Don't have an account?
$
Deployment Questions
Hello All,
I have a small question related to deployment.
The scenario is, I am deploying a class and a trigger, and there are users working on the system already.
The class and trigger updates the Stage field on the primary object. So if a user is working on the system on a record, and i deploy it to production, is there a thing like the current record where the usr is working wont be affectd as it will hold the old logic in class in its temporary memory. Or the Status update would malfunction due to the deployment of code/ throw error as it does throw errors to users when we deploy visualforce pages.
How does it work?
Any help is highl;y appreciated.
I have a small question related to deployment.
The scenario is, I am deploying a class and a trigger, and there are users working on the system already.
The class and trigger updates the Stage field on the primary object. So if a user is working on the system on a record, and i deploy it to production, is there a thing like the current record where the usr is working wont be affectd as it will hold the old logic in class in its temporary memory. Or the Status update would malfunction due to the deployment of code/ throw error as it does throw errors to users when we deploy visualforce pages.
How does it work?
Any help is highl;y appreciated.
That is why Salesforce has some guidelines for deployment to production, here is a summary:
Plan Your Production Deployment
Any time you deploy changes to a production environment, your users are directly affected. It’s a good idea to have guidelines for rolling out new functionality.
Use Profiles to Limit User Access
During a deployment window, you can use profiles to limit end-user access to the production organization.
- Alert all active users about the maintenance window using the email wizard. From Setup, enter Mass Email Users in the Quick Find box, then select Mass Email Users.
- Create a profile to lock users out during the maintenance window by editing the login hours. Be sure that system administrators or integration users have access if they need it.
- Roll out objects, tabs, and apps to different user profiles if you want to allow some users access for acceptance testing.
If your organization includes many profiles, use the following strategy for setting up a maintenance window.Check all this out and more in this Trailhead (https://trailhead.salesforce.com/en/modules/alm_deployment/units/alm_deploy).