uber cadence - Is it possible to provide cancellation details about a workflow execution? - Stack Overflow

admin2025-04-21  2

I have the following sequence in a java application to cancel a workflow execution:

WorkflowExecution execution = new WorkflowExecution().setWorkflowId(workflowId);
WorkflowStub workflowStub = workflowClient.newUntypedWorkflowStub(execution, Optional.empty());
workflowStub.cancel();

This will be executed for certain scenarios. All the scenarios are mapped.

If I ran the code this way, I'll have this on cadence-web:

Since details is null, I would like to know if it is possible to provide a mapped scenario (simple text) to be used as details.

转载请注明原文地址:http://anycun.com/QandA/1745230386a90525.html