Validate Value maximum in process widget

Hey there,
Is it possible to validate the max value for the process paramater with specific cube value?
I think it might need snippet to read the value with or something…
image

Thanks!

Reference here:
https://forum.cubewise.com/t/read-the-cube-value-in-the-process-widget-by-using-the-template-snippet/6096/5