特殊时期,大家一定要保重身体。增强自身免疫力,一切都会过去,一起加油!!!

プロセスビルダー各機能シェアーStart a Process(010)

Salesforce zchao 919℃ 0评论

新規Process Builderの際に、It’s invoked  by another processを選択できます。

その意味は、このprocessはほかのprocessから呼び出すことができるということです。

業務は今まで接触少ないので。一般的シーンで紹介したいと思います。

 

二つのprocessを作成します。

パターン:

一つ目の:

Opportunityに関連するAccount IDが空でない場合、かつOpportunityのStage項目がClosed Lostの場合がございましたら、

Start a Process⇒Opportunityに関連するAccountをパラメータとして渡します。

二つ目の:

Accountの取引フラグ(カスタム項目:Checkbox)がTrueになっていることです。

 

まず、呼び出されるProcessから、

1、

Choose Object

Select an object to associate with the process*:Account

2、

Criteria Name:取引フラグ

Criteria for Executing Actions:No criteria—just execute the actions!

 

3、

Update Records

Action Name:取引フラグ=TRUE

Record:[Account]

Criteria for Updating Records:No criteria—just update the records!

Set new field values for the records you update

取引フラグ:True

これから、呼び出すProcessです。

 

1、

Object:Opportunity

Start the process:when a record is created or edited

2、

Criteria Name:Stage = Closed Lost

Criteria for Executing Actions:Conditions are met

Set Conditions

[Opportunity].Account.Id   :   Is null  :   False

[Opportunity].StageName   :   Equals  :  Closed Lost

Conditions:All of the conditions are met (AND)

3、

Start a Process

Action Name:Invoke process

Process:Opportunity更新するAccountフラグがTRUE

Set Process Variables

SObject:[Opportunity].Account

 

実際の画面を開いてます。

Opportunity:Dickenson Mobile Generators

関連するAccount Name:Dickenson plc

 

Account Name:Dickenson plc

取引フラグ:False

 

Opportunity:Dickenson Mobile Generatorsを編集します。

Saveを押下します。

Account Name:Dickenson plc画面に移動します。

取引フラグ:Trueの確認します。

 

これで完了致しました。

 

以上となります。

ご参考になれば幸いです。

 

转载请注明:zchao博客之家 » プロセスビルダー各機能シェアーStart a Process(010)

喜欢 (2)or分享 (0)

您必须 登录 才能发表评论!