--- title: Add parameters to be defined in the formula description: Add parameters to be defined in the formula to calculate agent count per hour in a day. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/employee-service-management/workforce-optimization-for-hr/add-formula-parameters-wfo-hr.html release: australia product: Workforce Optimization for HR classification: workforce-optimization-for-hr topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Configure data collection, Configure demand forecast, Configure, Workforce Optimization overview, HR Service Delivery, Employee Service Management] --- # Add parameters to be defined in the formula Add parameters to be defined in the formula to calculate agent count per hour in a day. ## Before you begin Role required: admin ## Procedure 1. Navigate to **All** > **Workforce Optimization for HR** > **Demand Forecast** > **Formula Parameters**. 2. In the **Name** field, enter a name for the parameter. 3. Do one of the following: - If you need to add a value to be calculated for the formula, in the **Value** field, enter a value. - If you want to use the performance analytics score card API or a custom API, select **Advanced**, and add a script. The Average Case Work Time and Average Chat Work Time forecast parameters provided by default are examples of how you can use scripts to add the parameters. For a list of parameters provided by default, see [Components installed with Workforce Optimization for HR](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/employee-service-management/workforce-optimization-for-hr/wfo-hr-reference.md). 4. Click **Submit**. **Parent Topic:**[Configure data collection for Demand Forecast](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/employee-service-management/workforce-optimization-for-hr/configure-data-collection-df-wfo-hr.md)