Skip to content
  • There are no suggestions because the search field is empty.

Salesforce + Litify Integration v2.4 Release Notes

Version 2.4 adds optional screen flows that run before and after a referral is sent to Attorney Share, and makes sending more reliable.

What's New: Screen Flows Before and After a Send

You can now attach two optional screen flows to an outbound Object Mapping:

  • Pre-Outbound Flow runs before the Send To Attorney Share form opens.
  • Post-Outbound Flow runs after a send finishes, whether it succeeded or not.

If you don't set either flow, the form works as it does today.

Both flows must be active screen flows. The package checks them each time the form opens. If either flow is missing, inactive or set up incorrectly, the form does not open, nothing is created, and the user is told to contact their system administrator.

Pre-Outbound Flow

Use this flow to have users answer questions or finish internal steps before they see the form. It runs only when the Send To Attorney Share window is opened from a parent record, such as a Lead or Matter. It does not run when the window is opened from an Attorney Share Referral.

Input

  • One Text variable named recordId, marked Available for input. It holds the Id of the record the user started from.
  • It must be a Text variable, not a record variable. Use a Get Records element to read the record.

Pre-filling the Form

Anything the flow saves to the record is pre-filled into the form through your existing field mappings.

Stopping the Send

  • To stop the form from opening, return a Boolean output variable named AttorneyShare_DoNotLoadOutboundForm set to true. The window closes and no referral is created.
  • To tell the user why, also return a Text output variable named AttorneyShare_DoNotLoadReason. It appears in a warning message.
  • This stops the form only. It does not block other ways of sending.

Post-Outbound Flow

Use this flow to guide the user after a send, including after a failed send. It runs only when the window was opened from a parent record, not from an Attorney Share Referral.

Inputs

Each input is a single Text variable marked Available for input. Variable names are not case-sensitive. The package passes only the variables your flow declares.

Variable What it holds
recordId The Id of the record the user started from
AttorneyShare_Outcome Success, Failed or Unconfirmed
AttorneyShare_ReferralId The Attorney Share Referral Id. Blank if a failed send removed the referral.
AttorneyShare_ErrorMessage The error message. Set when the outcome is Failed or Unconfirmed.

Things to Know

  • Unconfirmed means Attorney Share may or may not have created the case. Don't tell the user the send failed.
  • The flow cannot change the result of the send.
  • The window closes when the flow ends.
  • After a failed send that removed the referral, the package shows no message of its own. Your flow should tell the user what happened.

Rules for both flows

  • Make flows safe to run twice. Anything a flow saves stays saved even if the user closes the window partway through.
  • Don't pause. Flows must not include Pause elements.
  • Permissions. Users need the Run Flows permission. Both package permission sets include it. If a flow is set to restrict access, you must also give users access to that flow.
  • Follow-up records. To create records after a send, use a record-triggered flow on the referral's Sent At field instead of the Post-Outbound Flow. Users can close the window before the Post-Outbound Flow finishes.
  • Test before you go live. One broken flow blocks every send for that object. Test both flows while signed in as a user with the Attorney Share and Salesforce User permission set.

Fixes

  • Clearer failed sends - a failed send no longer leaves a referral stuck in Pending with no log. Error messages are in plain language and say whether anything reached Attorney Share.

  • Case ID and link saved - after a send, the Attorney Share case ID and a link to the case are saved on the referral.

  • No more blanked fields - fixed an issue where updates from Attorney Share blanked some fields on the Attorney Share Referral.

  • Longer timeouts - calls to Attorney Share now have set timeouts, longer than in previous versions. Sends allow 30 seconds.

  • Parent record updates  - outbound mappings now reliably write back to the parent record for fields marked Parent Is Updateable.