Skip to main content

Automations

Inquiry Management manages data relationships via automated processes. These automations trigger specific actions when certain user activities occur.

Flows

A flow is a structured process that collects information from your organization's system and uses it to automate business processes. Flows are different from workflow rules in that they can guide users through the selected process rather than operate behind the scenes as workflow rules do. Unlike workflows, flows can be connected to multiple objects, thereby increasing their usability and scope. For more information on Flows, visit Salesforce's Flows documentation.

uses three primary flow types:

  • Screen Flow: Used when you want to automate a business process using data collected from people. For example, a screen flow would be used in a "wizard" whereby user-entered information drives the process throughout the flow.

  • Auto launched Flow: Used if you want a specific process to occur when a user clicks a button or if a record changes. For example, you could create an auto launched flow that is triggered each time a record is transferred to another user.

  • Prompt Flow: Used for the Artificial Intelligence in Medical Information feature. These are not listed in the Available flows below.

Flow type details
Flow typeMethod(s) of distributionDescription
Screen Flow- Flow actions - Lightning pages - Experience Builder pages - Custom Aura components - Custom Lightning web components - Custom buttons or custom links - Web tabs - Direct flow URLs - Visualforce pages - Lightning Out - Embedded Service deploymentsUser interaction is required for this flow type, as it includes screens, actions, choices, steps, and/or dynamic steps. :::: note ::: title ::: Screen Flows do not support Pause elements. ::::
Autolaunched Flow with a Record Trigger- Runs when a record is created or updatedThis flow type makes before and after save updates to the new or saved record that launched the flow. :::: note ::: title ::: Only the following elements are supported: Assignment, Decision, Get Records, and Loop. ::::

Available flows

The available autolaunched and screen flows are listed in the table below. Prompt flows are listed in the Artificial Intelligence in Medical Information page.

Flow labelFlow API nameProcess typeTriggerTriggering ObjectDescription
Adverse Event: Owner ChangeMED_Adverse_Event_Owner_ChangeAutolaunched FlowRecord -- Run After SaveAdverse EventClears the Transfer Reason field when the owner changes.
Adverse Event: Status ChangesMED_Adverse_Event_Status_ChangesAutolaunched FlowRecord -- Run Before SaveAdverse EventWhen an AE is closed, the flow: - Adds the date and time when the AE was closed. - Clears the Reopen Reason field value. - Changes the Record Type field value to closed. When an AE is reopened, the flow: - Clears the date and time when the AE was originally closed. - Sets the Record Type field value to open.
AE Drug: Lock & Unlock Record TypesMED_AE_Drug_Lock_Unlock_Record_TypesAutolaunched FlowRecord -- Run Before SaveAE DrugSets the correct record type when an AE is marked or unmarked as closed.
AE Drug History: Lock & Unlock RecordTypesMED_AE_Drug_History_Lock_Unlock_RecordTypesAutolaunched FlowRecord -- Run Before SaveAE Drug HistorySets the correct record type when AE is marked or unmarked as closed.
AE Medical History: Lock & Unlock Record TypeMED_AE_Medical_History_Lock_Unlock_Record_TypesAutolaunched FlowRecord -- Run Before SaveAE Medical HistorySets the correct record type when an AE is marked or unmarked as closed.
AE Primary Source: AnonymizeMED_AE_Primary_Source_AnonymizeAutolaunched FlowRecord -- Run Before SaveAE Primary SourceAnonymizes the name, address, and phone number when the Anonymize flag is set to true, as long as there is no legal hold on the AE.
AE Primary Source: Lock & Unlock Record TypeMED_AE_Primary_Source_Lock_Unlock_Record_TypesAutolaunched FlowRecord -- Run Before SaveAE Primary SourceSets the correct record type when AE is marked or unmarked as closed.
AE Reaction: Lock & Unlock Record TypesMED_AE_Reaction_Lock_Unlock_Record_TypesAutolaunched FlowRecord -- Run Before SaveAE ReactionSets the correct record type when an AE is closed or open.
AE Test Result: Lock & Unlock Record TypesMED_AE_Test_Result_Lock_Unlock_Record_TypesAutolaunched FlowRecord -- Run Before SaveAE Test ResultSets the correct record type when an AE is closed or open.
Fulfillment: AnonymizeMED_Fulfillment_AnonymizeAutolaunched FlowRecord-- Run After SaveFulfillmentAnonymizes the account, name, address, email, fax, phone number, first name, last name, middle name, suffix, and title when the Anonymize flag is set to true, as long as there is no legal hold.
Fulfillment: Expire AnonymousMED_Fulfillment_Expire_AnonymousAutolaunched FlowRecord-- Run After SaveFulfillmentA timed flow that clears the Anonymous Key 30 days after the Fulfillment was closed or canceled.
Fulfillment: Owner ChangeMED_Fulfillment_Owner_ChangeAutolaunched FlowRecord-- Run After SaveFulfillmentClears the Transfer Reason field value when the owner is changed.
Fulfillment: Reset Override LockMED_Fulfillment_Reset_Override_LockAutolaunched FlowRecord-- Run After SaveFulfillmentResets the Override Lock MED_Override_Lock__c field on a fulfillment record after update.
Fulfillment: Status ChangesMED_Fulfillment_Status_ChangesAutolaunched FlowRecord -- Run Before SaveFulfillmentWhen the Fulfillment is closed, the flow: - Adds the closed date and time. - Clears the Reopen Reason field value. - Sets the Record Type field value to closed. When the Fulfillment is opened, the flow: - Clears the date and time when it was originally closed. - Sets the Record Type field value to open.
Inbound Form: AnonymizeMED_Inbound_Form_AnonymizeAutolaunched FlowRecord -- Run Before SaveInbound FormClears the PII fields when the Anonymize flag is set to true.
Inbound Form: Audit TestMED_Inbound_Form_Audit_TestAutolaunched FlowRecord--Run After SaveInbound FormSets the Inquiry Text to null and is only used for testing Audit Trail Field updates.
Inbound Form: Set Interaction NotesMED_Inbound_Form_Set_Interaction_NotesAutolaunched FlowRecord -- Run Before SaveInbound FormSets the Interaction's notes for a new inbound form.
Interaction: AnonymizeMED_Case_AnonymizeAutolaunched FlowRecord-- Run After SaveInteractionAnonymizes the name, address, email, fax, phone number, and notes when the Anonymize flag is set to true, as long as there is no legal hold.
Interaction: Owner ChangeMED_Case_Owner_ChangeAutolaunched FlowRecord-- Run After SaveInteractionClears the Transfer Reason field value when the owner is changed.
Interaction: QA CompletedMED_Case_QA_CompletedAutolaunched FlowRecord--Run Before SaveInteraction QAUpdates the QA Completed field value when the Interaction QA's status changes to Review Completed.
Interaction: Reply NotificationMED_Interaction_Reply_NotificationAutolaunched FlowRecord---Run After SaveEmailMessageSends an email notification to the owner of an Interaction (Case) record when a new email message related to the interaction is created.
Interaction: Set Record TypeMED_Case_Set_Record_TypeAutolaunched FlowRecord -- Run Before SaveInteractionSets the record type based on the status and sets the status to open if the record type is null.
Interaction: Status ChangesMED_Case_Status_ChangesAutolaunched FlowRecord -- Run Before SaveInteractionWhen the Interaction is closed, the flow: - Clears the Reopen Reason field value. - Sets the Record Type field value to closed. When the Interaction is reopened, the flow: - Clears the Transfer Reason field value. - Sets the Record Type field value to open.
PQC: AnonymizeMED_PQC_AnonymizeAutolaunched FlowRecord -- Run Before SaveProduct Quality ComplaintAnonymizes the name, address, email, fax, and phone number when the Anonymize flag is set to true as long as there is no legal hold.
PQC: Owner ChangeMED_PQC_Owner_ChangeAutolaunched FlowRecord-- Run After SaveProduct Quality ComplaintClears the Transfer Reason field value when the owner is changed.
PQC: Set DefaultsMED_PQC_Set_DefaultsAutolaunched FlowRecord -- Run Before SaveProduct Quality ComplaintSets the default values for Complainant Name and Pharmacy field values, if blank.
PQC: Status ChangesMED_PQC_Status ChangesAutolaunched FlowRecord -- Run Before SaveProduct Quality ComplaintWhen the PQC is closed, the flow: - Adds the closed date and time. - Clears the Reopen Reason field value. - Changes the Record Type to closed. When the PQC is reopened, the flow: - Clears the date and time it was originally closed. - Sets the Record Type to open.
Request: Owner ChangeMED_Request_Owner_ChangeAutolaunched FlowRecord-- Run After SaveRequestClears the Transfer Reason field value when the owner is changed.
Request: Reset Override LockMED_Reset_Request_Override_LockAutolaunched FlowRecord-- Run After SaveRequestResets the MED_Override_Lock__c field on requests after an update.
Request: Status ChangesMED_Request_Status_ChangesAutolaunched FlowRecord -- Run Before SaveRequestWhen a Request is closed, the flow: - Adds the date and time when the Request was closed. - Clears the Reopen Reason field value. - Changes the Record Type field value to closed. When a request is opened, the flow: - Clears the date and time when the Request was originally closed - Sets the Record Type field value to open
Request: Truncate QuestionMED_Request_Truncate_QuestionAutolaunched FlowRecord-- Run After SaveRequestApplies a truncated version of the Rich Question field value to the Short Question field.
Request Document: FAQ MappingMED_Request_Document_FAQ_MappingAutolaunched FlowRecord-- Run After SaveRequest DocumentMaps the Question and Answer fields of the newly-created Request document to its related Request.
Request: Update ConsentMED_Update_Follow_up_ConsentScreen FlowUpdates the Request's follow-up consent-related fields and allows updates on closed requests.
Update Pending DDPsMED_Update_Pending_DDPsAutolaunched FlowRecord-- Run After SavePackage JobUpdates any DDPs that have had a pending status for at least 24 hours.

Special considerations

New product installs will automatically come with the new flows. If you are an existing customer, you will have the new flows when you upgrade to V12 but they will be turned off by default. Your existing workflows will continue to be used. You will have to turn off your current workflows and move them to the new flows. If you had customized a workflow, you will need to clone one of the provided flows as a flow override and apply your modifications.

To deactivate a workflow rule:
  1. In the Quick Find box in Setup, search for and select Workflow Rules.

  2. Click Deactivate next to the workflow rule you want to turn off.

To clone a flow:
  1. In the Quick Find box in Setup, search for and select Flows.

  2. Click the name of the flow you want to clone. The Flow Builder appears.

  3. Click Save As on the top right navigation menu.

  4. On the Save As modal, click A New Flow.

  5. Enter a value in the Flow Label field. The Flow API Name will automatically populate based on that value.

  6. Update the description of the flow.

  7. Click Advanced to reveal additional options.

  8. Enter your modifications.

  9. Click to uncheck the Overridable checkbox.

  10. Enter the flow you are copying from in the Original Flow field.

  11. Click Save.