Loading
Salesforce から送信されるメールは、承認済ドメインからのみとなります続きを読む

Calling Long Running IP from Apex Class

公開日: Dec 20, 2023
説明
Steps To Reproduce:
  1. Login to an org with Omnistudio.
  2. Create a long running IP.
  3. Try to call it from an Apex class.
  4. It will throw Too many soql queries 101.
  5. While using chainable, the IP will not get executed completely.
解決策
Steps To Resolve:
  1. Usually, it is recommended to use chainable for long running IP.
  2. But in this scenario, chainable doesn’t work in apex, it requires client.

So, the following workarounds will work:

Workaround 1:
Using VlocityBatchFramework will resolve the issue.

Here is the related document link.

Workaround 2:
A user can implement calling the IP from LWC using the following link

Workaround 3:
A user can call this IP in chainable mode from an omniscript.

ナレッジ記事番号

000591873

 
読み込み中
Salesforce Help | Article