WorkflowTaskAsyncClient Class
- java.
lang. Object - com.
azure. analytics. purview. workflow. WorkflowTaskAsyncClient
- com.
public final class WorkflowTaskAsyncClient
Initializes a new instance of the asynchronous PurviewWorkflowClient type.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Mono<Response<Binary |
getWithResponse(String taskId, RequestOptions requestOptions)
Get a workflow task. |
| Mono<Response<Void>> |
reassignWithResponse(String taskId, BinaryData reassignCommand, RequestOptions requestOptions)
Reassign a workflow task. |
Methods inherited from java.lang.Object
Method Details
getWithResponse
public Mono<Response<BinaryData>> getWithResponse(String taskId, RequestOptions requestOptions)
Get a workflow task.
Response Body Schema
{
id: String (Required)
title: String (Optional)
workflowRunId: String (Required)
workflowId: String (Required)
requestor: String (Required)
createdTime: OffsetDateTime (Required)
lastUpdateTime: OffsetDateTime (Required)
payload (Required): {
type: String(CreateTerm/UpdateTerm/DeleteTerm/ImportTerms/UpdateAsset/GrantDataAccess) (Required)
targetValue: String (Required)
payload: Object (Optional)
}
reminderInfo (Optional): {
lastRemindTime: OffsetDateTime (Optional)
nextRemindTime: OffsetDateTime (Required)
reminderSettings: Object (Required)
}
expiryInfo (Optional): {
lastExpiryNotificationTime: OffsetDateTime (Optional)
nextExpiryNotificationTime: OffsetDateTime (Required)
expiryTime: OffsetDateTime (Required)
expirySettings (Required): {
expireAfter: Object (Required)
notifyOnExpiration (Optional): [
String (Optional)
]
}
}
}
Parameters:
Returns:
reassignWithResponse
public Mono<Response<Void>> reassignWithResponse(String taskId, BinaryData reassignCommand, RequestOptions requestOptions)
Reassign a workflow task.
Request Body Schema
{
reassignments (Optional): [
(Optional){
reassignFrom: String (Required)
reassignTo: String (Required)
}
]
}
Parameters:
Returns: