Replies: 1 comment 3 replies
-
This is because Temporal SDK doesn't support this: https://github.com/temporalio/sdk-go/blob/7dbde86f46b75cd99dc8e36cedc1bfd45e2bc01e/client/client.go#L299 It doesn't provide a way to pass a reason. As a result, iWF can not pass it to the CancelEvent: Line 177 in 696223a There is a related problem for Terminate stop type. Even thought terminate allow passing reason, the get workflow result API of Temporal client doesn't allow retrieving the reason back..I just opened an issue/feature request: temporalio/features#325 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When we stop the workflow using FAIL StopType, the reason that we specify is shown. Why do When we use CANCEL StopType, the reason that we specify isn't shown?
both of these use StopWorkflow function from IWF Client
FAIL stoptype
CANCEL stoptype
Beta Was this translation helpful? Give feedback.
All reactions