This documentation supports the 20.02 version of BMC Helix Business Workflows.

To view the documentation for the previous version, select 19.11 from the Product version menu.



Automatically generating PDFs for required information

BMC Helix Business Workflows provides the ability to generate PDFs for requesters. As a case business analyst, you can create a document template to define the format and content for the PDF document. You then use the document template as an input value for the Generate PDF element within any process to generate a PDF document. Document templates help you save time by providing common content and format in a document that can be reused for generating PDFs in any process.

For an overview of document templates and generating PDF documents, see Document templates and generation of PDFs.

To create a document template

  1. Log in to BMC Helix Business Workflows.
  2. Click Settings .
  3. Navigate to Document Management > Document Templates.
  4. On the Document Templates page, click Document Template.
  5. In the Create Document Template dialog box, enter the following details:

    FieldDescription
    Template NameEnter a name for the document template. You must enter a unique name for every template for a company.
    CompanySelect the company from the list to which the document template belongs.
    If you select Global, the document template is available for all the companies in the tenant.
    LabelSelect a label for the document template.
    You can filter the templates based on a specific label.
    DescriptionEnter a short description for the document template.
    Document Body

    Consider the following points to configure the document body:

    • Use the formatting options that are provided to define the structure and content of the PDF document.
    • Format the text by using the standard text and paragraph formatting options.
    • Insert images and tables wherever required.
    • Add fields such as, case fields, case association fields, dynamic fields, and other additional fields that are available for the templates that are defined for the company by clicking the Edit Expression  icon.

    The field values are updated based on the case for which the PDF document is generated.

    Note: Do not add confidential fields in the document body. If you add a confidential field in the document body, the field value is displayed in the document.

  6. Click Save.

After you create the document template, it needs to be provided as an input to the Generate PDF element to get a PDF output.  

Notes

  • You can edit a document template by clicking it from the Document Template list.
    • You can update only the Description and Document Body fields of an existing document template.

    • You cannot edit the Template Name and Company fields.

  • You can delete a document template by selecting the template from the list and clicking the Delete option.

To add a Generate PDF element to a process

Generating a PDF can be a part of any process that is related to a case or task. To generate a PDF document, you must include the Generate PDF element in the process and add the document template as an input parameter. The process should also define an action for the generated document.

Note

You can create a new process in a particular application or library as per your requirement, by logging in to BMC Helix Innovation Studio or from the automated task template page in BMC Helix Business Workflows. 

  1. In a process, select the Generate PDF element, and add it to the process.
  2. In the Element properties pane, specify the following properties in the INPUT MAP:
    • Document Template
      1. Click Select Document Template.
      2. From the list of document templates, select a document template, and click Save.
        You can search and filter through the templates to find a specific template.

    • Record instance
      1. Click Click to build an expression.
      2. In the Edit Expression dialog box, select the appropriate Record Instance field from Available Values.
        To use a different record, add the Get Record element to the process, and then select the Record Instance from the available values.
    • Document Name
      1. Click Click to build an expression.
      2. In the Edit Expression dialog box, enter a name for the PDF document that is generated.
  3. Include an action for the PDF document to route the document to the correct destination.
    You can use the Send Notification Using Event action to send the PDF as an attachment to the notification email or use the Create Record in attachment record definition to associate it with a ticket.

When the process is run, the PDF document is generated by using the format that is defined in the selected document template. The fields are populated with the values that are defined in the case or task. The document is then routed to the appropriate destination as defined in the process.

Related topics

Document templates and generation of PDFs

Example of generating a formatted PDF document

Was this page helpful? Yes No Submitting... Thank you

Comments