This operation provides support for retrieving all the workflows accessible to the current user, determined via the applied request authorization. This operation supports filtering and sorting of workflows based on the provided search criteria. By default this call will return a maximum of 50 sorted in descending order by the workflow’s start time.
The caller can define other limits suited to their application (see the limit
query
parameter), but the limit cannot be higher than 50. To ask for the next set of items
pass the value of the cursor
provided in the response to the cursor
query parameter.
A response containing a potentially paginated list of workflows.
Bad Request. The Problem Details object will provide more information about the exact cause.
Unacceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "items": [
- {
- "workflowInstanceId": "string",
- "workflowModel": "string",
- "state": "RUNNING",
- "initiator": "string",
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "payload": [
- "string"
], - "comment": "string"
}
], - "cursor": "string"
}
This operation starts an AEM workflow related to Content Fragments. The following type of operations are available:
Request parameters to start a workflow.
OK
Bad Request. The Problem Details object will provide more information about the exact cause.
Unacceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Conflict
"The HTTP 413 Content Too Large response status code indicates that the request entity is larger than limits defined by server; the server might close the connection or return a Retry-After header field. Prior to RFC 9110 the response phrase for the status was Payload Too Large. That name is still widely used."
Unsupported Media Type. When provided as a response to a PATCH
request,
the response will provide an Accept-Patch
response header to notify
the client what patch document media types are supported.
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "type": "publish-folder",
- "workflowModelId": "/etc/workflow/models/scheduled_tree_activation",
- "workflowTitle": "string",
- "agentId": "publish",
- "scheduledTime": 0,
- "folderPath": "string",
- "excludeSubFolders": false,
- "filterReferencesByStatus": [
- "DRAFT"
]
}
{- "type": "publish-folder",
- "workflowInstanceId": "string"
}
OK
Bad Request. The Problem Details object will provide more information about the exact cause.
Not Found
Unacceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "workflowInstanceId": "string",
- "workflowModel": "string",
- "state": "RUNNING",
- "initiator": "string",
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "payload": [
- "string"
], - "comment": "string"
}