Automation

Record Auto-Sharing

Share the records of an object that meet your conditions with users and groups automatically — each share row at its own access level, kept up to date as records, people, and groups change.

What a share row is

A share row is one row in a Record Auto-Sharing that says who the records are shared with and how much they can do. Each share row has three parts:

  • Share with — the kind of sharing: a user, a group, users with a Permission, users with a title, users who report to someone, the user in a field of the record, the owner of a related record, or the record owner's manager.
  • Who — the user, group, Permission, title, or field it applies to.
  • Access — Read, Edit, or Full Access.

A Record Auto-Sharing can have up to 50 share rows. For example, one share row can give the Sales group Edit, and another can give users with the title “Regional Lead” Read.

What Record Auto-Sharing does

The Share button on a record shares that one record by hand. Record Auto-Sharing does the same thing by condition: every record of an object that meets its conditions is shared through its share rows, without anyone opening the record.

A record is shared exactly while it matches. When a record starts to meet the conditions it is shared; when it stops, the automatic share is taken back. A share someone made by hand is never touched.

Record Auto-Sharing only ever adds access. It works within each person's own Permission — a share never lets someone do more than their Permission allows on that object — and a record of a variant a person can't use still does not exist for them (see Permissions & Sharing).

Where it lives

Go to Setup () → Record Auto-Sharing, right below Record Auto-Assignments. Click New, give it a name, and choose the object it shares records of. It starts inactive; you set it up on its own page and activate it when it is ready.

Its page opens in view mode, like a Record Auto-Assignment's: nothing changes until you choose to edit. Edit opens its details (name, description, and which records it covers). Each condition and each share row has a pencil to edit it and a trash can to remove it, and each is saved on its own.

A Record Auto-Sharing's page has a header card with its name, pills (Active or Inactive, its object, how far it has applied) and its buttons (Activate or Deactivate, Edit, Delete). Its settings are in a Details card under it; Edit makes them editable there, with Save and Cancel in the header. The buttons stay on one line; when the window is too narrow, the ones that don't fit move, in the same order, into a ⋮ button at the end of the line.

Conditions

Conditions use the same builder as Record Auto-Assignments. They are organized into groups: inside a group you choose whether all of its conditions must be true or any one of them, and a record matches when it meets any group. Each field is compared as the kind it is — a number as a number, a date as a date — and a value of the wrong kind is refused when you save.

With no conditions, every record of the object is shared.

Conditions offer the operators and value boxes of Record Auto-Assignment's conditions (by the field's type, as a flow's Conditional Logic). A Geolocation field is compared with Equals, Not Equals or Is Null only. Equals means the same latitude and longitude — 40.5 equals 40.50 — and the value is entered in the Latitude and Longitude boxes. A saved condition shows the location in degrees, such as 33.8568° S, 151.2153° E.

Share rows

A Record Auto-Sharing has up to 50 share rows. Each share row has its own access level — Read, Edit, or Full Access (edit and delete) — so one setup can let an account team edit while a wider group only reads. If the same person is covered by more than one share row, the highest access wins. A share row shares with one of:

  • A user — one person, by name.
  • A group — everyone in the group, read live: someone who joins the group gets the access, and someone who leaves loses it. To share with many people, use a group.
  • Users with a Permission — every active user whose Access Permission is the one you pick.
  • Users with a title — every active user with exactly that title.
  • Users who report to — every active user whose manager is the person you pick.
  • The user in a field of the record — for example the record's Account Manager field. Each record is shared with its own person.
  • The owner of a related record — for example the owner of the Opportunity's Account.
  • The record owner's manager.

The three “users with…” share rows find people by a criterion; one such share row can reach up to 500 users. A user listed by name can be deactivated at any time: they stay listed, marked inactive, and the Record Auto-Sharing keeps working for everyone else.

Several at once

An object can have up to 25 active Record Auto-Sharings. Every active one that matches a record applies — there is no order between them, and none can block another. When several reach the same person, the highest access wins.

Which records it covers

The Apply to setting decides which of the object's records are in:

  • All records — the usual choice. Activating it shares the matching records that already exist.
  • Records from a date — only records whose date is on or after the date you enter. You choose the date field (any date or date/time field of the object; Created Date unless you change it) and whether records where that field is empty are included. If you leave the date empty, records are compared with the date the Record Auto-Sharing is activated.

Activating

Click Activate. Before anything happens, Kraftter tells you about how many shares it will create; one Record Auto-Sharing can create up to 1,000,000. Sharing with a group counts as one share per record however many members the group has, so setups built on groups stay far below that.

The shares are then applied to the records in the background. The page shows how far it is (“Applying to 1,200 of 4,000 records…”) and when it is done. The same happens when you change its conditions, its share rows, or which records it covers, and when you deactivate or delete it: deactivating or deleting takes back the shares it gave. Changing only its name or description never goes through the records again.

If it grows past a limit later

The limits are checked when you save and when you activate. People and records keep changing afterwards, so an active Record Auto-Sharing can outgrow one — a “users with a title” share row that now reaches more than 500 users, or more than 1,000,000 shares in all. When that happens it keeps sharing, and its page says what it has outgrown. You can still edit it, save it, and deactivate it; the only thing refused is a change that makes it bigger.

Always up to date

Shares are recalculated as soon as anything changes that can affect them, without anyone editing the records:

  • a record is created, changed, or deleted — from a record page, the API, an import, a flow, or Kraftter AI;
  • a user's Access Permission, title, or manager changes, or a user is activated or deactivated;
  • the owner of a related record changes;
  • a group's members change (immediately);
  • the Record Auto-Sharing itself is changed in a way that affects who gets shared.

Records that follow a parent record

Where an object takes its access from a parent record (Record Sharing set to Inherit), access to the parent already carries down: an Account that is shared with a group also opens the Opportunities that follow it. That access is not a share and is not listed in the Share dialog.

A person who already has, through the parent, what a share row would give gets no share from that share row. A share row that gives them more does — for example Edit on one Opportunity of an Account they can only read. If they later lose the access they had through the parent, the share is made at that moment.

In the record's Share dialog

The Share dialog shows everyone a record is shared with and why. People and groups that got there through Record Auto-Sharing are marked Auto-shared, with the date it started. Those rows can't be removed or lowered from the dialog — they would simply come back — but the record's owner can raise such a person by sharing by hand; taking that manual share away puts the row back to the automatic level. The record's owner is never shared with: it is theirs already.

What a Record Auto-Sharing protects

What it uses can't be removed from under it. Until you take it out of the Record Auto-Sharing, Kraftter refuses — naming it — to:

  • delete a group it shares with;
  • deactivate or delete a Permission it names;
  • delete a field it uses in a condition, in a share row, or as its date field.

Deleting and restoring

A deleted Record Auto-Sharing goes to Deleted Items (the Metadata tab), and the shares it gave are taken back. From there it can be restored — it comes back with its conditions and share rows, inactive, so it shares nothing until you activate it — or deleted permanently. Left there, it is deleted permanently after 15 days.

While it is in Deleted Items its API name stays taken: creating another with the same API name is refused with “A deleted Record Auto-Sharing already uses this API name. Restore it or delete it permanently in Deleted Items, or choose another API name.”

A Record Auto-Sharing follows its object. Deleting a custom object takes its Record Auto-Sharings with it; restoring the object brings them back, inactive; deleting the object permanently deletes them permanently.

Who can manage it

Record Auto-Sharing has its own four permissions — Read, Create, Edit, and Delete — under System Permissions. Administrator starts with all four and Manager with Read; Member and Viewer have none.

Sandboxes and promotions

Making a sandbox copies every Record Auto-Sharing. Each one can be promoted on its own, and only if it works exactly as it is where it arrives: a share row naming a user, a group, a Permission or a field the target doesn't have, and that isn't in the same promotion, refuses the promotion with a message naming it. Share with someone who is there, add them there first, or add the group, Permission or field to the promotion. A promoted Record Auto-Sharing arrives active or inactive, as it is where it comes from, whether it is new there or not. An active one starts sharing records as soon as it arrives, so before you promote, the review step says so and estimates how many shares it will make.

Audit log

Every change to a Record Auto-Sharing — created, changed (with what it was before and after), activated, deactivated, deleted, restored — is in the audit log with who did it. What it does to records is logged as a summary: which object or record, why it ran, and how many shares it added, changed, and removed — never one entry per share.

This guide is part of the Kraftter documentation V1. Visual walkthroughs and examples are coming in a future update.