Basically what the title says: I want different workflows to be able to wait on the completion of shared tasks. For example, workflow 1 needs tasks A, B, and C completed, while workflow 2 needs tasks C, D, and E completed, before they move on to do other things. I know activities have unique id's, so if workflow 2 tried to start "C" while 1 had already started "C", it will return an ACTIVITY_ID_ALREADY_IN_USE error and will know now to start a duplicate copy of the activity worker. The problem is, how do I notify both workflows once C is complete?
Thanks