Got a code snippet for that?
I’m not sure I understand the question. Tim’s snippet above, runGroup_og1234(), is the JS that triggers the actions in Lectora.
Unless you were referring to something like having JS set a Lectora variable like AICC_Lesson_Status directly instead of using an action group. Which, you could do, but it would result in the error you saw before where Lectora won’t publish the file because it’s not seeing the AICC_Lesson_Status variable being modified by an action/assessment score.