Skip to main content
Angus Walker
Inspiring
June 21, 2024
7.0 Duplicate

Customize return values from API call in a Path Use Case

Related products:Agent Studio
  • June 21, 2024
  • 2 replies
  • 35 views

When a process takes a long time to run, not only may it cause a time out, but it is irritating for the user who has to wait.
In order to alleviate this, it is nice to return a message to the user saying something like:

Your job is in progress.
This can take a few minutes.
Don't wait around.
We'll pop up a message to let you know when it has been completed

Optionally, you might not need to return a message at all.

Then, later, you can use an Event use case to return a result

Here is an example of such a use case:

The message is possible in a Query Use Case, but it is not possible in the Path Use Case.

Could we make it so the Path Use Case works in the same way and have the added option (to both use cases) of not having a response at all.

Thanks.

P.S. This is in follow up to the following Community post:
Path call to API not processing return value. | Community (moveworks.com)

2 replies

Ajay Merchia
Community Manager
June 24, 2024

Hey @Angus Walker, we’re very glad to hear you talking about this. This type of asynchronous behavior & flexible response structure is something that Plugin Workspace will unlock for us. I’d recommend following along there.

Ajay Merchia
Community Manager
June 24, 2024
Updated idea status1. New7.0 Duplicate
Idea merged into:

All the votes from this idea have been transferred.