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?

Screen Flows > Improve the Look and Feel of Your Screens

Last updated at Posted at 2023-05-06

In the NextStepsWarning component, we can’t find the expected text: 'You didn't select any Next Steps. Your manager may visit you to confirm your plan of action.'

image.png

I brute forced this and got it to work: I deleted the existing NextStepsWarning component and built it back up, step-by-step. Between each step I hit the green button so trailhead threw an error msg.

In other words, I added a Display Text component with NextStepsWarning API name (I didn't even put it at the right place on the screen). Trailhead errored that the position was wrong. I fixed this and re-ran the test. Trailhead error msg #2 that the text was missing (the error that stumped us). I fixed that by copy pasting it in. Trailhead error msg #3 was the display conditions weren't met (the ah-ha moment). Rinse and repeat. The last step was to activate the new version.

I don't know what I did that "fixed" the issue, but that's why I call it the brute force way.

私は力ずくでこれを機能させました。既存の NextStepsWarning コンポーネントを削除し、段階的に元に戻しました。各ステップの間に緑色のボタンを押すと、trailhead がエラー メッセージをスローしました。

つまり、NextStepsWarning API 名で Display Text コンポーネントを追加しました (画面の適切な場所にさえ配置していませんでした)。Trailhead は、位置が間違っているとエラーを出しました。これを修正して、テストを再実行しました。Trailhead のエラー メッセージ #2​​ は、テキストが欠落していることを示しています (当方を困惑させたエラーです)。それをコピーして貼り付けることで修正しました。Trailhead エラー メッセージ #3 は、表示条件が満たされていないことでした (ああ、瞬間)。すすいで繰り返します。最後のステップは、新しいバージョンを有効にすることでした。

問題を「修正」したために何をしたかはわかりませんが、それが私がそれを力ずくの方法と呼んでいる理由です。

I had this issue as well. I had to deleted the component, escape the screen, entered again and it worked. I think I was using a Text field and not a Display Text field.

In the screenAccount component, we can’t find the object API name set to 'Opportunity'.

In the screenAccount component, we can’t find a setting that requires the field on the screen.

I think the input is wrong

Disabled --> Required

  • API Name: screenAccount
  • Field API Name: AccountId
  • Label: Account
  • Object API Name: Opportunity
  • Required: $GlobalConstant.True

image.png

In the 'Create Task' action, we can’t find the 'OwnerId' field set to the owner of the Opportunity that triggered the flow.

I recreated the 2 task having the OwnerID in another playground and was able to clear the challenges.

In the ‘Opp Fields’ element, we can’t find a Picklist component named ‘New_or_Existing_Customer’

Creating a new playground and doing the flow from scratch sorted this issue for me.

In the ‘Opp Fields’ element, we can’t find a Picklist component named ‘New_or_Existing_Customer’

新しいプレイグランドで解決したみたいですが...
私は設定が間違っていると思う。

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?