I want to send signal to another workflow, once I receive a success webhook.
var failureMonitorWorkflow = Workflow.newExternalWorkflowStub(FailureMonitorWorkflow.class, workflowId);
failureMonitorWorkflow.markSuccess(orderNumber);
This is giving me error Called from non workflow or workflow callback thread