Start a mass dispatch
You start and send a mass dispatch from WorkZone Client. The mass dispatch process consists of the three steps:
- You must be assigned the MASSDISPATCH access code to start a mass dispatch process.
- You must be assigned the MASSDISPATCHSEND access code to be able to send a mass dispatch.
- You have prepared a Recipient list and a Letter template and saved them on a case. This case is now the dispatch case, where you manage the mass dispatch.
Start a mass dispatch
- In WorkZone Client, open the dispatch case that the recipient list and the letter template are saved on.
- Click Process > Start Mass Dispatch.
- Enter a title of the mass dispatch process in the Title field. The title will be used as the name of the Mass dispatch process and as the title of the email that is sent to the recipient's Digital Post inbox. By default, the title of the current case is used. When you select a letter, the title changes to the name of the letter automatically. You can change the title.
- In the Recipient list field, select the recipient list you want to use. Select the Excel workbook that holds the recipients you want to send the letter to. See Recipient list.
- In the Letter field, select the letter template you want to use.
- Select the PDF/UA (Universal Accessibility) check box if you want the letter template and the generated letters to be checked for PDF/UA compliance before they are sent. Your organization may have configured the Mass dispatch process to always have this check box selected.
If the PDF/UA (Universal Acesss) check box is selected, you can select a Word document or a document that is already PDF/UA compliant. PDF/UA documents have the icon. If you select a Word document, it will be validated for PDF/UA compliance and a PDF/UA version of the document will be created. See Working with PDF/Universal Accessibility (UA) documents.
- In the Excluded CPR status codes field, select the status codes that you want to exclude from the dispatch, for example, 80, Inactive, emigrated or 90, Inactive, dead.
For example, if you select 80, Inactive, emigrated, recipients with this status code will not receive a letter even if they are included in the recipient list. The validation report will list the recipients that have been excluded from the mass dispatch because of their status code.
- Select a dispatch sequence in the Dispatch sequence field.
- Select a material in the Material field. The materials on the list are defined by your organization and Digital Post. For example, you may be able to select a material that enables the recipients to reply to the message that you are about to send.
- Select the Send to case handler for approval check box, if you want the case handler to review and approve the mass dispatch. Note that the case handler must have the MASSDISPATCHSEND access code to review and approve a mass dispatch. If you leave the check box cleared, you will, as the process owner be the approver of the mass dispatch.
- On the Recipient cases tab, select the Add case parties check box if you want to automatically add recipients as parties on recipient cases. Select the role that you want to be assigned to the case parties in the Party role field.
- Select the Create recipient cases check box if you want to create a new case for each of the recipients in the mass dispatch and save the letter on the new cases. New cases will not be created for the recipients that have references to existing cases in the Cases sheet (using a foreign key column).
- Select the Copy facet from case template check box if you want to copy the facets that are specified on the case template to the recipient cases. If the check box is already selected, it means that the Mass dispatch process has already been configured to copy the facets by default.
- Add the required information about the case title, case group, and specify the case template that you want to base the creation of new recipient cases on.
If, for example, you select Send by digital post or else remote print, the Mass dispatch process will try to send the message to Digital Post first. If, for some reason, the dispatch is not successful, the message will be sent to remote print (via Strålfors). If this dispatch is also unsuccessful, the letter will be sent to you in a smartmail for you to print locally.
Case title template |
Specify how you want the case titles of the new recipient cases to be created. You can use the aliases from the Contacts.Schema sheet to define the title template. Specify the aliases in curly brackets. The aliases must not include spaces.
This could, for example, result in the case title: Amy Duke — 210206-8621 Note: The title that you specify in the Case title template field overwrites the title that is specified in the
Cases sheet.
|
Case group |
Select the case group you want to apply to new recipient cases. Other case data are either taken from the recipient list or from the case template that you select in the Case template field. Note: The case group that you specify in the Case group field overwrites the case group that is specified in the
Cases sheet.
|
Case template |
Select a case template you want to use as the template for new recipient cases. In the case template, you can specify which metadata that you want to be added to new cases by default, for example read and write access, case type, case state, or case text. The case that you use as the case template must have the case group TEMPLATES, Template case group to be available for selection in the Case template field. |
When recipient cases are created, they will get the case title and the case group that you have specified on the Recipient cases tab. Other information can also be retrieved from the Files.Schema sheet and from the selected case template. In the case template, you can specify additional metadata that you want to be added to the recipient cases, for example a case text or case state.
- If you do not want to create new cases for each of the recipients who do not have a case mapped in the Cases sheet (see step 11), select the Save sent letters on an existing case check box, and select a case. The selected case will be the default case that sent letters will be saved on for recipients without case references.
- On the Recipients tab, select the Add document parties check box if you want to automatically add recipients as parties on the letter documents. Select the role that will be assigned to the case parties in the Party role field.
- Enter a title template for the letter document in the Letter title template field. It is required that you fill in this field. You can use the aliases from the Contacts.Schema sheet to define the title template. Specify the aliases in curly brackets in the same way as you did with the case title template, for example, Letter:
{name1} {name2} — {namecode}
, which results in the letter title: Letter: Amy Duke — 210206-8621. - Optionally, change the prefilled values in the Document type, Document state, and Document group fields. The values will be applied to generated documents.
- Optionally, you can specify a date, by which the letter document must be answered, in the Reply deadline field. The deadline will be applied to generated documents.
- Click Start to start the mass dispatch. The validation of the recipient list will start.
- Click the Processes tab and double-click the process to open it in the preview pane where you can follow the progress and open tasks that are related to the process.
- If the validation of the recipient list fails, you will receive a Validate mass dispatch task, see Validate the mass dispatch. If the validation is successful, the mass dispatch process continues directly to the approval step and you will, as the process owner, receive an Approve mass dispatch task. See Approve and send a mass dispatch.
Validate the mass dispatch
When you click Start in the Start mass dispatch dialog box, the Mass dispatch process starts validating the recipients in the recipient list. If there are errors in the recipient list, you as the process owner will receive a Validate mass dispatch smarttask/smartmail.
- Open the task from the preview pane in WorkZone Client or as a smartmail in Outlook similarly to other processes. The task contains the letter template, the recipient list, and a validation report.
- In the smarttask/smartmail, you have the following options:
- Click Repeat if you want to repeat the validation after you have corrected errors in the recipient list. You can base your corrections on the error descriptions listed in the validation report. You can repeat this step until you are satisfied with the recipient list.
- Click Cancel to cancel the mass dispatch and delete the validation report from the dispatch case.
- Click Accept to accept the content of the recipient list and move on to the approval of the mass dispatch.
For information about working with tasks, see Work with tasks in the WorkZone Process User Guide.
Correct errors in the recipient list
- In the Validate mass dispatch task, click the validation report to open it.
- Preview or open the report. The report lists the recipients that do not fulfill the requirements for the recipient list and an error description next to the recipients.
The report lists all errors in the recipient list. Examples of errors may be:
- Requirements to the structure of the recipient list are not fulfilled. Check and correct errors in the Excel sheet based on the error messages listed in the validation report. See Recipient list.
- Duplicate contacts in the recipient list.
The Validate mass dispatch task does not inform about duplicates of contacts. To ensure that all contacts will receive the letter, you must check the validation report for the error message "The contact XXX has duplicates" and remove the duplicates from the recipient list. If a mass dispatch is approved and the recipient list contains duplicate contacts, letters will not be sent to any of the contacts that are listed more than once in the recipient. Other validation checks, such as "a contact exists in WorkZone" or "contact subscribes to digital mail", will also be ignored.
- Contacts in the recipient list do not exist as WorkZone contacts.
- Contacts in the recipient list do not subscribed to digital mail.
- Some required fields in the recipient list do not have values in WorkZone. In this case, you can either remove Required from the field in the recipient list if it is not required information, or you can add the missing information to the contacts in WorkZone.
For a list of errors and possible solutions, see Error handling.
- Click Repeat in the Validate mass dispatch task to repeat the validation until you are satisfied with the recipient list.
- Click Accept when you are satisfied with the recipient list and ready to proceed with the mass dispatch.
When you click Accept, a sample letter is generated based on the letter template and one recipient from the recipient list. As the process owner you will receive an Approve mass dispatch smarttask/smartmail. See Approve and send a mass dispatch.
Correct errors in the letter template
If there are errors in the letter template, the dispatch will fail and you will receive a Mass dispatch failed task/smartmail with the error.
,
If the letter template does not contain the same fields as the fields that are defined in the recipient list, you can either add or remove the fields from the letter template in Microsoft Word or remove the fields from the recipient list. The fields must match.
- Click Done to close the Mass dispatch failed task. The mass dispatch will be canceled.
- Correct the errors in the template and start the Mass dispatch process again.
Validate PDF/UA compliance
If you have selected the PDF/UA (Universal Accessibility) check box on the General tab in the Start mass dispatch dialog, or your organization has configured the Mass dispatch process to always have the check box selected, the letter template and the generated letters will be checked for PDF/UA compliance.
The PDF/UA validation starts when you start the Mass dispatch process from the Start mass dispatch dialog. If the letter template passes the validation, the Mass dispatch process continues to the approval step. See Approve and send a mass dispatch.
The letter template
If the PDF/UA (Universal Accessibility) check box is selected, the selected letter template must be a Word document or a PDF/UA document. See Start a mass dispatch (step 6). For information on how to make sure the document is PDF/UA compliant before you start the mass dispatch, see Validate a document for PDF/Universal Accessibility (UA) compliance. If you have selected a non-PDF/UA document, you will not be able to start the mass dispatch.
You can clear the PDF/UA (Universal Accessibility) check box if you do not want to validate the letters for PDF/UA compliance.
Failed PDF/UA validation
If the PDF/UA validation fails after starting the process, you will as the process owner be notified in the Validate mass dispatch task/smartmail. See Validate the mass dispatch. A PDF/UA validation report will be attached to the task. The report shows the documents that have failed the PDF/UA validation. You can open the attached PDF/UA validation report from the task/smartmail to see the errors and correct the errors in the original letter template document. See Fix a failed PDF/UA document.
In the Validate mass dispatch task/smartmail, you have the following options:
- Click Repeat to run the validation again after you have corrected errors in the recipient list or PDF/UA errors in the letter template. You can repeat this step until the PDF/UA validation is successful and the mass dispatch process continues to the approval of the mass dispatch.
- Click Cancel to cancel the mass dispatch and delete the validation reports.
- Click Accept to accept the recipient list and the letter template and send a sample letter for approval before generating and sending all letters. You can click Accept even if the PDF/UA validation failed and then the PDF/UA errors will be ignored. You must add a comment that states the reason for proceeding with a mass dispatch that has failed the PDF/UA validation. The letters that fail the PDF/UA validation will be generated as PDF documents.
After approval the generated letters will be checked for PDF/UA compliance. If some letters fail the PDF/UA validation, they are not sent. Open the history document to check the status of the documents. If a letter has failed the PDF/UA validation, an error will be shown. See History documents.
Approve and send a mass dispatch
As the process owner you will receive an Approve mass dispatch task/smartmail when the recipient list is validated successfully and there are no errors in the letter template.
- Open the task from the preview pane in WorkZone Client or as a smartmail in Outlook similarly to other processes. The task contains a sample letter , the recipient list, and the letter template.
- In the task, you have the following options:
- Click Approve if you are satisfied with the sample letter and want to start dispatching the letters.
- Click Repeat if you made corrections to the sample letter or the recipient list. The validation is repeated and you will receive a new approval task with a new sample letter.
- Click Cancel to cancel the mass dispatch. All documents that have been generated are deleted from the dispatch case.
- Click Forward if you want to forward the approval to another user.
About the approval deadline
The deadline for approving a mass dispatch is 25 hours. However, if the mass dispatch is approved after the approval deadline, it will not affect the mass dispatch. The dispatch of the messages will always start when the dispatch is approved, even if the approval deadline is exceeded.
It is currently not possible to change the approval deadline.
What happens after approval?
When you approve the mass dispatch, WorkZone creates the letters and merges data in to the merge fields in the letters. WorkZone sends the letters to Digital Post. When all the letters are sendt, receipts are returned to WorkZone and History documents are generated. The generated letters and history documents are saved on the dispatch case or on individual recipient cases if you have specified existing cases in the recipient list and/or defined that new cases are created based on the options on the Recipient cases tab in the Start mass dispatch dialog.
Save letters on the dispatch case
If you do not specify a recipient case for each of the recipients in the recipient list, the letters will be saved on the dispatch case together with a Mass dispatch history document for the entire dispatch and history documents for each of the dispatches. The individual history document is saved as a supplementary document on the letter document. See History documents.
Save letters on recipient cases
In the Cases sheet in the recipient list, you can specify a recipient case for each of the recipients or you can specify individual field values for case creation. Creation of new cases requires that you have you have selected the Create recipient cases check box and have filled in the options on the Recipient cases tab in the Start mass dispatch dialog box, see the steps 11-13.
Depending on how the case sheet in the recipient list is defined and your settings on the Recipient cases tab when you started the mass dispatch, the following happens:
- If there is no case specified for each recipient in the recipient list, and you have selected the Create recipient cases check box and specified the options for new recipient cases on the Recipient cases tab, the letters and history documents will be saved on newly created cases. See the steps 10-13 under Start a mass dispatch.
- If a case is specified for each recipient in the recipient list and the cases exist, the letters and history documents will be saved on the specified cases. See Cases sheet.
- If a case is specified but it does not exist in WorkZone, the validation will generate an error for the recipient which will be shown in the validation report.
If you have selected a material that enables recipients to reply to a letter that was sent with mass dispatch (see Start a mass dispatch step 8), the reply will be saved on the same recipient case as the letter.
Save letters on an existing case
If there is no case specified for a recipient in the Cases sheet in the recipient list, and you do not want to create new recipient cases, you can select the Save sent letters on an existing case check box on the Recipient cases tab, and then select a case to save the letters on. The letters and the history documents will be saved on this case by default. See step 14 under Start a mass dispatch.
Letter date
The date on which the letter document is saved in WorkZone is inserted as letter date in the Letter date field on the document in WorkZone.
History documents
When a mass dispatch process is complete, a history document is generated and saved on the dispatch case. The history document provides a summary of the actions that were executed during the mass dispatch process, who executed them and when. This history document is similar to history documents for other process types.
In addition to the history document, WorkZone generates history documents in CSV format. The CSV file is generated for the completed dispatch and lists all the recipients with information about the individual dispatches. Depending on your organization's setup, another CSV file is generated for each individual dispatch, which only shows information about the current dispatch.
You can open the history documents in Excel to view information about the dispatches. If needed, you can save the CSV file as an Excel workbook to process it further in Excel.
The history documents in CSV format contain the following information:
Field | Description |
---|---|
RecipientCode | The ID of the recipient, for example a CPR or CVR number. |
EboksSubscriber | If the value is True, the recipient is registered as a Digital Post user. |
RecordKey_Value | The document number of the letter that was sent to the recipient. |
ExternalId |
The external ID, which is used to track the delivery of the dispatch. You can use this ID, if you need to contact Digital Post about a dispatch. If the message is sent through Digital Post and the field contains an ID, it means that the dispatch is completed and that Digital Post has acknowledged the receipt of the message. |
ShipmentDate |
The dispatch date and time of the letter. |
ReceiptDate | The date and time for when Digital Post received the letter and generated a receipt. |
ShipmentState |
Shows the status of the dispatch that was sent to each recipient. If the dispatch was successful, the status will be Completed. If it has failed, an error code and a description will be shown in the Dispatch Error field. The default value in the ShipmentDate field is Not specified. The value only changes if the dispatch to the recipient is started. If the dispatch is not started, the value in the ShipmentState field remains Not specified. If the dispatch to a recipient has not been started, it may be because the recipient is not subscribing to Digital Post, or the recipient is subscribing to Digital Post, but an error occurred before the dispatch was started. See the Digital Post subscription status for a recipient in the EboksSubscriber field. |
ShipmentError |
An error code and a description will be shown next to each recipient who did not receive the letter. |
LetterTitle |
The title of the dispatched letter. |
CaseNumber |
The case number of the case that the letter was saved on. The history document will show the case number of the dispatch case if you have decided to save all letters on this case. If you have decided to create recipient cases, the history document shows the case numbers of the recipient cases. |
Save letters on the dispatch case
If you have decided to save all the generated letters on the dispatch case, the history document for each dispatch will be saved as a supplementary document on the letter as shown below. The history document for the entire dispatch is also saved on the dispatch case.
Save letters on recipient cases
If you have decided to save the generated letters on individual recipient cases, the history document for each dispatch is saved on the recipient case as a supplementary document to the letter. The history document for the entire dispatch is saved on the dispatch case.