I already made a similar query a while ago, but I still don't figure out a method.
I need to send to the platform and learn the value of a variable and save it in the report (interaction ID), but I don't want it to be from a user click going through an action.
This is possible or could be done differently
Can you please confirm the version of the software, operating system and LMS you are using?
There should be a way to pass variables as the learner progresses throught the course. I suggest you look into what xapi can do for you if your LMS can support it.
Captivate version is 2019, release 126.96.36.1996
The local operating system windows10 and the LMS Moodle standard SCORM 1.2
Please update ASAP to 188.8.131.529. That bug patch was released soon after 11.5.0. Not sure that it will solve your problems but is important.
Values of variables can be transferred with the interaction data, but not all LMSs make it easy to retrieve those values.