This pallet demonstrates the use of the pallet::view_functions_experimental api for service work.
pallet::view_functions_experimental