Listening for a Rest Connection in a running Flow.

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.

Sign In or Register to comment.