- Salesforce Platform Developer I Certification Guide
- Jan Vandevelde Gunther Roskams
- 487字
- 2021-08-20 10:02:24
Testing the workflow
To test our flow, we have a couple of ways to start it (as we learned in Chapter 1, Salesforce Fundamentals). We'll put a flow component on our home page so that we can quickly create new movie records straight from our home page:
- Navigate to our BIM DB app, and, on the home page, click the wheel icon and select Edit Page. In the App Builder, remove all the components from the page, so you have a clean canvas.
- Drag a flow component (from the standard components side menu) into the top section of the page. On the right-hand side, a sidebar will appear in which you can set flow attributes.
- As flow, select our FastCreateMovieWizard flow and choose the One Column layout (our flow screen elements are not ordered properly to use the two-column layout).
- Now that we are adjusting our home page, drag two List View components in the right section of the page. Set the Attributes for the first list view to Object = Movie, Filter = All, Records To Show = 5, and check the Enable Inline Edit checkbox. For the second list view, set Object = Person, Filter = All, Records To Show = 5, and check the Enable Inline Edit checkbox.
- Now, click the Activate button in the top-right corner (assign as org default) and then click Save and then Back. You should now see this as your home page:

- To test your flow, fill in all the fields with movie details (you can find movie details at www.imdb.com) and, as the director's full name, specify a name for which you know there isn't a record in our database yet.
- After you have clicked the Next button, a second screen will appear asking for the director's biography and birthdate. Then, hit Finish. Check out the new movie record you just created and it's director lookup (which should correctly be related to a new Person record you just created).
- On the Related tab of the movie, you should also see a new review. When you open that review in the related Approval History list, you should also see that our Process Builder submitted your review automatically for approval.
- As a second test, fill in new details of another movie, but from the same director. This time, you shouldn't receive a second step asking for director's details (as this director already exists in the database). Your flow should have immediately created the new movie, linked to the same director, and also have a review that is awaiting approval.
I know there were a lot of steps to follow, but what kind of amazing things will you be able to create to make processes easier for your users?
You did a great job and, as a Salesforce Platform Developer, it's super important to understand and leverage all the declarative tools and features provide by Salesforce.
推薦閱讀
- Word/Excel/PPT 2013辦公應(yīng)用從入門到精通
- Android網(wǎng)上班級管理實例:“我的班班”APP平臺建設(shè)
- 辦公軟件實訓(xùn)教程
- Power BI零售數(shù)據(jù)分析實戰(zhàn)
- Word Excel PPT商務(wù)辦公從新手到高手(白金全彩版)
- Oracle CX Cloud Suite
- Office 2007辦公軟件應(yīng)用立體化教程
- 一看即會:新手學(xué)網(wǎng)上開店與經(jīng)營(超值視頻教學(xué)版)
- PPT職場利器:PPT商務(wù)應(yīng)用案例大全
- WPS Office 從入門到精通
- Word-Excel- PPT 2016入門與提高
- 辦公自動化項目教程
- Word/Excel/PPT 2013商務(wù)辦公從新手到高手(全彩版)
- Word-Excel-PPT 2013辦公技巧
- PPT現(xiàn)代商務(wù)辦公從新手到高手:讓你的PPT更有說服力