提供: Bright Pattern Documentation
移動先: 案内検索
(Created page with "これらの手順は、Salesforce ClassicビューとSalesforce Lightningビューの両方に適用できます。")
(Created page with "=== ご注意 === アクティビティ履歴は、エージェントがコール(または後処理作業)を終了する際にエージェントデスクトップで開...")
 
(24 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
これらの手順は、Salesforce ClassicビューとSalesforce Lightningビューの両方に適用できます。
 
これらの手順は、Salesforce ClassicビューとSalesforce Lightningビューの両方に適用できます。
  
=== Step 1: Create custom fields for an object ===
+
=== ステップ1: オブジェクトのカスタムフィールドを作成します。===
  
  
==== In Salesforce Classic ====
+
==== Salesforce Classicの場合 ====
# In Salesforce.com, click '''Setup'''.<br><br>
+
# Salesforce.comで'''セットアップ'''をクリックします。<br><br>
# In the ''Build'' section, click '''Customize > Activities'''. Make sure you click just the “Activities” link--don’t click the drop-down beneath “Activities”.<br><br>[[File:SFDC-Build-Activities-53.PNG|thumb|800px|center]]<br><br>
+
# ''作成'' セクションで、 '''カスタマイズ > アクティビティ'''をクリックします。 “アクティビティ”の下にあるドロップダウンメニューをクリックせず、必ず“アクティビティ”リンク のみをクリックします。<br><br>[[File:SFDC-Build-Activities-53.PNG|thumb|800px|center]]<br><br>
# On the ''Activities'' page, click '''Add a custom field to activities'''.<br><br>
+
# ''アクティビティ''ページで、 '''アクティビティにカスタムフィールドを追加する'''をクリックします。<br><br>
# On the ''Activity Fields'' page, you can see all the custom fields you already have. Click '''New''' to add a new one.<br><br>[[File:SFDC-Activity-Fields-b-53.png|thumb|800px|center]]<br><br>  
+
#''アクティビティフィールド '' ページで、既存のカスタムフィールドを確認できます。'''新規'''をクリックし、新しいフィールドを追加します。 <br><br>[[File:SFDC-Activity-Fields-b-53.png|thumb|800px|center]]<br><br>  
  
==== In Salesforce Lightning ====
+
==== Salesforce Lightningの場合 ====
# Navigate to '''Setup'''.<br><br>
+
# '''セットアップ'''へ進みます。<br><br>
# Select the '''Object Manager''' tab at the top of the screen, then click the '''Activity''' label.<br><br>[[File:Create-Activity-Object-Lightning-2-54.PNG|450px|thumb|center]]<br><br>
+
# 画面の上部にある'''オブジェクト管理'''タブを選択し、'''アクティビティ'''ラベルをクリックします。 <br><br>[[File:Create-Activity-Object-Lightning-2-54.PNG|450px|thumb|center]]<br><br>
# From ''Activity'', click '''Fields & Relationships''', and then select the '''New''' button.<br><br>[[File:Create-Activity-Object-Lightning-3-54.PNG|800px|thumb|center]]<br><br>
+
# ''アクティビティ''で、 '''フィールド & 関係'''をクリックし、 '''新規''' ボタンをクリックします。<br><br>[[File:Create-Activity-Object-Lightning-3-54.PNG|800px|thumb|center]]<br><br>
# Finally, begin configuring your ''New Custom Field''.<br><br>
+
# 最後に、''新しいカスタムフィールド''の設定を開始します。<br><br>
  
==== New Custom Field Configuration: Classic and Lightning ====
+
==== 新しいカスタムフィールドの設定: ClassicとLightning ====
# On the ''New Custom Field'' page, select the data type of the custom field and then click '''Next'''. For this example, we select data type '''Text'''.<br><br>[[File:SFDC-Data-Type-53.PNG|thumb|800px|center]]<br><br>
+
# ''新しいカスタムフィールド''ページでは、カスタムフィールドのデータタイプを選択し、'''次へ'''をクリックします。例えば、ここで '''テキスト'''というデータタイプを選択します。<br><br>[[File:SFDC-Data-Type-53.PNG|thumb|800px|center]]<br><br>
# On the ''New Custom Field'' page, specify: <br><br>
+
# ''新しいカスタムフィールド'' ページでは、以下を指定します: <br><br>
## '''Field Label''' - The label for the field (e.g., “Priority”)<br><br>
+
## '''フィールドラベル''' :フィールド専用のラベルです (例:“優先度”)<br><br>
## '''Length''' - The number of allowable characters (e.g., “20”)<br><br>
+
## '''長さ''':入力できる文字数  (例:“20”)<br><br>
## '''Field Name''' - The name of the field in lowercase with underscores to separate words (e.g., “priority_status”; will be shown on the Activity fields page)<br><br>  
+
## '''フィールド名''':単語区切りに使うアンダースコア付きの小文字のフィールド名  (例: “priority_status”。これは、アクティビティフィールドページで表示されます。)<br><br>  
## '''The other settings are optional.<br><br>[[File:SFDC-Custom-Field-53.PNG|thumb|800px|center]]<br><br>
+
## '''他の設定はオプションです。<br><br>[[File:SFDC-Custom-Field-53.PNG|thumb|800px|center]]<br><br>
# Click '''Next''' and you will be asked to establish field-level security. This is optional. Click '''Next''' again.<br><br>
+
# '''次へ'''をクリックすると、フィールドレベルのセキュリティ設定が求められます。それもオプションです。'''次へ''' を再度クリックします。<br><br>
# You will be asked to add the custom field to page layouts. Select the layouts where you want the new custom field to appear. Later, you can go to ''Customize > Activities > Task Page Layouts'' to modify page layouts. Click '''Next''' again and '''Save'''.<br><br>[[File:SFDC-Add-Page-Layouts-53.PNG|thumb|800px|center]]<br><br>
+
# カスタムフィールドをページレイアウトに追加するように求められます。新しいカスタムフィールドを表示するレイアウトを選択します。その後、''カスタマイズ > アクティビティ > タスクページレイアウト''へ移動してページレイアウトを編集できます。'''次へ'''を再度クリックし、 '''保存'''をクリックします。<br><br>[[File:SFDC-Add-Page-Layouts-53.PNG|thumb|800px|center]]<br><br>
# You will see that the custom field has been added to the ''Activity Custom Fields'' page. The '''API Name''' is the actual custom field name that you will put in the Attached Data scenario block (see steps below). Copy the '''API Name''' of your custom field.<br><br>[[File:SFDC-Activity-Custom-List-53.PNG|thumb|800px|center]]<br><br>
+
# カスタムフィールドが ''アクティビティカスタムフィールド'' ページに追加されます。 '''API名'''は、添付データシナリオブロック に実際に入るカスタムフィールド名です (以下の手順を参照)。作成されたカスタムフィールドの '''API名''' をコピーします。<br><br>[[File:SFDC-Activity-Custom-List-53.PNG|thumb|800px|center]]<br><br>
  
Now that you have a custom activity field, you are able to update that field using Bright Pattern Contact Center. Activity Field data may be updated via the [[scenario-builder-reference-guide/AttachedData|Attached Data]] block in a scenario.
+
作成されたカスタムアクティビティフィールドは、Bright Patternコンタクトセンターを使って 更新できます。アクティビティフィールドのデータ更新は、[[scenario-builder-reference-guide/AttachedData|添付データ]] シナリオブロックを介してできます。
  
=== Step 2: Update custom field data using Attached Data scenario block ===
+
=== ステップ2: 添付データシナリオブロックを使ってカスタムフィールドを更新します。 ===
Once you have a custom field in Salesforce, you can use the Attached Data block to update it.
+
Salesforceで作成されたカスタムフィールドは、添付データブロックを使って更新できます。
  
# In the Contact Center Administrator application, locate your Salesforce scenario and click '''Edit''' to open it in the Scenario Builder application.<br /><br />
+
# コンタクトセンター管理者アプリケーションで Salesforceシナリオを探し、それをシナリオビルダーアプリケーションで開くには、 '''編集'' をクリックします。<br /><br />
# For a voice scenario, add the Attached Data block at any point before the Connect Call block. For a chat scenario, add the Attached Data block at any point before the Connect Chat block. If you don’t know where to place it, put it at the very top of the scenario.<br /><br />[[File:SFDC-Attached-Data-add-53.PNG|thumb|800px|center]]<br /><br />
+
# 音声シナリオの場合、添付データブロックを、コール接続ブロックの前(任意の場所)に追加します。チャットシナリオの場合、添付データブロックを、チャット接続ブロックの前(任意の場所)に追加します。どこに配置すればいいかわからない場合、シナリオの一番上に配置します。 <br /><br />[[File:SFDC-Attached-Data-add-53.PNG|thumb|800px|center]]<br /><br />
# Update properties and click '''add a data item''':<br /><br />
+
# プロパティを更新し、'''データ項目の追加'''をクリックします:<br /><br />
## '''Title text''' - The name of the block (e.g., “Update SFDC Activity”)<br /><br />
+
## '''タイトルテキスト''' : ブロック名です (例: “SFDCアクティビティの更新 ”)<br /><br />
## '''Name''' - The “API Name” of your custom field that you created in Salesforce (e.g., "account_test__c"). Note that upon saving a new custom field, SFDC automatically adds suffix “__c” to it. In order to supply interaction data to this field, use the field name, including suffix “__c” in the [[scenario-builder-reference-guide/AttachedData|Attached Data]] scenario block. For example, to populate Custom Activity field '''account_test''', it is required to have the scenario block Attached Data specify key '''account_test__c'''.<br /><br />
+
## '''名前''': Salesforceで作成されたカスタムフィールドの“API名” (例: "account_test__c")です。新しいカスタムフィールドを保存すると、 SFDC は自動的にその名前に“__c” を追加します。このフィールドに対話データを提供するには、[[scenario-builder-reference-guide/AttachedData|添付データ]]シナリオブロックで“__c”の付いたフィールド名を使います。 例えば、カスタムアクティビティフィールド'''account_test'''に入力するには、添付データシナリオブロックが'''account_test__c'''というキーを指定しなければなりません。<br /><br />
## '''Value''' - The value (string or variable) of the field (e.g., “12345” or "$(varname.property)").<br /><br />[[File:Attached-Data-b-53.PNG|thumb|800px|center]]<br /><br />
+
## '''''' :フィールドの値 (文字列または変数) です (例: “12345” または "$(varname.property)")<br /><br />[[File:Attached-Data-b-53.PNG|thumb|800px|center]]<br /><br />
# Note that multiple data items may be added. Save the scenario.<br /><br />
+
# 複数のデータ項目が追加できます。シナリオを保存します。<br /><br />
You can test whether it works by logging a call and viewing the case in Salesforce. You should see the custom field with the specified value.
+
作動の確認は、コールを記録してそのケースをSalesforceで表示させることによって行われます。指定した値を含んだカスタムフィールドが表示されます。
  
=== Step 3: Update other activity field data using Attached Data (optional) ===
+
=== ステップ 3: 添付データを使って他のアクティビティフィールドデータを更新します(オプション) ===
To populate regular (not custom) ''Activity Fields'' with any data from the scenario, simply follow step 2 instructions with one exception: use the field name without the “__c” suffix.
+
一般の (カスタムでない) ''アクティビティフィールド''にシナリオからのデータを入力するには、ステップ2の指示に従ってください。ただし、フィールド名に “__c” を入れる必要はありません。
  
For example: "account_test", not "account_test__c".
+
: "account_test__c"ではなく、"account_test"です。
  
=== Predefined Fields ===
+
=== 定義済みフィールド ===
The following is a list of predefined fields (''Label/Field Name = Parameter'') in SFDC:
+
以下は、SFDCの定義済みフィールド(''ラベル/フィールド名 = パラメータ'') のリストです:
  
* '''Due Date/ActivityDate''' - Interaction start time
+
* '''期日/ActivityDate''':対話の開始日
  
* '''Call Object Identifier/CallObject''' - [[reporting-reference-guide/GlobalInteractionIdentifier|Global interaction identifier]]
+
* '''コールオブジェクトの識別子/CallObject''' - [[reporting-reference-guide/GlobalInteractionIdentifier|グローバル対話の識別子]]
  
* '''Call Type/CallType''' - Interaction type: ''Inbound'', ''Outbound'', or ''Internal''
+
* '''コールタイプ/CallType''':対話のタイプ: ''受信'', ''発信'', ''内部''
  
* '''Call Duration/CallDurationInSeconds''' - Interaction duration (talk + hold time) in seconds
+
* '''通話継続時間/CallDurationInSeconds''' - 秒で表す対話の継続時間 (通話 + 保留時間)
  
* '''Call Result/CallDisposition''' - Interaction [[contact-center-administrator-guide/DispositionsTab|disposition]], if available
+
* '''コール結果/CallDisposition''' :対話の[[contact-center-administrator-guide/DispositionsTab|結果]](ある場合)。
  
* '''Comments/Description''' - Interaction [[agent-guide/HowtoEnterDispositionsandNotes|notes]] entered by the agent, if any
+
* '''コメント/Description''' :エージェントが入力する対話の [[agent-guide/HowtoEnterDispositionsandNotes|コメント]](ある場合)。
  
* '''Subject/Subject''' - [[contact-center-administrator-guide/ServicesandCampaignsOverview|Service]] associated with the interaction, in format: ''SFDC object type: service name''
+
* '''題名/Subject''' :対話に関連する [[contact-center-administrator-guide/ServicesandCampaignsOverview|サービス]]です。以下のフォーマットで表示されます: ''SFDCオブジェクトタイプ: サービス名''
  
* '''Status/Status''' - Status: ''Completed'', ''Delivery Pending'', ''Not Started'', etc.
+
* '''状態/Status''':状態: ''完了'', ''送信保留'', ''未開始''など。
  
* '''SPRecordingOrTranscriptURL__c''' (note that this is a custom field) - Interaction recording URL; clicking this URL will open the [[reporting-reference-guide/InteractionRecordsSearch|Interaction Records Search Results]] page of the Contact Center Administrator application with the record that has the recording/transcript of this interaction
+
* '''SPRecordingOrTranscriptURL__c''' (カスタムフィールドです) : 対話レコードURLです。このURLをクリックすると、コンタクトセンター管理者アプリケーションの [[reporting-reference-guide/InteractionRecordsSearch|対話レコード検索結果]] ページが開き、当該の対話のレコード/トランスクリうとを含む記録が表示されます。
  
  
=== Notes ===
+
=== ご注意 ===
Activity history is added to the last record that the agent had open on the Agent Desktop while finishing the call (or the related after-call work).
+
アクティビティ履歴は、エージェントがコール(または後処理作業)を終了する際にエージェントデスクトップで開いていた最後のレコードに追加されます。

Latest revision as of 14:39, 20 October 2019

• English
• 5.19 • 5.3 • 5.8

アクティビティオブジェクトのカスタマイズ方法

Salesforce.com (SFDC) のアクティビティ履歴とは、関連付けられたタスクのリスト、またはオブジェクトで実行されたアクティビティの履歴です。例えば、コンタクトレコードのアクティビティ履歴セクションには、送信メールや発信コールなど、営業担当者が主に行ったアクションのリストが含まれる場合があります。事前定義されたアクティビティ履歴のオブジェクトに加えて、これらのフィールドにオブジェクトの追跡を行うためにカスタマイズしたアクティビティを追加できます。

手順

次の手順は、SFDCでカスタムアクティビティフィールドの作成、Bright Patternの添付データシナリオブロックを使ってフィールドの更新、添付データを使って通常のフィールドの更新方法に関連します。

これらの手順は、Salesforce ClassicビューとSalesforce Lightningビューの両方に適用できます。

ステップ1: オブジェクトのカスタムフィールドを作成します。

Salesforce Classicの場合

  1. Salesforce.comでセットアップをクリックします。

  2. 作成 セクションで、 カスタマイズ > アクティビティをクリックします。 “アクティビティ”の下にあるドロップダウンメニューをクリックせず、必ず“アクティビティ”リンク のみをクリックします。

    SFDC-Build-Activities-53.PNG


  3. アクティビティページで、 アクティビティにカスタムフィールドを追加するをクリックします。

  4. アクティビティフィールド ページで、既存のカスタムフィールドを確認できます。新規をクリックし、新しいフィールドを追加します。

    SFDC-Activity-Fields-b-53.png


Salesforce Lightningの場合

  1. セットアップへ進みます。

  2. 画面の上部にあるオブジェクト管理タブを選択し、アクティビティラベルをクリックします。

    Create-Activity-Object-Lightning-2-54.PNG


  3. アクティビティで、 フィールド & 関係をクリックし、 新規 ボタンをクリックします。

    Create-Activity-Object-Lightning-3-54.PNG


  4. 最後に、新しいカスタムフィールドの設定を開始します。

新しいカスタムフィールドの設定: ClassicとLightning

  1. 新しいカスタムフィールドページでは、カスタムフィールドのデータタイプを選択し、次へをクリックします。例えば、ここで テキストというデータタイプを選択します。

    SFDC-Data-Type-53.PNG


  2. 新しいカスタムフィールド ページでは、以下を指定します:

    1. フィールドラベル :フィールド専用のラベルです (例:“優先度”)

    2. 長さ:入力できる文字数 (例:“20”)

    3. フィールド名:単語区切りに使うアンダースコア付きの小文字のフィールド名 (例: “priority_status”。これは、アクティビティフィールドページで表示されます。)

    4. 他の設定はオプションです。

      SFDC-Custom-Field-53.PNG


  3. 次へをクリックすると、フィールドレベルのセキュリティ設定が求められます。それもオプションです。次へ を再度クリックします。

  4. カスタムフィールドをページレイアウトに追加するように求められます。新しいカスタムフィールドを表示するレイアウトを選択します。その後、カスタマイズ > アクティビティ > タスクページレイアウトへ移動してページレイアウトを編集できます。次へを再度クリックし、 保存をクリックします。

    SFDC-Add-Page-Layouts-53.PNG


  5. カスタムフィールドが アクティビティカスタムフィールド ページに追加されます。 API名は、添付データシナリオブロック に実際に入るカスタムフィールド名です (以下の手順を参照)。作成されたカスタムフィールドの API名 をコピーします。

    SFDC-Activity-Custom-List-53.PNG


作成されたカスタムアクティビティフィールドは、Bright Patternコンタクトセンターを使って 更新できます。アクティビティフィールドのデータ更新は、添付データ シナリオブロックを介してできます。

ステップ2: 添付データシナリオブロックを使ってカスタムフィールドを更新します。

Salesforceで作成されたカスタムフィールドは、添付データブロックを使って更新できます。

  1. コンタクトセンター管理者アプリケーションで Salesforceシナリオを探し、それをシナリオビルダーアプリケーションで開くには、 '編集 をクリックします。

  2. 音声シナリオの場合、添付データブロックを、コール接続ブロックの前(任意の場所)に追加します。チャットシナリオの場合、添付データブロックを、チャット接続ブロックの前(任意の場所)に追加します。どこに配置すればいいかわからない場合、シナリオの一番上に配置します。

    SFDC-Attached-Data-add-53.PNG


  3. プロパティを更新し、データ項目の追加をクリックします:

    1. タイトルテキスト : ブロック名です (例: “SFDCアクティビティの更新 ”)

    2. 名前: Salesforceで作成されたカスタムフィールドの“API名” (例: "account_test__c")です。新しいカスタムフィールドを保存すると、 SFDC は自動的にその名前に“__c” を追加します。このフィールドに対話データを提供するには、添付データシナリオブロックで“__c”の付いたフィールド名を使います。 例えば、カスタムアクティビティフィールドaccount_testに入力するには、添付データシナリオブロックがaccount_test__cというキーを指定しなければなりません。

    3. :フィールドの値 (文字列または変数) です (例: “12345” または "$(varname.property)")。

      Attached-Data-b-53.PNG


  4. 複数のデータ項目が追加できます。シナリオを保存します。

作動の確認は、コールを記録してそのケースをSalesforceで表示させることによって行われます。指定した値を含んだカスタムフィールドが表示されます。

ステップ 3: 添付データを使って他のアクティビティフィールドデータを更新します(オプション)

一般の (カスタムでない) アクティビティフィールドにシナリオからのデータを入力するには、ステップ2の指示に従ってください。ただし、フィールド名に “__c” を入れる必要はありません。

例: "account_test__c"ではなく、"account_test"です。

定義済みフィールド

以下は、SFDCの定義済みフィールド(ラベル/フィールド名 = パラメータ) のリストです:

  • 期日/ActivityDate:対話の開始日
  • コールタイプ/CallType:対話のタイプ: 受信, 発信, 内部
  • 通話継続時間/CallDurationInSeconds - 秒で表す対話の継続時間 (通話 + 保留時間) 。
  • コール結果/CallDisposition :対話の結果(ある場合)。
  • コメント/Description :エージェントが入力する対話の コメント(ある場合)。
  • 題名/Subject :対話に関連する サービスです。以下のフォーマットで表示されます: SFDCオブジェクトタイプ: サービス名
  • 状態/Status:状態: 完了, 送信保留, 未開始など。
  • SPRecordingOrTranscriptURL__c (カスタムフィールドです) : 対話レコードURLです。このURLをクリックすると、コンタクトセンター管理者アプリケーションの 対話レコード検索結果 ページが開き、当該の対話のレコード/トランスクリうとを含む記録が表示されます。


ご注意

アクティビティ履歴は、エージェントがコール(または後処理作業)を終了する際にエージェントデスクトップで開いていた最後のレコードに追加されます。

< 前へ | 次へ >