Need to voluntarily fail workflow activities?

Hi Team, @maxim @tihomir

I have a workflow which uses asynchronous temporal activities. I need to explicitly fail all the activities at any point when a signal is received from external world.

Will I be able to close all the current activity in java ?

Thanks
Vishal

You cannot fail them, but you can cancel them from the workflow. Then, you can either wait for them to confirm the cancellation or proceed without waiting.