CommandSubmission
data class CommandSubmission(val commands: List<CommandsOuterClass.Command>, val actAs: List<String>, val readAs: List<String> = emptyList(), val userId: String = "", val commandId: String = UUID.randomUUID().toString(), val workflowId: String = "", val deduplicationDuration: Duration? = null, val synchronizerId: String = "")
A batch of commands to submit atomically to the ledger.
commandId defaults to a fresh UUID and stays stable for the lifetime of this instance — the SDK's retries reuse it, so the participant's command deduplication prevents double execution. Reuse one CommandSubmission per logical action; build a new one for a genuinely new action.
Properties
Link copied to clipboard
How far back the participant rejects duplicate commandIds; participant maximum if null.
Link copied to clipboard
Pin execution to a synchronizer; participant chooses if empty.
Link copied to clipboard