LoginSignup
1
0

More than 1 year has passed since last update.

リード変換時の数式

Last updated at Posted at 2021-08-04

Answersで回答する時に使う情報のまとめに戻る

設定があるようです。これが設定されていないと、数式がうごかないみたい。

Leadのコンバートに使う入力規制

色々式を試してやっとたどり着いた。

ポイントは AND条件に必ず IsConvertedを入れること。
他に条件があれば、ORで続ける。(これがポイント大切忘れるな)

Create Validation rule - Email, Phone, and Country are required on lead conversion.

IsConvertedを入れないと変換の時に働かない。

AND(
IsConverted,
OR(
OR(
 ISBLANK(TEXT(LeadSource)),
 ISBLANK(State)
 ),
NOT(OR(
 ISPICKVAL(Level_of_Interest__c, "4"),
 ISPICKVAL(Level_of_Interest__c, "5")
))
)
)

How can I convert a Lead only if a 4 or 5 is selected from a Custom field?

So if you want the rule to fire if the User attempts to convert the Lead AND all of the other three criteria exist, then it would look like this:

AND(
IsConverted,
ISBLANK(TEXT(Current_Software__c)),
TEXT(Status) = "Marketing Qualified Lead (MQL)",
NOT(ISBLANK(Original_Inbound_Owner__c))
)

I want to create a validation rule so a lead will not convert to an opportunity if certain fields are left blank. I want it to only not convert but the lead page to still save before it is converted if these fields are blank. Is there a way to do this?

Apexからのコンバートでの問題

'Use Apex LeadConvert'を有効にする

リードを変換するときに検証ルールを適用する場合は、「変換されたリードの検証を要求する」を有効にする必要があります。

注: 「変換されたリードの検証が必要」が利用できない場合は、 Salesforceサポートに連絡して、 「 Apexリード変換の使用」権限のアクティブ化をリクエストしてください。

リード変換ボタンでは、既存の連絡先やオプションに関連付けることができません

リードの年齢を求める式

Lead Status / Qualified Age

CONVERTED_DATECONVERTED_DATE-CREATED_DATE

取引先責任者レコードのリードフィールド履歴

リードとして始まったContactの履歴を知ることは常に役に立ちます。ただし、Salesforceのリードが変換されると、その履歴は失われます。
連絡先レコードのリードフィールド履歴

Joined report on lead and contact history

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