run_action = async (
  table_id,
  viewname,
  config,
  body,
  { req, res },
  { actionQuery }
) => {
  const table = Table.findOne(table_id);
  if (!table)
    throw new InvalidConfiguration(
      `View '${viewname}:run_action' incorrectly configured: ` +
        `Unable to find table with id '${table_id}'`
    );
  const state = req?.query
    ? readState(removeEmptyStrings(req.query), table.getFields(), req)
    : {};
  const result = await actionQuery(state, body?.rndid);
  if (result.json.error) {
    Crash.create({ message: result.json.error, stack: "" }, req);
  }
  return result;
}
@param {string} x
@param {string} y
@returns {boolean}