syntax = "proto3";
package plm.v1;

option csharp_namespace = "Messages.Plm.V1";
option go_package = "github.com/cobotar/protocol/messages/plm/v1";

enum TaskStateRequest {
  TASK_STATE_REQUEST_UNSPECIFIED = 0;
  TASK_STATE_REQUEST_IN_PROGRESS = 3;
  TASK_STATE_REQUEST_COMPLETED = 4;
  TASK_STATE_REQUEST_UNDO = 5;
  TASK_STATE_REQUEST_ERROR = 6;
}

message TaskStateChangeMessage {
  string request_id = 1;
  string instance_id = 2;
  string task_id = 3;
  TaskStateRequest state = 4;
}
