{
  "apiVersion": 63,
  "assignments": [
    {
      "name": "set_opportunity_fields",
      "label": "set opportunity fields",
      "locationX": 176,
      "locationY": 395,
      "assignmentItems": [
        {
          "assignToReference": "$Record.Opportunity_Name_New__c",
          "operator": "Assign",
          "value": {
            "elementReference": "getopportunity.Name"
          }
        },
        {
          "assignToReference": "$Record.Opportunity_Number__c",
          "operator": "Assign",
          "value": {
            "elementReference": "getopportunity.Opportunity_Number__c"
          }
        }
      ]
    }
  ],
  "label": "Lead Convert Filed Set",
  "processType": "AutoLaunchedFlow",
  "recordLookups": [
    {
      "name": "getopportunity",
      "label": "获取已转换的opportunity",
      "locationX": 176,
      "locationY": 287,
      "assignNullValuesIfNoRecordsFound": false,
      "connector": {
        "targetReference": "set_opportunity_fields"
      },
      "filterLogic": "and",
      "filters": [
        {
          "field": "Id",
          "operator": "EqualTo",
          "value": {
            "elementReference": "$Record.ConvertedOpportunityId"
          }
        }
      ],
      "getFirstRecordOnly": true,
      "object": "Opportunity",
      "storeOutputAutomatically": true
    }
  ],
  "start": {
    "triggerOrder": 400,
    "locationX": 50,
    "locationY": 0,
    "connector": {
      "targetReference": "getopportunity"
    },
    "filterLogic": "and",
    "filters": [
      {
        "field": "IsConverted",
        "operator": "EqualTo",
        "value": {
          "booleanValue": true
        }
      },
      {
        "field": "ConvertedOpportunityId",
        "operator": "IsNull",
        "value": {
          "booleanValue": false
        }
      }
    ],
    "object": "Lead",
    "recordTriggerType": "Update",
    "triggerType": "RecordBeforeSave"
  },
  "status": "Active"
}
