public interface WorkflowContextService
executemethod on the service by passing a suitable
|Modifier and Type||Method and Description|
Executes the current workflow step's logic for processing watch-folder inputs.
void execute(WorkflowContextProcessor processor, com.adobe.granite.workflow.exec.WorkItem workItem, com.adobe.granite.workflow.WorkflowSession workflowSession, Map args) throws Exception
WorkflowContextProcessorimplementation supplied by the current workflow step (and possibly implemented by it) which encapsulates the current step's logic for processing the watch-folder input and contributing its own outputs to the overall output of the current workflow instance.
workItem- The work-item supplied to the workflow step by the workflow engine.
workflowSession- The workflow-session supplied to the workflow step by the workflow engine.
args- The arguments supplied to the workflow step by the workflow engine.
Exception- If an error is thrown by the supplied
WorkflowContextProcessorimplementation, or if any other system error occurs. If the error is allowed to bubble up by the workflow step, the associated watch-folder input will be marked as having failed to process, and will be written out to the failures folder of the watch-folder along with this error in the failure log.
Copyright © 1982–2017 Adobe Systems Inc.. All rights reserved.