Flows Settings

2024/03/07

This chapter describes how to set up the talk content to be stored from the Talk Log to Task as well.

These settings are not required.

Please configure the settings if necessary according to your usage environment.

Goal: The contents of the talk stored in the Talk Log are stored in the Task.

Flows

1.  Click the gear icon at the top right of the screen - [Setup] - [Flows].
    * Alternatively, search for “Object Manager" with a quick search

2.  Click "New Flow" button

3.  Select "Record-Triggered Flow" in "New Flow" and click "Create" button.

4.  A new window "Configure Start" will be launched,
     If the window is closed, you can open it by clicking the "Edit" link.

画像26.png

5.  Select and enter the following
   

    [Object] – [Talk Log]
    [Trigger the Flow When :] – [A record is created]
    [
Condition Requirements] – [None]

スクリーンショット 2024-03-05 18.24.27.png

6.  Click Add Element (+)

7.  Click on "Decision"

スクリーンショット 2024-03-05 18.48.35.png

8.  Enter the following information in "New Decision".


     [Label] – [Whether to assign to WhoId or not]
     [API Name] – [Decision]

スクリーンショット 2024-03-05 18.27.03.png

9.  Select and enter the following information in "Outcomes".

    [Label] – [WhoId]
    [Outcome API Name] – [true]
    [Condition Requirements to Execute Outcome] – [Any Condition Is Met (OR)]
    [
Resource] – [{!$Record.palw__RecordId__c}]
    [
Operator] – [Starts With]
    [Value] – [00Q]

スクリーンショット 2024-03-05 18.29.41.png

10.  Click on "Add Condition", select and enter the following

    [Resource] – [{!$Record.palw__RecordId__c}]
    [
Operator] – [Starts With]
    [Value] – [003]

スクリーンショット 2024-03-05 18.30.16.png

11.  Click on "Default Outcome", enter the following

     [Label] – [WhatId]

スクリーンショット 2024-03-05 18.31.05.png

12.  Click on the "New Resource" button in the upper left corner of the screen.

スクリーンショット 2024-03-05 18.31.37.png

スクリーンショット 2024-03-05 18.31.53.png

13.  Select and enter the following information in "New Resource".
    

     [Resource Type] – [Formula]
     [
API Name] – [startDate]
     [Data Type] – [Date]
     [
Formula] – [{!$Record.palw__StartDate__c}]

スクリーンショット 2024-03-05 18.33.02.png

14.  Click on the [+] button in the "WhoId" branch and Click on "Create Records".

スクリーンショット 2024-03-05 19.03.35.png

15.  Select and enter the following information in "New Create Records".

     [Label] – [WhoId]
     [
API Name] – [WhoId]
     [How Many Records to Create] – [One]
     [How to Set the Record Fields] – [
Use separate resources, and literal values]
     [Object] – [Task]

スクリーンショット 2024-03-05 18.35.16.png

16.  Select and enter the following information in "Set Field Values for the Task".

●[Field] – [ActivityDate]
  [
Value] – [{!startDate}]

●[Field] – [Description]
  [
Value] – [{!$Record.palw__MessageSummary__c}]

●[Field] – [OwnerId]
  [
Value] – [{!$Record.OwnerId}]

●[Field] – [Status]
  [
Value] – [Completed]

●[Field] – [Subject]
  [
Value] – [LINE WORKSログ]

●[Field] – [WhoId]
  [
Value] – [{!$Record.palw__RecordId__c}]

スクリーンショット 2024-03-05 18.43.53.png

17.  Click on the [+] button in the "WhatId" branch and Click on "Create Records".

スクリーンショット 2024-03-05 19.06.43.png

18.  Select and enter the following information in "New Create Records".
   

     [Label] – [WhatId]
     [
API Name] – [WhatId]
     [How Many Records to Create] – [One]
     [How to Set the Record Fields] – [
Use separate resources, and literal values]
     [Object] – [Task]

スクリーンショット 2024-03-05 18.45.44.png

19.  Select and enter the following information in "Set Field Values for the Task".

●[Field] – [ActivityDate]
  [
Value] – [{!startDate}]

●[Field] – [Description]
  [
Value] – [{!$Record.palw__MessageSummary__c}]

●[Field] – [OwnerId]
  [
Value] – [{!$Record.OwnerId}]

●[Field] – [Status]
  [
Value] – [Completed]

●[Field] – [Subject]
  [
Value] – [LINE WORKSログ]

●[Field] – [WhatId]
  [
Value] – [{!$Record.palw__RecordId__c}]

スクリーンショット 2024-03-05 18.44.14.png

20.  Click "Save" button (the following is optional)

      [Flow Label] – [Copy Talk Log]
      [Flow API Name] – [CopyTalkLog]

21.  Click "Activate" button

After flow execution

Talk Log record from which it was copied

図88.png

Task record to copy to

図89.png

前へTalk Log Display Settings

この記事は役に立ちましたか?

0人が役立ったと言っています

ご協力ありがとうございます。

最近見た記事