Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Invoking a long-lived subprocess in a short-lived process

Avatar

Level 2

I want to invoke a short-lived process via REST. In the short-lived process, I have a long-lived subprocess that does nothing but stores data in the database and track submissions. When I try to add a long-lived subprocess to a short-lived one, it forces me to change the parent to long-lived as well. I know I can invoke asynchronously via REST, but I want to return a confirmation page to the browser.

I have been using using web service invocation as a workaround, but because the web service action requires username and password it's hard to invoke the long-lived subprocess on behalf of the current user. What's proper way of doing this in Workbench?

Thanks,

Mick

1 Reply

Avatar

Level 3

Does the short-lived process need to get a response from the long-lived process?

If not, then you can use events to trigger the long-lived process from the short-lived process....

Gareth