cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Access Process Context in my Process

Former Member
0 Kudos

Hi,

I'm trying to create a small process for one internal proof of concept using SAP PO 7.3 EHP1 SP0.

For my scenario i need to retrieve the current Process Instance Identifier.

I am aware that this information can be retrieved using the "ProcessInstanceAttributes" and should be available on 7.3 Ehp 1.

My problem is that i cannot see the attribute in the SAP NWDS interface.

I have created other processes before and the attribute was visible but somehow it just seems to have dissapeared from every process i have created.

Check the screenshot bellow of one of my processes.

Is there any type of configuration in SAP NWDS that can provoke this error?

How can i access/view Process Instance Attributtes again?

Im using SAP NWDS - 7.3 SP00 PAT0001

Thanks,

Best Regards

Accepted Solutions (1)

Accepted Solutions (1)

former_member191643
Active Contributor
0 Kudos

You are looking in the wrong place. The right hand side, where you are expecting the 'ProcessInstanceAttribute' to show up, is the Process Context pane, which shows the list of your data objects in the process design.

'ProcessInstanceAttribute' node will always show up in the output mapping of any activity, which you will need to map with a created data object of string type in your process context:



The output of Start event will never show you the 'ProcessInstanceAttribute' node. It will only show you the parameters of the associated WSDL. Rest of the activities, you will see it in the output mapping.


So, if you want to fetch the process instance id after start executes, may be place a mapping activity after the start event and fetch the instance id in the output mapping.

Former Member
0 Kudos

I found the reason for my problem!
Initially i had  SAP NWDS 7.3 EHP1 PAT0 installed but i was having problems configuring the R/3 Destination System in the Eclipse Preferences. I found some SAP Note saying that the problem was solved in the PAT0001 of SAP NWDS.
Somehow i have downloaded the incorrect version (SAP NWDS 7.3 without EHP1) and that was the reason for the process instance attributtes missing.

Thanks for your Reply anyway as i didnt known the process instance attributtes were not available in the Start Message of the Process

Answers (0)