---
schema_version: "1"
id: 2990bb954e1f094c1225af9a08715541626dd0de9eeeb5245ef745ce0dca6537
title: "Sub-Pipeline : GetExecSettings"
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/commerce-cloud/b2c-commerce/guides/inventory/b2c-sub-pipeline-get-exec-settings.md
canonical_url: https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/b2c-sub-pipeline-get-exec-settings.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: db4a8b5f3eb031a7a99809d2769d46cb33e80c48d8f5ceaff04501e35416c170
products:
  - Composable Storefront
  - Salesforce APIs
---
# Sub-Pipeline : GetExecSettings

Review the GetExecSettings sub-pipeline when scheduling inventory imports.

![GetExecSettings sub-pipeline diagram showing script execution timeout preference retrieval steps](https://developer.salesforce.com/media/b2c-commerce/b2c_inventory_inventory_get_exec_settings.gif)

1.  Pipelet: Assign (bc_api) GetScriptExecTimeoutPreference
    - `ScriptExecTime = dw.system.Site.getCurrent().getCustomPreferenceValue​('ImpexScriptExecutionTimeout')`
2.  Pipelet: Assign (bc_api) SetScriptExecTimeout
    - `ScriptExecTimeout = !empty(ScriptExecTimeout) ? ScriptExecTimeout : '10'`
3.  Continue after calling node.
