1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

活動オブジェクトのWhoId、WhatIdを参照する時にできないこと。

Last updated at Posted at 2022-08-19

以下のようにWhatIdがアカウントオブジェクトであっても、数式からはアカウントのフィールドを参照できないです。

IF (BEGINS (WhatId, "001"),TEXT(Account.S_VA_Account__c),NULL)

image.png

自動化処理で行うと
You're gonna need a Flow, Process, or Custom Code to do that

Formula to pull in Lead object data on Activity

数式では参照できないと思います。
よって、Idが006で始まる場合に レコードの取得で商談を検索してください。
これで商談名を得ることができます。

Formulas cannot reference other fields from WhatId. I believe it can be implemented using Apex triggers.

https://salesforce.stackexchange.com/questions/119669/apex-task-what-type

https://developer.salesforce.com/forums/?id=9060G0000005a24QAA

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?