Skip to main content
Nintex Community Menu Bar

IPC not return data

  • February 21, 2008
  • 5 replies
  • 21 views

Forum|alt.badge.img+2
Hi,

 

I have a simple workflow that calls a child workflow using a IPC event.

I want pass 1 field from parent workflow to child, and when child workflow ends, I want return data to parent workflow.

In the IPC event wizard I created a field mapping entry and I chose "Send data to child process" from data direction DropDownlist and I created other one and I chose "Receive data from child process" .

When I call the child workflow, I can pass data to child, but when the child finish, it didn't pass any data to parent.

 I need to do something to pass data from child to parent workflow?

 

Thanks in advance

5 replies

Forum|alt.badge.img+11
  • February 22, 2008

Are you are calling the IPC synchronously?  If the mode is async then the parent does not wait for the child to complete.


Forum|alt.badge.img+2
  • Author
  • February 22, 2008
Yes, I was calling synchronously. The parent workflow only advances after child process ended, but didn't return data.

Forum|alt.badge.img+2
  • Author
  • February 25, 2008

I tried a new thing. I set all the mapped fields to "Send and Receive" and set initial value to all fields. After the IPC all the parent workflow fields were empty.

After this, I saw data audit in the K2 Log DB, and all the fields were empty in a activity called "IPC Finish".

 Any Clue why this happens?

 

Thanks 


Forum|alt.badge.img+2
  • Author
  • February 27, 2008
You think it's behavior it's a bug?

Forum|alt.badge.img+11
  • February 27, 2008
If you think it is a bug, open a help desk ticket.  I have used the IPC event in the past to do just what you are describing.  If you want, send me a very simple workflow project that illustrates this behavior and I will see if I can reproduce it.  Unfortunately my schedule is filled for the rest of the week, so I make no promises about when I will be able to look at it.