Skip to main content
Version: 10.2.8

Negative News Report

High-level description

The Negative News Report generator is a predefined template that generates the Negative News Report HTML, converts it to PDF, and stores the PDF in S3.

The Negative News Report Settings step is a configuration step. Its parameters are as follows:

  • FTL template S3 link (required): S3 link to the FTL template. Provide the full URL, for example, https://wfinst-307-92-db1.workfusion.com/intake-bucket/NegativeNewsReport.ftl.
  • S3 bucket name (required): S3 bucket name where the temporary HTML report is generated and the final PDF report is stored.
  • S3 folder (required): S3 folder where the temporary HTML report is generated and the final PDF report is stored.

The resulting PDF filename is randomly generated.

The Negative News Report Settings and Generate Report Bot Configurations are generic. They can generate any report type from transaction data, depending on the FTL template filename. Negative News Report is a specific report generated using NegativeNewsReport.ftl.

How to use

  1. Ensure that the ReportSettings - GORU-771 template of the Bot Base type exists in Control Tower templates.

  2. Ensure that NegativeNewsReport - GORU-771 of the ETL type exists in the Bot Configurations.

  3. Create the first step as Bot Task.

    1. Double-click the step.
    2. Select ETL > Negative News Report - GORU-771.
    3. Double-click it again and populate the parameter values correctly.
  4. Ensure the FTL template specified in the FTL template filename parameter in the previous step exists in the S3 bucket and folder provided in the S3 bucket name and S3 folder parameters.

  5. Add a second step to create the transaction and populate it with the required transaction attributes, documents, and document attributes.

    In the guide, we use the TransactionCreateFakeConnector connector as the second step. It creates a test transaction with all necessary data. This step must export the following columns to the Generate Report Bot Configuration:

    • ftl_template_s3_link: full S3 URL of the FTL template
    • s3_bucket: S3 bucket name where the temporary HTML and final PDF reports are stored
    • s3_folder: S3 folder where the temporary HTML report and final PDF reports are stored
    • _sys_transaction_id: ID of the Negative News Report transaction created in the previous step (usually a connector step)
  6. Go to the Reusable components panel > the Bot tab (Other) and drag the Generate Report Bot Configuration from the Intake Bots BCB. Its name is Intake Bots (Generate Report).

How it works

  1. The Negative News Report generator uses transaction data to generate PDF based on the FTL template.
  2. The NegativeNewsReport.ftl template requires the Transaction and Document attributes.
  3. During execution, Negative News Report logs actions at the INFO log level. Logs are available in the Business Process Results tab, under the Event log link.

Transaction attributes

  • entityName: entity name
  • dateOfInvestigation: investigation date
  • workerName: Worker name
  • overallRecommendation: overall recommendation (decision from a Manual Task to investigate the entity or not)
  • articlesReviewed: number of articles reviewed
  • suggestedKeywords: keywords suggested by the model; format: JSON list; for example, {"Keyword1","Keyword2","Keyword3"}
  • highRiskCountriesRelations: high-risk country relations; format: JSON list; for example, {"Country1","Country2","Country3"}
  • manualTaskLink: link to a Manual Task

Document attributes

  • title: document title
  • publishingDate: publishing date
  • classificationModelScore: classification model score
  • triggeredCountries: triggered countries; format: JSON list; for example, {"Country1","Country2","Country3"}
  • suspiciousPhrases: set if an article triggers a further investigation; contains suspicious phrases from a Manual Task; format: JSON list; for example, {"Phrase1","Phrase2","Phrase3"}
  • originalDocumentLink: original link to the article
  • origin.originalDocumentLink: archive link to the article
  • htmlExcerpt: HTML body excerpt of the article; format: plain text