--- title: "Automation - FAQ" slug: "automatisation-faq" updated: 2026-03-19T14:17:09Z published: 2026-03-19T14:17:09Z canonical: "help.frisbii.com/automatisation-faq" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.frisbii.com/llms.txt > Use this file to discover all available pages before exploring further. # Automation - FAQ ![](https://sofacto.file.force.com/servlet/rtaImage?eid=ka0Tx000000VVAn&feoid=00N1p00000JI0JP&refid=0EM1p000002K3nQ) You will find a list of questions that are often asked to our support team. ## How to change the e-mail address that receives notifications about automations **Question:** You want to change the email address that receives notifications when a process has succeeded or failed and wonder if you can notify multiple people. **Answer:** Currently our code will pick up the user who has set up the automatic broadcast to send notifications. We plan to improve the notification handling in a future release to allow administrators to choose what type of notification they want to receive and to what address. ## How to set up multiple email addresses in the CC for sending invoice PDFs **Question:** In the process (process builder) for sending PDF invoices you want to put several e-mail addresses in the CC. How can you link the addresses without receiving an error message? **Answer:** You must set up the process as described in this article: [Automation - sending invoice PDF via email](/frisbii-app/docs/en/automatisation-envoi-des-pdfs-de-facture-par-email) Then you can add the variable Apex **CC addresses** in the **Call an Apex** section: ![](https://cdn.document360.io/b84e1b5d-2ba6-4465-8c62-fb45a2f31314/Images/Documentation/image-SHXZF0JO.png?sv=2026-02-06&spr=https&st=2026-10-28T01%3A33%3A03Z&se=2026-10-28T02%3A33%3A03Z&sr=c&sp=r&sig=kT9%2F3WOFQAvFKk7%2Bv5OpgN5ab2741envvckcrmz5i8g%3D) Then you have two options: 1) Either you want to chain hard-coded addresses in your string, like this: contact1@contact.com**;**contact2@contact.com**;**contact3@contact.com > separated by **;** 2) Or you want to chain field references. In this case, you must use a formula, fill in the fields and separate them with &";"&, like this: ```plaintext [sofactoapp__Factures_Client__c].sofactoapp__Contact__r.Email &";"&[sofactoapp__Factures_Client__c].sofactoapp__emetteur_facture__r.sofactoapp__Email__c ``` **Please disregard the sample e-mails which are only given to show the structure of the formula.** ## Why emails are not sent when automatic sending is configured from a flow **Question:** For dunning or sending invoices by e-mail, you have planned to use a scheduled flow that calls the Apex Send_Invoices_Emails class. However, during the tests, the emails do not go out. **Answer:** Please check out two possibilities: (1) Give access rights to the profile of the user who triggers the process to the Apex class *Send_Invoices_Emails.* (2) Give access rights to visualforce pages (PDF templates) to this profile as well. Here is the Salesforce article on this subject: [Set Visualforce Page Security from Profiles](https://help.salesforce.com/articleView?id=users_profiles_visualforce_access.htm&type=5) ![](https://cdn.document360.io/b84e1b5d-2ba6-4465-8c62-fb45a2f31314/Images/Documentation/image-G6E6B05I.png?sv=2026-02-06&spr=https&st=2026-10-28T01%3A33%3A03Z&se=2026-10-28T02%3A33%3A03Z&sr=c&sp=r&sig=kT9%2F3WOFQAvFKk7%2Bv5OpgN5ab2741envvckcrmz5i8g%3D) ## Why emails don't go away when sent from a sandbox **Question:** You are testing the sending of e-mails. (1) Either the e-mails were going out and suddenly it stops, (2) or the e-mails are not going out at all. **Answer:** (1) It is possible that you have reached the limit of e-mails sent per day in your sandbox. Please try this code in *anonymous apex* in the **Developer Console**: ```plaintext system.debug('Test si la limite d envoie journalier est atteinte'); try { Messaging.reserveSingleEmailCapacity(1); } catch (Exception e) { System.debug('You have used up your daily allowance of mails'); } ``` (2) Please check this out: 1. Go to **Setup** 2. Search for *Deliverability* in the search bar 3. Click on **Deliverability** 4. In the picklist **Access level** select **All email**. ![](https://cdn.document360.io/b84e1b5d-2ba6-4465-8c62-fb45a2f31314/Images/Documentation/image-530192SO.png?sv=2026-02-06&spr=https&st=2026-10-28T01%3A33%3A03Z&se=2026-10-28T02%3A33%3A03Z&sr=c&sp=r&sig=kT9%2F3WOFQAvFKk7%2Bv5OpgN5ab2741envvckcrmz5i8g%3D)

Attention: Be careful to put test e-mail addresses in the contacts to be sure not to send test e-mails to your real contacts.
## Error during the Invoice Automation InvoiceAutoIssue batch process This is an error related to account access. We recommend that you issue the invoices manually (re-run the batch manually). ## Why is my test Apex class throwing an error If, when running a test class, an error message similar to the following appears: ```plaintext Fail System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, sofactoapp.FacturesClientTrigger: execution of AfterUpdate caused by: System.NullPointerException: Attempt to de-reference a null object ``` This means that the call to `postInstall` is missing from the test class code (recommended in the test setup). Indeed, when an Apex class involves Frisbii App for Salesforce objects, it must include the following lines: ```plaintext sofactoapp.PostInstallClass postinstall = new sofactoapp.PostInstallClass(); Test.testInstall(postinstall, null); ``` This involves calling a method that will create the custom settings not included in the package, which will then be called within the triggers of the Frisbii App for Salesforce objects.