[
  {
    "fields": {
      "Name": "Run Record Process",
      "Description": "Runs a MJ: Record Processes definition against a runtime scope (selected records, a view, a list, or a filter), optionally as a dry-run. Thin wrapper over the RecordProcessExecutor engine — the agent / workflow / low-code surface for the same bulk-update capability the Record Process Runner UX drives. For WorkType=FieldRules, a dry-run computes the exact per-record field diff without writing.",
      "DriverClass": "Run Record Process",
      "Type": "Custom",
      "Status": "Active",
      "IconClass": "fa-solid fa-list-check",
      "CategoryID": "@lookup:MJ: Action Categories.Name=Data"
    },
    "relatedEntities": {
      "MJ: Action Params": [
        {
          "fields": {
            "ActionID": "@parent:ID",
            "Name": "RecordProcessID",
            "Type": "Input",
            "ValueType": "Scalar",
            "IsArray": false,
            "IsRequired": true,
            "Description": "ID of the MJ: Record Processes definition to run."
          },
          "primaryKey": {
            "ID": "F4FF448E-C22A-4A90-9CD0-8D56AA8546B7"
          },
          "sync": {
            "lastModified": "2026-06-26T21:32:00.710Z",
            "checksum": "2c8c94b5733e7a9ab38f87261d131662c1f4a7bbda4d7edae877a896295c4268"
          }
        },
        {
          "fields": {
            "ActionID": "@parent:ID",
            "Name": "Scope",
            "Type": "Input",
            "ValueType": "Scalar",
            "IsArray": false,
            "IsRequired": false,
            "Description": "Optional JSON-string runtime scope override: {\"Kind\":\"records\",\"RecordIDs\":[...]} | {\"Kind\":\"view\",\"ViewID\":\"...\"} | {\"Kind\":\"list\",\"ListID\":\"...\"} | {\"Kind\":\"filter\",\"Filter\":\"...\"}. Omit to use the process's stored Scope."
          },
          "primaryKey": {
            "ID": "70AAC482-899E-403C-A6A1-7786B713E1A8"
          },
          "sync": {
            "lastModified": "2026-06-26T21:32:00.734Z",
            "checksum": "610eb8d6e3044dce8722805eedea2f0fd3f11f50b9bae1de21767b1a219e65b1"
          }
        },
        {
          "fields": {
            "ActionID": "@parent:ID",
            "Name": "DryRun",
            "Type": "Input",
            "ValueType": "Scalar",
            "IsArray": false,
            "IsRequired": false,
            "DefaultValue": "false",
            "Description": "When true, compute the per-record changes without writing (FieldRules work type). Defaults to false."
          },
          "primaryKey": {
            "ID": "A597799F-4388-4EEB-85EA-1D542B032DD1"
          },
          "sync": {
            "lastModified": "2026-06-26T21:32:00.757Z",
            "checksum": "f481d93cc175e89e3e911b565ba4fa935e08ab2667391d5286173ea561ec1e25"
          }
        },
        {
          "fields": {
            "ActionID": "@parent:ID",
            "Name": "ProcessRunID",
            "Type": "Output",
            "ValueType": "Scalar",
            "IsArray": false,
            "IsRequired": false,
            "Description": "ID of the persisted MJ: Process Runs row for this run (read MJ: Process Run Details for per-record outcomes/diffs)."
          },
          "primaryKey": {
            "ID": "53AD0595-34C8-45BD-8515-0C2D04ACDBCE"
          },
          "sync": {
            "lastModified": "2026-06-26T21:32:00.777Z",
            "checksum": "6b22495121e10531151409714c6b0d24515c9706b9082a5736ff0502a22da1e9"
          }
        },
        {
          "fields": {
            "ActionID": "@parent:ID",
            "Name": "Processed",
            "Type": "Output",
            "ValueType": "Scalar",
            "IsArray": false,
            "IsRequired": false,
            "Description": "Number of records the run touched."
          },
          "primaryKey": {
            "ID": "6DDF62EC-3C62-4C3D-A749-FEB67C17CEAF"
          },
          "sync": {
            "lastModified": "2026-06-26T21:32:00.799Z",
            "checksum": "ef87f85ac189eb4287ff0991969f82630d6c1be6ba98bc4196252413284980c6"
          }
        },
        {
          "fields": {
            "ActionID": "@parent:ID",
            "Name": "Succeeded",
            "Type": "Output",
            "ValueType": "Scalar",
            "IsArray": false,
            "IsRequired": false,
            "Description": "Number of records that succeeded (in dry-run, records with a computed preview)."
          },
          "primaryKey": {
            "ID": "50FE7826-88DA-4DDA-8B0B-85847A53E16F"
          },
          "sync": {
            "lastModified": "2026-06-26T21:32:00.819Z",
            "checksum": "08b4b52258f2a8710cf62725af1e6c01ac2bb269dc1db07a695fcd446ea4db5c"
          }
        },
        {
          "fields": {
            "ActionID": "@parent:ID",
            "Name": "Errored",
            "Type": "Output",
            "ValueType": "Scalar",
            "IsArray": false,
            "IsRequired": false,
            "Description": "Number of records that errored."
          },
          "primaryKey": {
            "ID": "EB40A51C-CE92-482B-8E90-5E89F3AD4382"
          },
          "sync": {
            "lastModified": "2026-06-26T21:32:00.838Z",
            "checksum": "fc36b7d9c839792e69985ccfcbc9015a2fa49e5ccec13389711bff4eb2911837"
          }
        },
        {
          "fields": {
            "ActionID": "@parent:ID",
            "Name": "Skipped",
            "Type": "Output",
            "ValueType": "Scalar",
            "IsArray": false,
            "IsRequired": false,
            "Description": "Number of records skipped (no rule matched / nothing changed)."
          },
          "primaryKey": {
            "ID": "FFAEFEB5-45A1-4132-8AA4-2333BE97C89D"
          },
          "sync": {
            "lastModified": "2026-06-26T21:32:00.855Z",
            "checksum": "a28ef78652740f141f119193db8b53b5b79ca32706193ab2d0db19859eb9a00c"
          }
        }
      ],
      "MJ: Action Result Codes": [
        {
          "fields": {
            "ActionID": "@parent:ID",
            "ResultCode": "SUCCESS",
            "IsSuccess": true,
            "Description": "The record process run completed."
          },
          "primaryKey": {
            "ID": "3BFDB127-8995-4115-AE86-B84DED8DE418"
          },
          "sync": {
            "lastModified": "2026-06-26T21:32:00.881Z",
            "checksum": "651c8460d589d17f838b20d89d0a3938d6d80b29c11d76b33c0bafc638ba3ddd"
          }
        },
        {
          "fields": {
            "ActionID": "@parent:ID",
            "ResultCode": "FAILED",
            "IsSuccess": false,
            "Description": "The run ended with a non-completed status (see Message)."
          },
          "primaryKey": {
            "ID": "69649BD4-64C0-4A5C-9465-42574D28E1B2"
          },
          "sync": {
            "lastModified": "2026-06-26T21:32:00.897Z",
            "checksum": "718b9ab0d3fe3eb3f2795f9df3ddf2dcd95e92510309a9c0b31b4fc6af74f41f"
          }
        },
        {
          "fields": {
            "ActionID": "@parent:ID",
            "ResultCode": "MISSING_PARAMETERS",
            "IsSuccess": false,
            "Description": "RecordProcessID was not supplied."
          },
          "primaryKey": {
            "ID": "3845502C-E32E-4C5C-8B13-15B3D3872DCC"
          },
          "sync": {
            "lastModified": "2026-06-26T21:32:00.915Z",
            "checksum": "c86e782ea81943ef901f459d3b9bd41406631746cf6891c7292a431b2cc58441"
          }
        },
        {
          "fields": {
            "ActionID": "@parent:ID",
            "ResultCode": "INVALID_JSON",
            "IsSuccess": false,
            "Description": "The Scope parameter was not valid JSON."
          },
          "primaryKey": {
            "ID": "F552B1DF-AC1E-4465-AE00-1CD8AC1A8FA8"
          },
          "sync": {
            "lastModified": "2026-06-26T21:32:00.929Z",
            "checksum": "0ce455d8d99ef1193f51176d139329d7ffa16d5e964a09a38796866acc9f102c"
          }
        },
        {
          "fields": {
            "ActionID": "@parent:ID",
            "ResultCode": "UNEXPECTED_ERROR",
            "IsSuccess": false,
            "Description": "An unexpected error occurred while running the process."
          },
          "primaryKey": {
            "ID": "62C9BBBD-E40C-474F-9E98-9842C4EA3E5B"
          },
          "sync": {
            "lastModified": "2026-06-26T21:32:00.942Z",
            "checksum": "792cd0e834f65b15403386a84165ae7a7febf9b2be2c0c8b49752cb959521e92"
          }
        }
      ]
    },
    "primaryKey": {
      "ID": "5ED2D719-3B8C-47F2-BF6D-DE74FD643C6C"
    },
    "sync": {
      "lastModified": "2026-06-26T21:32:00.661Z",
      "checksum": "e54aeb2fdcd0b0a9407f392648c8ad57b624861f8c2f2c107b786a47c58061ac"
    }
  }
]