Hello Team,
I’m trying to create an agent for our next workshop @ MindStudio.
I have a strange behavior with Global / User variables when using Custom Functions
spent hours to solve still I get inconsistency.
sometimes the function saves it properly to {{global.allICPRows}} & {{user.icpLeadsProfile}}
and sometimes to outputVarName: “__internal__user__icpLeadsProfile”, Saving value of oversized variable {{__internal__user__icpLeadsProfile}}.
Can you please advise me , tried many variations , still get inconsistency.
Thanks,
Shay Bar
Could you share the debugger log links for both runs so we can take a closer look?
In the meantime, consider saving the Custom Function output to a separate variable, then add a Display Content block to write those values into the user variable:
I Use currently normal variables , still in order to save the information to later runs , I Need Global or User variables, did try your idea with Display text to Global variable - had the same experience.
Cheers,
Shay Bar