Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82402

Mendix object from MendixIdentifier string

$
0
0

Hi All,

I am using the CommunityCommons getOriginialValueAsString to retrieve the original value of a reference. The result I get is a string value for example: "[MendixIdentifier:: id=25332747903959156 objectType=CountriesStates.State entityID=90]"

My question is how can I retrieve the original State object using the string above, either by microflow or java action.

I have extracted the "id" from the string with substring but if I do a retrieve action I get an Incompatible types State,Integer error.

In java to do a Core.RetrieveById i need the MendixIdentifier to be an object. I can create the MendixIdentifier from string but I need a guid.

Any ideas?

Thanks and much appreciated.


Viewing all articles
Browse latest Browse all 82402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>