Listening for a Rest Connection in a running Flow.
Comments
-
Sorry for the confusing title. I dont know how to frame it.
My question:
let us say, I have a flow and it has 3 steps.1) Create a form. (No problem here)
2) Update a database. (No problem here)
[b]3) Wait for a (REST) connection from external service. (????????)[/b]
4) Update the database. (No problem here)
5) Done (No problem here)Now I know how to invoke a flow through a REST service. Straightforward task.
But how do I hit a flow that is already in execution? Or I want to listen to a REST service in between the flow. This will be the trigger for me to continue the flow.Hope this is not confusing. If it is, I will draw and paste a diagram next time.
-
The step you are looking for is called Wait on External System. This is a document about its use. [url=https://documentation.decisions.com/wait-external-system/]https://documentation.decisions.com/wait-external-system/[/url]
You can setup a flow that polls on a scheduled and checks for some condition to be true before moving forward or you can initiate this move forward action by a service call by creating a service method.
Please reply with any additional questions you have after reading through this documentation.
-
Thanks Will for the response.
But that link is little specific to events on database".. is there similar documentation for REST call invoking midway?[quote=Will@decisions.com]The step you are looking for is called Wait on External System. This is a document about its use. [url=https://documentation.decisions.com/wait-external-system/]https://documentation.decisions.com/wait-external-system/[/url]
You can setup a flow that polls on a scheduled and checks for some condition to be true before moving forward or you can initiate this move forward action by a service call by creating a service method.
Please reply with any additional questions you have after reading through this documentation.[/quote]
[i]edited by naseem on 12/2/2017[/i]" -
To confirm your use case, you want the flow to wait at a step until a REST call is made to/into the flow that will then cause it to move forward to the next step(s)?
-
Yes that is right.
[quote=Will@decisions.com]To confirm your use case, you want the flow to wait at a step until a REST call is made to/into the flow that will then cause it to move forward to the next step(s)?[/quote]
-
The wait on external system has the ability to accept REST calls into it. At the top of the properties panel for this step you should see an orange link for View Integration Details this link will take you to a wizard where you can craft a REST call into Decisions that will work this step down an outcome path that you have defined.
This is a more advanced topic and probably is best to discuss over a webmeeting. Please feel free to email support@decisions.com and ask someone to get on a meeting and walkthrough how you can use this step in the manner you are asking.
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions