Any method for converting component String Value into UUID Object within query?

Is there any method for converting String Value of UUID that entered in textField component directly into UUID Object within datasource query?

For example:
select e from practice$WorkOrder e
where e.defaultMachine.id = [ … turning :component$… into UUID object. ]

e.defaultMachine.id” is an UUID object.

Wonder if there’s anyway to turn some UUID in String format obtained from Screen Component like:
:component$machineIDField
into a UUID object comparable with e.defaultMachine.id

Current we are able to adapt :custom parameter in query. But we are wondering whether there’s any way to perform it by :component$…

Thanks

No, there is no such method. So you have to add a value listener to the component programmatically and refresh the datasource with appropriately converted parameters. Probably this is what you have done already.

Konstantin,
Thanks for the confirmation .
We are using custom param in this case.