I am trying to understand the below code how is it working.
In getprocessflowvar() the parameter token is passed, why we are passing token into it.
expression ? 1: expression how this ternary operator is working.
return /**/getprocessflowvar(processFlow, "ItemDependentDepletion", token) ? 1 : getprocessflowvar(processFlow, "DepletionUnit", token)/**direct*/;