Policy Automation for B2C Service

Get Involved. Join the Conversation.

Topic

    Scott Heidenreich
    Infer instance for a mapped in entityAnswered
    Topic posted August 2, 2019 by Scott HeidenreichBronze Trophy: 5,000+ Points 
    33 Views, 3 Comments
    Title:
    Infer instance for a mapped in entity
    Summary:
    How do I infer (add) an entity instance that is also mapped in from OSvC?
    Content:

    Hello,

    I have a custom object child for incidents.  This is for an OPA Mobile model, so dynamic load is not available via query. When OPA loads the incident to the mobile device, it automatically loads the child information associated with the incident.  This is good.  During the OPA Interview, the user may decide to select a different child from a list presented via an excel rule.  The excel rule is necessary because the dynamic query does not work from within the mobile OPA app.

    I would like to infer a new instance of the child and copy the alternate child as an additional child record for the incident. However, OPA seems to not allow this, because the entity is mapped in from OSvC.  This seems overly restrictive - but I haven't figured out how to get around this restriction.  If the user was using an input container the user would be able to add another instance, but apparently OPA can't infer a new instance via rule.

    Is there anyway to accomplish this?

    Thank you,

    Scott

    Version:
    19a

    Best Comment

    Fiona Guy

    Unfortunately no, but the enhancement is on our backlog and has had a few requests. I've added your vote to it (our ref: OZ-12158).

    For now, perhaps look into prompting the user to add the extra instance (and use rules to default the values) / use interview extensions to add it. 

    Comment

     

    • Fiona Guy

      Unfortunately no, but the enhancement is on our backlog and has had a few requests. I've added your vote to it (our ref: OZ-12158).

      For now, perhaps look into prompting the user to add the extra instance (and use rules to default the values) / use interview extensions to add it. 

    • Fiona Guy

      .... or save to a new child entity and reconcile by moving the data around within SvC (I recognise this is also not ideal - some partners have successfully done this though). 

    • Scott Heidenreich

      Thank you, Fiona for your response.  I suspected this would be the case. Having dynamic query capabilities such that data could be loaded through the query upon sync would be great. And having the ability to use rules to infer new instances of a mapped in or out entity would be great too.  Things change frequently in the field and our inspectors and samplers need to be able to adjust on the fly.