You are viewing limited content. For full access, please sign in.

Discussion

Discussion

Feature request: Allow more options for the webhook service task in Forms

posted on July 23, 2016

Currently, the only thing you can specify is a static URL:

You can't specify request type (GET, POST, PUT, etc.) or things like content type, request body, etc. It also doesn't let you embed datasets from the business process. These shortcomings make this service task nearly useless. We have several web services (both ones we have developed, and third-party ones we use) that are designed to consume data that is coming from Forms. However, as things stand, we have to use Workflow's Web Request activity, which makes our systems architecturally more complex than they need to be.

1 0
replied on April 11, 2017

Is it not possible to get the data posted from a Laserfiche form using a webhook? I can trigger the webhook through a service task, but am not sure exactly how to pull the data. My webhook is written in PHP, so I am using the $_POST variable and that variable is empty. Any thoughts?

0 0
replied on April 11, 2017

Unfortunately it isn't possible because the Webhook URL is just a static URL. It does not accept any sort of form variable.

0 0
replied on April 11, 2017

I used RequestBin to see what data was being returned and in what form and this is it. It's JSON data. Completely useless. I was trying to make a dynamic webhook that could take data from any form and write it to the appropriate database. Now we are going to have to create a workflow for each form.

 

RAW BODY

{"bpInstanceId":1498,"submissionId":1915}
2 0
replied on April 11, 2017

Well, I don't know what your use case is, but if all you want to do is take form data and write it to some database, Workflow is going to be much easier than a custom web service.

I do agree with you though that the Webhook feature right now is kinda useless. smiley

0 1
replied on April 12, 2017

Whilst I've not had a customer ask for it yet, the ability to grab a lookup from GET, as well as the existing View and Table looksup would be great for services like address lookups:

http://api.postcodes.io/postcodes/WD188YH

1 0
replied on April 12, 2017

I was going to use a webhook to dynamically pull the post data and write to a DB. I wanted to put one webhook in place that could be used on all forms. Way more efficient than a workflow for every form that needs to write to a DB. Writing a webhook is super easy, especially when you have a library of functions in place.

1 0
replied on July 25, 2016

I added this to the feature request list.

1 0
replied on November 13, 2019

Any update(s) on this?? We are on 10.4.1 and still see no updates to this feature? 

2 0
replied on September 6, 2024

Any updates on this yet?

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.