tasktype-sendmessage-doesnotgiveerror.fsm
Hi,
See the attached model where I have a processor that in the onEntry creates a task for the operator. In the task the operator sends a message to itself. If I give all the parameters to TASKTYPE_SENDMESSAGE it works fine, but if I forget to give all the parameters I can pass numbers nicely through the function and even treenodes (if I parse them as treenodes) if I wish, but if I pass a node with tonum(node) then the onMessage trigger cannot parse the numeric value correctly. However, no error message is given, but the code just does not work as it should.
Am I doing something wrong when I would like to have an error in this case or when I am passing the node as a number? Passing as a node does not work with tasktype_sendmessage, but parsing as variant in teh receiving end works in this case. Is this the way to go or what should be done?
Thank you!
Kind regards,
Axel