How to get Pageflow details defined in different project
book
Article ID: KB0084236
calendar_today
Updated On:
Description
The openWorkItem API will not return the page-activity details as part of pageFlowDetail when the pageflow is defined in a different project. The external pageflow is not available to the external client (SoapUI or custom apps) as the DAA of the external pageflow is not wired in the application that calls the pageflow. The reason the workspace or openspace that can open the external pageflow as part of openWorkItem is it is wired internally with an additional API getBusinessServiceDetailsByModule call.
Resolution
To get the details of the external pageflow, use the getBusinessServiceDetailsByModule API from WorkPresentationService that provides the page-activity details of the external pageflow.
Example:
Request
<api:businessServiceDetailsRequest>
<moduleName>/Pageflow_external/Process Packages/ProcessPackage_pageflowexternal.xpdl</moduleName>
<processName>RequestAdditionalDataPageflow2</processName>
<moduleVersion>1.0.0.20170119114842234</moduleVersion>
</api:businessServiceDetailsRequest>
Response
<businessServiceDetailsResponse id="_6NqbUt5mEeaoR_64RDoJKg" moduleName="/Pageflow_external/Process Packages/ProcessPackage_pageflowexternal.xpdl" moduleVersion="1.0.0.20170119114842234" name="RequestAdditionalDataPageflow2" url="Pageflow_external/.bpm/.processOut/pageflow/ProcessPackage_pageflowexternal.xpdl/RequestAdditionalDataPageflow2.bpel" xmlns="http://api.wp.n2.tibco.com">
<page-activity id="_6NqbW95mEeaoR_64RDoJKg" name="Asktheuserforasecurityquestion2" xmlns="http://service.archive.wp.n2.tibco.com">
<page-reference guid="" name="Asktheuserforasecurityquestion2.gwt.json" version="1.0.0.20170119114842234">
<relative-path>1.0.0.20170119114842234/GIGWTPull_DefaultChannel/.default/ProcessPackage_pageflowexternal/RequestAdditionalDataPageflow2/Asktheuserforasecurityquestion2</relative-path>
<base-path>http://localhost:8080/bpm</base-path>
</page-reference>
</page-activity>
</businessServiceDetailsResponse>
Issue/Introduction
How to get page activity details of the pageflow which is defined in a different project.
Was this article helpful?
thumb_up
Yes
thumb_down
No