on 03-27-2017 1:02 PM - last edited on 02-03-2024 11:20 PM by postmig_api_4
Details :
Implemented in NWDS
Through: BPM,Web Module(API Servlet)
While triggering through API I am unable to retrieve the process Instance ID of the subprocess through the main process ID.
Any suggestions will be appreciated!
Hi,
Refer the below threads,the approaches followed in this can help you to achieve your solution
https://archive.sap.com/discussions/thread/1546005
https://archive.sap.com/discussions/thread/3447899
Regards
Kiruthika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I did it this way. Created the reporting data source and Reporting activity in sub-process and mapped process instance attribute to store parent process ID. Through Reporting data source manager API, I queried processes that have this reporting data source with value of parent process.
For more on using reporting data source API please refer below URL
https://help.sap.com/doc/javadocs_nw74_sps11/7.4.11/en-US/CE/bpem/com.sap.bpem/index.html
I used reporting data source identifier like below
An URI identifying a reporting data source must be formatted as following:
bpm://bpm.sap.com/reporting-datasource/<DC vendor>/<DC name>/<Name of the reporting data source>
and method was below,
Set<URI>
search(URI reportingDataSourceId, String reportingFieldName, String term)
where parameters passed were
reportingDataSourceId = URI created above
reportingFieldName = reporting field of reporting data source created in sub-process
term = Main process instance id for which sub-process URIs are to be identified.
Hope this helps !
Thanks,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.