---
title: DocConfig Selector – logic by flow
description: "Need your users to select mandatory and optional documents to construct a custom quote. The DocConfig Selector allows to build your own logic to decide which DocConfigs are mandatory and optional. Variables: - input: Apex-Defined -> PDFB_DocConfigByFlowInput, Available for input…"
url: "https://pdfbutler.com/academy/pdf-butler-academy/pdf-butler-lightning-components/docconfig-selector-logic-by-flow/"
updated: "2024-08-16"
category: PDF BUTLER LIGHTNING COMPONENTS
---

# DocConfig Selector – logic by flow

Need your users to select mandatory and optional documents to construct a custom quote. The DocConfig Selector allows to build your own logic to decide which DocConfigs are mandatory and optional.

Variables:

- input: Apex-Defined -> PDFB_DocConfigByFlowInput, Available for input
- alternative: Text, Available for output
- locale: Text, Available for output
- docConfigs: Text -> Allow multiple values (collection), Available for output
- optionalDocConfigs: Text -> Allow multiple values (collection), Available for output
- packs: Text -> Allow multiple values (collection), Available for output

 

This is an add-on component. Request the latest version via our Customer Success team.

[DocConfig Selector - Logic By Flow](https://www.youtube.com/embed/PQ408PPOCYQ?si=iJIE10wEfzWhWkA1)
