{
  "apiVersion": 58,
  "label": "MySQL Family Capture upon Update",
  "processType": "AutoLaunchedFlow",
  "recordUpdates": [
    {
      "name": "Update_MySQL_New",
      "label": "Update MySQL New",
      "locationX": 1062,
      "locationY": 372,
      "filterLogic": "and",
      "filters": [
        {
          "field": "Replacing_Database__c",
          "operator": "Contains",
          "value": {
            "stringValue": "New Project"
          }
        }
      ],
      "inputAssignments": [
        {
          "field": "MySQL_Family_Capture__c",
          "value": {
            "stringValue": "New Project"
          }
        }
      ],
      "inputReference": "$Record"
    },
    {
      "name": "Update_MySQL_No",
      "label": "Update MySQL No",
      "locationX": 808,
      "locationY": 372,
      "connector": {
        "targetReference": "Update_MySQL_Unknown"
      },
      "filterLogic": "1 OR 2 OR 3 OR 4 OR (5 AND 6 AND 8 AND 9 AND 10) OR 7",
      "filters": [
        {
          "field": "Replacing_Database__c",
          "operator": "Contains",
          "value": {
            "stringValue": "TiDB Self-Hosted"
          }
        },
        {
          "field": "Replacing_Database__c",
          "operator": "Contains",
          "value": {
            "stringValue": "PostgreSQL"
          }
        },
        {
          "field": "Replacing_Database__c",
          "operator": "Contains",
          "value": {
            "stringValue": "Snowflake"
          }
        },
        {
          "field": "Replacing_Database__c",
          "operator": "Contains",
          "value": {
            "stringValue": "Spanner"
          }
        },
        {
          "field": "Replacing_Database__c",
          "operator": "Contains",
          "value": {
            "stringValue": "Others"
          }
        },
        {
          "field": "Replacing_Database_Remarks__c",
          "operator": "NotEqualTo",
          "value": {
            "stringValue": "Unknown"
          }
        },
        {
          "field": "Replacing_Database__c",
          "operator": "Contains",
          "value": {
            "stringValue": "Yugabyte"
          }
        },
        {
          "field": "Replacing_Database_Remarks__c",
          "operator": "NotEqualTo",
          "value": {
            "stringValue": "unknown"
          }
        },
        {
          "field": "Replacing_Database_Remarks__c",
          "operator": "NotEqualTo",
          "value": {
            "stringValue": "n/a"
          }
        },
        {
          "field": "Replacing_Database_Remarks__c",
          "operator": "NotEqualTo",
          "value": {
            "stringValue": "N/A"
          }
        }
      ],
      "inputAssignments": [
        {
          "field": "MySQL_Family_Capture__c",
          "value": {
            "stringValue": "No"
          }
        }
      ],
      "inputReference": "$Record"
    },
    {
      "name": "Update_MySQL_Unknown",
      "label": "Update MySQL Unknown",
      "locationX": 935,
      "locationY": 372,
      "connector": {
        "targetReference": "Update_MySQL_New"
      },
      "filterLogic": "1 AND (2 OR 3 OR 4 OR 5)",
      "filters": [
        {
          "field": "Replacing_Database__c",
          "operator": "Contains",
          "value": {
            "stringValue": "Others"
          }
        },
        {
          "field": "Replacing_Database_Remarks__c",
          "operator": "EqualTo",
          "value": {
            "stringValue": "unknown"
          }
        },
        {
          "field": "Replacing_Database_Remarks__c",
          "operator": "EqualTo",
          "value": {
            "stringValue": "n/a"
          }
        },
        {
          "field": "Replacing_Database_Remarks__c",
          "operator": "EqualTo",
          "value": {
            "stringValue": "Unknown"
          }
        },
        {
          "field": "Replacing_Database_Remarks__c",
          "operator": "EqualTo",
          "value": {
            "stringValue": "N/A"
          }
        }
      ],
      "inputAssignments": [
        {
          "field": "MySQL_Family_Capture__c",
          "value": {
            "stringValue": "Unknown"
          }
        }
      ],
      "inputReference": "$Record"
    },
    {
      "name": "Update_MySQL_Yes",
      "label": "Update MySQL Yes",
      "locationX": 669,
      "locationY": 372,
      "connector": {
        "targetReference": "Update_MySQL_No"
      },
      "filterLogic": "1 OR 2 OR 3 OR 4 OR 5",
      "filters": [
        {
          "field": "Replacing_Database__c",
          "operator": "Contains",
          "value": {
            "stringValue": "RDS for MySQL"
          }
        },
        {
          "field": "Replacing_Database__c",
          "operator": "Contains",
          "value": {
            "stringValue": "Aurora for MySQL"
          }
        },
        {
          "field": "Replacing_Database__c",
          "operator": "Contains",
          "value": {
            "stringValue": "Cloud SQL for MySQL"
          }
        },
        {
          "field": "Replacing_Database__c",
          "operator": "Contains",
          "value": {
            "stringValue": "OP MySQL"
          }
        },
        {
          "field": "Replacing_Database__c",
          "operator": "Contains",
          "value": {
            "stringValue": "MariaDB"
          }
        }
      ],
      "inputAssignments": [
        {
          "field": "MySQL_Family_Capture__c",
          "value": {
            "stringValue": "Yes"
          }
        }
      ],
      "inputReference": "$Record"
    }
  ],
  "start": {
    "locationX": 543,
    "locationY": 48,
    "connector": {
      "targetReference": "Update_MySQL_Yes"
    },
    "filterLogic": "and",
    "filters": [
      {
        "field": "Replacing_Database__c",
        "operator": "IsChanged",
        "value": {
          "booleanValue": true
        }
      }
    ],
    "object": "Opportunity",
    "recordTriggerType": "Update",
    "triggerType": "RecordAfterSave"
  },
  "status": "Active"
}
