Sure let me elaborate our use case in a simplified manner.
- Render front-end module to start asking user initial questions
- Kick off async job A, which takes answers from previous questions as input.
- Render a series of front-end modules to let user pick among options that are generated from the previous job A.
- Kick off two sequential asyncs job B + C, which takes the selected option as the input.
As you can see the latter steps always take the output of the previous step as input and each step waits for the previous steps to be finished first.
My question is if treating all of the steps above as a single workflow, each step as a task, is it something temporal can support? If it’s supported, do we have a similar use case or support documents that you can share?
I have limited knowledge on temporal right now. According to my current understanding, once a signal is sent to temporal server to start the workflow, then worker will start executing the workflow. Then the question becomes is it possible to render front end module and start gathering user input in the middle of a workflow and once the input is received, resume the workflow to the next activities.