Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5176

TrustyUI not showing inputs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.7.0.Final
    • None
    • None
    • None
    • False
    • False
    • Undefined
    • Hide

      1) Execute a decision 

      2) check the UI

      Show
      1) Execute a decision  2) check the UI

      The UI is not showing the inputs for a decision. See https://kie.zulipchat.com/#narrow/stream/232681-trusty-ai/topic/general/near/239605755

      The trusty service returns structured Inputs 

      Jacopo Rota: The structuredInputs response from the trusty service is
       {{

      {"inputs":[\{"kind":"UNIT","name":"Appraised Value","typeRef":"number","components":[],"value":500000.0}

      ,{"kind":"STRUCTURE","name":"Borrower","typeRef":"tBorrower","components":[

      {"kind":"UNIT","name":"Monthly Other Debt","typeRef":"number","components":[],"value":1000.0}

      ,{"kind":"UNIT","name":"Monthly Income","typeRef":"number","components":[],"value":10000.0}],"value":null},{"kind":"UNIT","name":"Loan Amount","typeRef":"number","components":[],"value":300000.0},{"kind":"UNIT","name":"Credit Score","typeRef":"tCreditScore","components":[],"value":600.0},{"kind":"UNIT","name":"Best Rate","typeRef":"number","components":[],"value":0.03}]}}}
      But if the kind is UNIT, components should be null. 

              jrota@redhat.com Jacopo Rota (Inactive)
              jrota@redhat.com Jacopo Rota (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: