Looping over llm output array results in null elements for create action.

Not sure where to submit bug reports so below is a potential bug I’ve found.

Steps to reproduce:

  • Create ontology objects, A and B, with no existing datasource and both containing just a primary key
  • Create a new link type, AB
    • Step 1: Backing Object type
    • Step 2: create new object type linking A and B
    • Step 3: should be autopopulated from above but make sure it has a primary key, and foreign keys to A and B
    • Step 4/5 can be default
    • enable edits on the link type
  • Create a new Create action type to create link object AB
    • make sure it has inputs for foreign keys A and B
  • Create AIP logic file
    • Use LLM block: have the LLM generate an array of strings (type Array), GPT-5 mini, single completion
      • ex Task prompt: output the following words as an array of strings: “hello”, “world”, “bugs”
    • Loop over llm output, for each element perform the Create AB action, using the element as an input for the foreign key for A or B, and a preset string for the other.

Expected output: New link types are created to map between each element and a preset string

Actual output: Array elements are treated as null, and new link types are created with null foreign keys. No errors are thrown.

Workaround:

  • In the loop, before the action block, create a “trivial” conditional block where both the “then” and “else” blocks output the array element
  • change A/B foreign key from array element to the conditional output

Would greatly appreciate any other workarounds/corrections if this is not actually a bug!