Multiple WebServiceOutputActivities
Is it possible to have multiple WebServiceOutputActivities in a workflow ?
My workflow could potenitally take a while to run so i want the option for the user to receive a response immediately while the workflow continues to run all its other processes, or just wait and receive a response at the end.
Only one of the 2 outputs will ever be hit.
i have done that but it tells me that another output already refers to the input activity.
I see if i add them on opposite sides of ifelse branch it doesn't throw the error, but i have the response at the end of the workflow if the previous output was not called.
ie, i have an ifelse at the beginning that responds immediately if required. then i do my processing and have another ifelse that will repond if the user wanted to wait for a response.
Only one will ever get hit but the workflow doesn't seem to trust me that i wont respond twice. Can i override this ?
the same logic is excuted regardless of if the response was issued or not. i just have a branch at the top which reponds immediately. i then want to return to the same workflow logic and don't want to duplicate it on both branches.
i suppose my best option is to put the rest of the logic into its own workflow and call that workflow from both branches.