Retrieve object by id-string in modeler

1
Why is it possible in widgets to retrieve an object via an ID string in an xPath, while the retrieve action in the modeler gives 'incompatible expression types: [object], String?
asked
2 answers
0

Remco,

No need to get the id in the Modeler.  In your Xpath, you can use the attribute name id.  So if you have the object you are trying to retrieve in a microflow as $ObjectName, your Xpath can look like this:

id = $ObjectName

Is there a requirement you have where that won't work?

Mike

answered
0

If you need to use the actual guid then you'll have to do it via java. 

I think this question will help:

https://forum.mendix.com/link/questions/82692

answered