User Story
As a Salesforce Administrator,
I want to create a screen flow that retrieves and displays all accounts created within a specified date range,
so that I can quickly filter and review accounts based on their creation dates.
Acceptance Criteria:
-
Input Parameters:
- The screen flow must allow the user to input the following:
- Date From: Start date for the range.
- Date To: End date for the range.
-
Account Retrieval:
- The flow must retrieve all accounts with a CreatedDate falling within the specified date range.
- The results must be sorted in ascending order by CreatedDate.
-
Display Results:
- The flow must display the retrieved accounts in a table or list format, showing the following fields:
- Account Name
- Account Owner
- Created Date
- Account Status (Active/Inactive)
-
Error Handling:
- If no accounts are found within the specified date range:
- The flow must notify the user: “No accounts found within the specified date range.”
- The flow should gracefully exit without further actions.
-
User Interaction:
- Provide users with the option to either:
- Export the list of retrieved accounts.
- Return to the input screen to adjust the date range and search again.
-
Success Message:
- After displaying the results, the flow should display a message confirming:
- The total number of accounts retrieved.
- “Search completed successfully.”