I have an entity defined: moqui.security.UserAuthcFactor. In moqui there are Entity Auto Services that are services automatically for an entity that are called like verb#EntityName (for example see below). There are only a few verbs that you can use: create, update, delete, or store. In the example below, I am using the create verb to call an Entity Auto Service. In the local context, I don’t define a primary key, but the Entity Auto Service creates one for me. I would like to know the primary key field (called factorId) that the Entity Auto Service generated. Does the Entity Auto Service automatically return the generated fields, or do I need to figure out what the primary key entry the Entity Auto Service generated another way?
Ah, I suppose perhaps you can maybe start by looking at ./framework/src/main/groovy/org/moqui/impl/service/runner/EntityAutoServiceRunner.groovy but that’s going to be quite a bit of digging around to grok the whole architecture (I’m still learning here myself)