Closed jongpie closed 3 years ago
Screenshot of Flow options
Just to document some details before merging - the default callback sends an email to the user after the deployment finishes
Sandbox: Custom metadata type deployment completed
Deployment ID 0Af0x00000nWhKRCA0 completed
Status: Succeeded
1 total items deployed
0 items failed
Details: {
"componentSuccesses" : [ {
"success" : true,
"problemType" : null,
"problem" : null,
"lineNumber" : null,
"id" : "m000x000000H4rLAAS",
"fullName" : "CustomMetadataDeployTest.hello",
"fileName" : "customMetadata/CustomMetadataDeployTest.hello.md",
"deleted" : false,
"createdDate" : "2021-03-30T23:39:00.034Z",
"created" : true,
"componentType" : "CustomMetadata",
"columnNumber" : null,
"changed" : true
}, {
"success" : true,
"problemType" : null,
"problem" : null,
"lineNumber" : null,
"id" : null,
"fullName" : "package.xml",
"fileName" : "package.xml",
"deleted" : false,
"createdDate" : "2021-03-30T23:39:00.052Z",
"created" : false,
"componentType" : null,
"columnNumber" : null,
"changed" : true
} ],
"componentFailures" : [ ]
}
Screenshot
Closes #5 with a few changes
CustomMetadataSaver.DefaultDeployCallback
is used (extendsMetadata.DeployCallback
)deploy(List<SObject> customMetadataRecords, Metadata.DeployCallback callback)
deploy
methods now return the deployment ID