# How to Set Run Conditions - Use-Case Scenario

This use-case scenario describes how you can create run conditions.

For a task related to this scenario, see "How to Set Run Conditions".

This scenario includes the following steps:

- Background
- Add run condition
- Test run condition

1. Background

   Suppose you work for a bank. Create a flow called ProcessLoans, which contains all the transactions necessary for the business process of creating and approving loans: CreateLoan, SearchLoan, and ApproveLoan.

   In the ProcessLoans flow, depending on the loan being processed, some screens may or may not open. For example, if the requested amount of the loan is above a certain amount, such as $500,000, an additional screen opens for approval from a higher-level bank manager. When requesting a loan for less than $500,000, the extra approval screen does not open.

2. Add run condition

   1. In the CreateLoan component that enters the loan amount, promote the parameter containing the amount, Amount, to test parameter. <Marta> wants to reword this YYYSP1
   2. Create a run condition for the CreateLoan component that checks the status of the parameter. If the Amount value is greater than $500,000, the flow runs the component for the extra approval screen. Otherwise, it skips to the next component and continues.
3. Test run condition

   When running the test, assign the parameter, Amount, values above and below $500,000, and check that the relevant screens open.