OriginalPostID-264783
Discussion posts and replies are publicly visible
You can use Synchronous Process Model Web Service plug-in (a Shared Component)
https://forum.appian.com/suite/tempo/records/item/lMBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUhuKjLnN5vWmMZe7gc4wlExtc2Lgi9qRl9A/view/summary
Expose your process model as web service using this plug-in, so that the web service will be synchronous (the WS call will wait until the chain of activity is broken, before returning the PV values to the client).
Although, the service will be available as SOAP WS, not REST-ful API.
You can try to call the above SOAP WS with webservicewrite() function from within your Web API implementation. If Basic Authentication (which is required by the SOAP WS) is supported by webservicewrite() function, then you got a solution.
-Rawich