Skip to Content
0
Former Member
May 08, 2008 at 02:52 PM

"UNDEFINED" When passing parameters between two Actions within a Block

26 Views

We are using CAF GP on NW2004S SP 14. We have a Process with a block and two actions.

Action 1 is a "Get User Information CO"

Action 2 is a "Write to System Log CO"

We are attempting to get the User Details of Action 1 and passing them as a parameter to Action 2 for display in our error message.

The problem is that when we do this, we are seeing the UserName field as "UNDEFINED" and the username as "J2EE_GUEST". What we are expecting to see is the Username of the user intiating the process.

When we test the CO of Action 2 within the Design Time, it works as expected. The Username gets written to the log file. Action 1, also seems to work, and gets the User's ID correctly.

It is only when we combine these two pieces, map them using parameters, then initiating the process that the whole thing breaks down.

Has anyone else seen this behavior or could perhaps offer some suggestions as to how to enable this to work correctly?

Thanks,

-Tim

Edited by: Tim Hanbey on May 8, 2008 7:52 AM

Edited by: Tim Hanbey on May 8, 2008 7:56 AM