Javascript toolbox plugin in api workflow

Hey, community!
Got a question:
On the API workflow I would like to run a calculation with JS:

var a = 1.79;
var b = 1.69;
var x = 100 - Math.abs(100-(100*a/b));

however can’t get the result of the calculation in the “next step” of the workflow… Does anyone know how to possibly make it work? Thank you!

OK, find the solution. Needed to update Javascript toolbox plugin and use a server script action :+1:


You can remove the question if it fixed from Toolbox plugin - collection of utility elements :wink: