Signal a workfow from another microservice

Hi team,

I have a usecase:
My workflow has 3 activities.
Activity 1
Activity 2
Activity 3

Suppose, I want to execute Activity 3 after a signal.

Acitivity_2()
Workflow.await(() → {myCondition});
Activity_3()

My question is :
If my workflow resides in microService1, can I signal my workflow from microservice2 ??

Yes, via client apis, see sample here, or if you are sending the signal from a workflow exec in service 2 consider using ExternalWorkflowStub:

typed:

MyWorkflowInterface workflow =
          Workflow.newExternalWorkflowStub(MyWorkflowInterface.class, <wfid>);
workflow.signalMethod(...);

untyped:

ExternalWorkflowStub stub =
      Workflow.newUntypedExternalWorkflowStub(<wfid>);
  stub.signal(<signalName>, <signalPayload>));