I mentioned this in the conditional workflow but encountered an error: ‘Server Error: NameError: name ‘any’ is not defined’. I want to create an approval workflow based on the item group. How can I do this?
any(item[‘item_group’] == ‘Raw Material’ for item in doc.items)