Multiple Instances of a workflow

#1

I wanted to know If I can deploy a workflow and then create multiple instances of it.
Here is an example:

Let's assume that there is a workflow that takes in a vehicle number and state and checks if that vehicle has visited the state on not.

Is it possible for multiple people to send requests to this workflow simultaneously and get responses according to their input?

0 Likes

#3

It depends on the specifics of the flow, but generally yes.

If it's http based, then each request is handled separately and it's up to you to decide how the users are identified in the request.

0 Likes

#4

Okay, thanks.
From the last time I had used Node red, if another request was sent to the flow, instead of a new instance, it would continue the same one.
So effectively, each deployed workflow was as if it's just one instance, and all who wish to use it can see the same state.

0 Likes

#5

Like I said, it depends on the specifics of the flow.

If you build a flow that holds state, then you need to decide how to store that state per user so you can distinguish between the different requests.

0 Likes

#6

Alright, i'll design the flow accordingly. Thanks!

0 Likes