How can I cancel workflow execution within activityInboundInterceptors?

  1. The best approach is to make those services notify workflow through a signal. But you can implement a polling activity if needed. This post gives options for polling.
  2. Yes, you can. Here is an example where an interceptor is listening to a signal. It is hard to recommend the design without understanding the use case.
1 Like