Loading
Get Started with Communications, Media, and Energy & Utilities (CME)...
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          TransactionContextInterface

          TransactionContextInterface

          Exposes Digital Commerce API transaction data so users can reuse existing objects in the current transaction.

          Type

          Loosely typed

          Triggered When

          This interface is usually invoked by Digital Commerce APIs to store global configuration objects such as the scope objects of a context.

          Signature

          Access

          Signature

          public

          vlocity_cmt.VOIInvoker.invokeMethod('TransactionContextInterface', methodName, input, output, options);

          Default Implementation

          DefaultTrxnCtxImplementationDefaultTrxnCtxImplementation

          Other Implementations

          None. Creating other implementations is not recommended.

          Input and Output

          This interface has no input or output parameters. It uses a TransactionContext as an input source, which is available through a Vlocity open interface. However, specify the invokeMethod parameters in the signature as follows:

          methodName: get

          • input: Map<String, Object>

          • output: Map<String, Object> ContextValue

          • options: Map<String, Object>

          For the strings, specify keys that reference the objects accessed in the present transaction. These are usually set in Vlocity internal services.

          For the objects, specify the SObjects corresponding to the keys. If the key is null or no key is found, the object is null.

           
          Loading
          Salesforce Help | Article