How to signal Child workflow in untyped manner from different microservice

Hi Team,

I have a use-case of directly making signal to child workflow from the microservice.

I have workflow client as well as the child workflow ID and the signal name to be invoked for the child workflow.

Here is the method I have tried which worked for normal workflow but failed for child workflow.

final WorkflowStub workflowStub = workflowClient.newUntypedWorkflowStub(updateReportApprovalRequest.getWorkflowId());
    workflowStub.signal("setApprovalStatus", updateReportApprovalRequest);

Above logic worked for normal workflow but failed in case we trigger child workflow with WorkflowNotFound exception could you please guide me is there way we can signal ?

Thank

Found the solution to the above query.

1 Like