0
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?

Quick Start: Explore the Automation Components Sample App

Last updated at Posted at 2024-09-22

Deploy Automation Components

9つのパッケージをインストールしました。

Get to Know Automation Components

以下の指示はさっぱり理解できませんね。

In the Browse Demos section, はどこだろう?

image.png

image.png

仕方ないので、検証ボタンをクリックすると何と合格?
内容は全く理解できませんでした。意味なし

Use Automation Components in Flow Builder

何もしないで、検証ボタンをクリック。ここはチェックしているみたい

We couldn't find an active flow labeled 'Lock Opportunity Record'.

image.png

You encountered some errors when trying to save this record
We can't save this record because the “Lock Opportunity Record” process failed. Give your Salesforce admin these details. An Apex error occurred: System.UnexpectedException: Apex approval lock/unlock api preference not enabled. Error ID: 1418448175-8312238 (-1041290331): Apex approval lock/unlock api preference not enabled. Error ID: 1418448175-8312238 (-1041290331)

以下のエラーです。

We couldn't find the opportunity record named 'University of AZ Installations' in the 'Closed Lost' stage.

仕方ないので、まずはフローを非有効化してフェーズを変えましょう

We couldn't find an active flow labeled 'Lock Opportunity Record'.

アクティブにするか...

We could not validate if the opportunity record named 'University of AZ Installations' in the 'Closed Lost' stage is locked. Make sure the values are correct according to the requirements.

「Closed Lost」ステージの「University of AZ Installations」という名前の商談レコードがロックされているかどうかを検証できませんでした。値が要件に従って正しいことを確認してください。

困ったね

デバックすると

An Apex error occurred: System.UnexpectedException: Apex approval lock/unlock api preference not enabled.

ログを見ると

System.UnexpectedException: Apex approval lock/unlock api preference not enabled.

こんな設定あった?

Setup -> Process Automation -> Process Automation Settings

and set checkbox Enable record locking and unlocking in Apex as true

image.png

合格できました...

0
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
0
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?