In the code block, enter the clone specification code in JSON format.
Sample Clone Specification
{
"SourceObject": "Agreement",
"TargetObject": "Agreement",
"CloneType": "AllFields",
"IncludeFields": {
"Name": "$$Name + -Clone",
"AccountId": "$$AccountId",
"Owner": "$$Owner",
"RecordType": "$$RecordType"
},
"ExcludeFields": [
"ContractNumber",
"ContractStartDate",
"ContractEndDate"
]
}
{
"SourceObject": "Agreement",
"TargetObject": "Agreement",
"CloneType": "AllFields",
"IncludeFields": {
"Name": "$$Name + -Amend",
"AccountId": "$$AccountId",
"Owner": "$$Owner",
"RecordType": "$$RecordType"
},
"ExcludeFields": [
"ContractNumber",
"ContractStartDate",
"ContractEndDate"
]
}
{
"SourceObject": "Agreement",
"TargetObject": "Agreement",
"CloneType": "AllFields",
"IncludeFields": {
"Name": "$$Name + -Renew",
"AccountId": "$$AccountId",
"Owner": "$$Owner",
"RecordType": "$$RecordType",
},
"ExcludeFields": [
"ContractNumber",
"ContractStartDate",
"ContractEndDate"
]
}
CODE