I am testing out updating a trigger status [from active to inactive] via the Metadata Api. I have manually set up the new zip file to so that I can update this data. When I use deploy()/checkDeployStatus(), The data says everything 'succeeded' but not changes are ever made. Has any one ever ran into this issue or could assist? Here is some data about my calls:
My zip file is in the following format:
test.zip
- package.xml
- triggers
- AccountTestTrigger.trigger
- AccountTestTrigger.trigger-meta.xml [here active is set to inactive]
CheckDeploy Results:
RESULTS: (DeployResult){ checkOnly = False
details =
(DeployDetails){
runTestResult =
(RunTestsResult){
numFailures = 0
numTestsRun = 0
totalTime = 0.0
}
}
done = True
id = "0Af3700000BmLUqCAN"
ignoreWarnings = False
lastModifiedDate = 2015-08-04 06:28:53
numberComponentErrors = 0
numberComponentsDeployed = 0
numberComponentsTotal = 0
numberTestErrors = 0
numberTestsCompleted = 0
numberTestsTotal = 0
rollbackOnError = False
runTestsEnabled = False
startDate = 2015-08-04 06:28:53
status = "Succeeded"
success = True }