Store Error Messages in Variables

Business Background

Do you want to audit and monitor transactions performed through Titan using your business logic and store these transactions in your own systems? Now you can!

Titan Solution

You can map the error information into a Titan variable for any Salesforce action (Get and Push) and then send this information to your auditing and monitoring systems. For example, you can now represent a group of Salesforce actions into a single audit record or have an audit record per Salesforce action.

Titan’s solution provides you with the ability and flexibility to achieve your auditing objectives.

You can use this feature together with disabled integration and account logs.

How to Video

  • Coming soon!

How to Guide

Add variables in Titan Web

  1. Open Titan Web.
  2. Open the Pages drop-down list and click the Kebab icon.
  3. Click the Configure Actions button. The Configure Actions screen opens.
Configure Actions button
Configure Actions button
  1. Click the Static option and add the necessary variables. In this example, the following variables were added:
    • get_error_message
    • update_error_message
  2. Click the Apply button.
Configure Actions screen
Configure Actions screen
  1. Click the Gear icon to open the Project Settings.
  2. Click the Salesforce option.
Salesforce option
Salesforce option

Use a Salesforce Get

  1. Create a new Get integration or edit an existing one. Learn more about Salesforce integrations.
Salesforce Integrations screen
Salesforce Integrations screen
  1. Click the Advanced option.
  2. Click the Map error to checkbox and use the drop-down list to select the variable. In this example, the error is mapped to the following variable:
    • get_error_message
Advanced option
Advanced option

Use Salesforce Push

  1. Create a new Push integration or edit an existing one. Learn more about Salesforce integrations.
Salesforce Integrations screen
Salesforce Integrations screen
  1. Click the Advanced option.
  2. Click the Map error to checkbox and use the drop-down list to select the variable. In this example, the error is mapped to the following variable:
    • update_error_message
Advanced option
Advanced option

You can use the mapped variables in an Action Flow to send an email with the error message. Alternatively, you can configure the Generate File node in Titan Flow to generate the error message and push it to external cloud storage services.

See an example of how to use the Generate File Flow in Titan Web.

Learn more about System Variables and how to use variables in Titan.

Hidden Title

Need more help?