syntax = "proto3"; package coresdk.workflow_completion; import "common.proto"; import "workflow_commands.proto"; /// Result of a single workflow activation, reported from lang to core message WFActivationCompletion { // The token from the workflow activation you are completing bytes task_token = 1; oneof status { Success successful = 2; Failure failed = 3; } } /// Successful workflow activation with a list of commands generated by the workflow execution message Success { // A list of commands to send back to the temporal server repeated workflow_commands.WorkflowCommand commands = 1; } /// Failure to activate or execute a workflow message Failure { common.UserCodeFailure failure = 1; }