We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Specify max time limit for a single call

Questions and answers about Plum Fuse+

Moderators: admin, support

Post Reply
mushfek0001
Posts: 20
Joined: Wed Mar 14, 2018 1:31 am

Specify max time limit for a single call

Post by mushfek0001 »

Hi,

I was looking for any way to specify max time limit for a single call but couldn't find anywhere in the documentation. Is there a feature like that? I'd also like to know if there's any default settings that I can set when one of my REST backend service is down. Like setting a different prompt for that. Currently the default prompt says "An unexpected error has occurred" and then quits for any unhandled non 2xx response. How can I determine it was a timeout and put a more appropriate prompt in that case?

Thanks.

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Specify max time limit for a single call

Post by support »

Hi,

Currently there is not a max time limit for a single call, but if you would like to adjust your input timeout or webservice timeout settings, that can be found under the Application Settings tab in your application. There is also a transfer duration setting here you can set to allow a maximum amount of time for a transfer to last.

To use custom error handling on your REST modules, you can click the gear icon in the top right corner of the module and select Show Custom Errors; this will add a red branch to the module that you can then connect to other modules in whatever way you would like to handle the error. If you want to branch on webservice errors that are timeouts vs. non-2XX responses, you can branch off the shadow variables returned by your webservice module, name$.http_code, name$.headers, and name$.error, where name is the name of your module.

You can find more information on shadow variables in our documentation here: https://www.plumvoice.com/docs/fuse/shadow_variables

Regards,
Plum Support

mushfek0001
Posts: 20
Joined: Wed Mar 14, 2018 1:31 am

Re: Specify max time limit for a single call

Post by mushfek0001 »

Thanks. Shadow variables will be of great help but I needed one more clarification. By transfer you mean call transfer not data transfer during a webservice call, right?

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Specify max time limit for a single call

Post by support »

Hi,

Yes, you are correct - by transfer, we mean a call transfer.

Regards,
Plum Support

Post Reply