Recently i have been debugging an issue. To sum that issue up in 2 points, it was intermittent and issue was happening when the siebel message is not having specific required values under it.
Now i know among developers, word 'intermittent' does not have friendly relationship. I have gone through the logs and it took a while to find out the RCA for this. Problem and Reason is stated below.
We know that Workflow is capable of sending only 1 Hierarchy as its Output. Now in our implementation, 1 of the parent WF is invoking a sub-process. In this sub-process, there are 2 WF process properties whose Datatype was set as Hierarchy with In/Out. And in the parent process we are taking an output as SiebelMessage. Now because there are 2 hierarchy type process properties in the child WF defined as In/Out. This child workflow is sending one of the hierarchy to the parent WF intermittently.
Process Property In/Out DataType
Siebel Message In/Out Hierarchy
OrdIt1Message In/Out (*In) Hierarchy
Lesson learnt is that, in case you have multiple process property in a WF having datatype as Hiearchy and this WF is being used as subprocess for some other WFs, make sure to have only 1 process property as In/Out and put others as In. Hope this help, Happy Exploring !!!
No comments:
Post a Comment