Questions tagged [deployment]

Deployments in Salesforce incorporate any action that needs to be taken to get a system from one organization to another, be it a sandbox to production, sandbox to sandbox, or even developer org to developer org.

312 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
128 views

Automation Deployment of Declarative and Imperative Components

This is a slightly large Architectural question. Within Salesforce you have many components. Those components are either declarative or imperative (like APEX and VF). As implementations get larger the ...
0
votes
0answers
1k views

Apex Test Failures - System.LimitException: Apex CPU time limit exceeded

System.LimitException: Apex CPU time limit exceeded Stack Trace: (System Code) Class.OpportunityTriggerHandler.OnAfterInsert: line 63, column 1 Trigger.OpportunityTriggers: line 30, column 1 What ...
0
votes
0answers
164 views

Deleting a class using ant tool

Deleting a class using ant tool(destructiveChanges.xml) in salesforce giving an UNKNOWN_EXCEPTION. Below is the exception details for the same. Failed to proces the request successfully. Cause(...
0
votes
1answer
37 views

how to deploy permissions of user based on profile through managed package in salesforce?

I am creating managed package in my dev org, I am giving permissions of the user to based on profile. Then how to deploy permissions through package?
0
votes
0answers
791 views

Deploying a class to production fails because of code coverage

I've got a class on my Sandbox plus a test class that tests it. The test covers 85% af the class code and test execution runs fine on the sandbox. I've already deployed the test class to to ...
0
votes
1answer
72 views

Trouble retrieving package.xml components using ant

I am running into the error "Invalid username, password, security token; or user locked out" when I try to retrieve the components using a package.xml. I am trying to retrieve all the Apex classes ...
0
votes
2answers
94 views

Code Coverage Error only 32% but test in Sandbox is 93%. - what am I missing?

I have a Code Coverage Failure of 32% I already tested my APEX Class and it's coming out as 27/29 at 93%. I do have the following... ControllerProposalConvertView = Apex Class Convert = Custom Link ...
0
votes
1answer
1k views

How to deploy a Login flow in Salesforce using ANT Migration tool

I have a login flow which uses the visual flow and displays a welcome message to the user when they login.I don't see this in metadata ,How can I deploy the login flow using ANT Migration tool.
-1
votes
1answer
318 views

Permission sets deployment isssue

I am trying to deploy Permission sets to Sandbox via Metadata API and I am getting the following error: permissionsets/Defer_Rules.permissionset -- Error: Permission DeferCalculations depends on ...
-1
votes
2answers
805 views

Deployment failing validation only when two test classes are run

I am trying to deploy a change set which includes to classes and a test class. For validation I am only running two test classes, one which is included in the set and one which is already in ...
-2
votes
1answer
69 views

trigger has 42% coverage in sandbox but 0% when deploying

This is driving me nuts... My trigger has 42% coverage in my sandbox but it won't deploy saying that the coverage is 0% (code below) The test method both inserts and updates an opportunity. I'm ...
-3
votes
2answers
3k views

Components which are not available for changeset

Which components are not available in changeset for Migration?