I have a Business Process Flow based on a table with a lookup column and in the BPF step I would like restrict the list of entries available on the lookup field, but it seems that is not possible customize the BPF forms, someone know if there is any alternative?
Business Process Flow (BPF) lookup fields cannot be filtered directly. BPF forms do not support custom filters or scripts.
1. do not use lookup in BPF step, remove that field from BPF
2. add same lookup field on main form of the table
3. apply custom filter to that field using JavaScript
formContext.getControl("lookupfieldname").addCustomFilter("filterXml", "entityname");
4. hide BPF field and show only filtered lookup on form
5. after user selects value, use Power Automate or plugin to copy value from form field to BPF field
6. this way BPF process continues and lookup filtering works
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.