public static interface WorkflowCancelRequest.Builder
WorkflowCancelRequest
.Modifier and Type | Method and Description |
---|---|
WorkflowCancelRequest |
build()
Builds a
WorkflowCancelRequest based on the values set in the builder. |
WorkflowCancelRequest.Builder |
withComment(String comment)
Sets the cancellation comment.
|
WorkflowCancelRequest.Builder |
withWorkflowId(String workflowId)
Required: sets the active workflow id.
|
WorkflowCancelRequest.Builder withWorkflowId(String workflowId)
workflowId
- of the workflow being cancelledWorkflowCancelRequest.Builder
WorkflowCancelRequest.Builder withComment(String comment)
comment
- workflow cancellation commentWorkflowCancelRequest.Builder
WorkflowCancelRequest build()
WorkflowCancelRequest
based on the values set in the builder.Copyright © Veeva Systems 2017–2023. All rights reserved.