Class StartWorkflowInstancesRequest.Builder
Object
Builder
- Enclosing class:
StartWorkflowInstancesRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddBusinessItemId
(UUID businessItemId) Adds one business item ID to the list of the business items.build()
businessItemIds
(List<UUID> businessItemIds) The list of IDs for the business items.businessItemType
(WorkflowBusinessItemType businessItemType) The resource type of the passed in business items.but()
Deprecated.This method will be removed in the future.formProperties
(Map<String, String> formProperties) The properties of the workflow.guestUserId
(UUID guestUserId) The ID of the guest user starting the workflow.sendNotification
(boolean sendNotification) Whether notification on starting the workflows should be sent.toString()
workflowDefinitionId
(UUID workflowDefinitionId) Required. The ID of the workflow definition.
-
Method Details
-
but
Deprecated.This method will be removed in the future. Please, useStartWorkflowInstancesRequest.builder()
Clone method for this Builder. -
addBusinessItemId
Adds one business item ID to the list of the business items.- Parameters:
businessItemId
- the business item ID
-
workflowDefinitionId
Required. The ID of the workflow definition.- Returns:
this
.
-
businessItemIds
The list of IDs for the business items.- Returns:
this
.
-
businessItemType
public StartWorkflowInstancesRequest.Builder businessItemType(WorkflowBusinessItemType businessItemType) The resource type of the passed in business items.- Returns:
this
.
-
formProperties
The properties of the workflow.- Returns:
this
.
-
guestUserId
The ID of the guest user starting the workflow.- Returns:
this
.
-
sendNotification
Whether notification on starting the workflows should be sent.- Returns:
this
.
-
build
-
toString
-