Async CPMs and Interface Configs

CX Version: 

When using async CPMs, DO NOT leverage interface configs. An async CPM may run on any of the site's interfaces, regardless of which original interface triggered the logic! Oracle states that this is "working as designed," meaning they are unlikely to fix this issue anytime in the near future. Using interface configs will cause a lot of headache during development because the correct configs may be pulled and work correctly for a time, but when the CPM switches to another utility process (unbeknownst to you), an incorrect config value from another interface will be pulled.

Workarounds

  1. Only use site configs in your async CPMs
  2. Store your configs in a custom table, and manually query the database, filtering on the interface
  3. Only use synchronous CPMs to queue up changes in a custom table: for external integrations, poll the custom table and run your asynchronous logic outside of Oracle's infrastructure
Zircon - This is a contributing Drupal Theme
Design by WeebPal.