IPC Server : Bind Direction

  • 12 January 2004
  • 2 replies
  • 0 views

Badge
I am tring to get a sub-process to update the parent process datafields and I have set the binding as follows:

K2.BindField(IPCBindType.ProcData, "var", "var", IPCBindDirection.InOut)


Yet it does not seem to work; when I update the value in the sub-process, it does not update the parent process datafield.

any suggestions?

2 replies

Badge +7
Do check that you are making a Synchronous IPC call.
Only a Synchronous IPC call allows a child process to return data to the parent process.
With a Synchronous IPC call, the parent process has to wait for the child process to complete, and the child process would return any linked data (for In or In/Out variables) to the parent process data variables upon completion.
Badge +3
Also ensure that you have installed HotFix1 on your K2.net Server. There was an issue with data passing prior to HF1.

Cheers
Olaf

Reply