Toolbox plugin (reference new instance))

What I’ve done: Run a workflow to create a new instance of an embedded class in an imported js file.

Problem: referencing the new instance from another ‘Run javascript’ workflow.

Anyone got any pointers?