Hi @maxim ,
I am working on an solution where I want to integrate temporal workflow with frontend.
So flow goes like this-
-
User select the item and then on that selection I want to start workflow and keep it running state and at the same time I want to run the activity and share the response of the activity with the front end.
-
User does some action on the response which has been returned from the step 1, then frontend will send signal to the workflow then workflow run some activity and provide the response of that activity back to the frontend.
So my first issue is regarding step 1, if i want to run activity inside the @workflowmethod then i have to make the @workflowmethod call sync and that will marks the workflow as completed and not in running state.
My second issue is when I am receiving signal from the user to do some action then at that i am unable to return the response as signal return type is void. So, what will be the solution for this.