I added the following code to a Custom Code activity in Process Flow
/**Custom Code*/ Object current = param(1); treenode activity = param(2); Token token = param(3); treenode processFlow = ownerobject(activity); int streamId = getstream( activity ); int row = 1; Table distribution = Table("ContainerAttributeDistribution"); return 0;
and get the helpful error message
time: 0.000000 exception: FlexScript exception: MODEL:/Tools/ProcessFlow/ProcessFlow/Sample attributes>variables/codeNode
on the line declaring streamId when I put a breakpoint in the code.
Any idea what goes wrong?