@Tracked(value=TRACE) @Activity(value="Microservice Orchestrator", category=InvokeProcessActivity.class, icon="com.centurylink.mdw.microservice/orchestrator.png", pagelet="com.centurylink.mdw.microservice/orchestrator.pagelet") public class OrchestratorActivity extends InvokeProcessActivityBase
SYNCHRONOUSDISABLED, GROOVY, JAVA_EL, JAVASCRIPT, logger, OUTPUTDOCS| Constructor and Description | 
|---|
OrchestratorActivity()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
allSubProcessCompleted()  | 
protected java.util.Map<java.lang.String,java.lang.String> | 
createBindings(java.util.List<Variable> childVars,
              int index,
              com.centurylink.mdw.microservice.Microservice service,
              boolean passDocumentContent)
Returns variable bindings to be passed into subprocess. 
 | 
protected ProcessInstance | 
createProcessInstance(int index,
                     com.centurylink.mdw.microservice.Microservice service)  | 
void | 
execute()
This method will be deprecated soon. 
 | 
protected void | 
executeServiceSubflowsInParallel(com.centurylink.mdw.microservice.ServicePlan servicePlan)  | 
protected void | 
executeServiceSubflowsInSequence(com.centurylink.mdw.microservice.ServicePlan servicePlan)  | 
protected int | 
getDelay()  | 
protected com.centurylink.mdw.microservice.ServicePlan | 
getServicePlan()  | 
protected java.lang.String | 
getServicePlanVariableName()
You'd need a custom .impl asset to set this through Studio or Hub. 
 | 
protected ServiceSummary | 
getServiceSummary(boolean forUpdate)  | 
protected java.lang.String | 
getServiceSummaryVariableName()
You'd need a custom .impl asset to set this through Studio or Hub 
 | 
protected Process | 
getSubflow(com.centurylink.mdw.microservice.Microservice service)
Can be a process or template. 
 | 
protected boolean | 
isParallel()  | 
protected boolean | 
isSynchronous()  | 
boolean | 
needSuspend()
The method is invoked by the engine right after the activity is executed,
 to determine whether to put the activity instance in waiting status. 
 | 
protected boolean | 
resumeOnProcessFinish(InternalEvent msg,
                     java.lang.Integer status)  | 
allowInput, evaluateBindingValue, getOutputParameters, getSubprocess, onFinish, processOtherMessage, resume, resumeOnOtherEvent, resumeWaitingderegisterEvents, getMessageFromEventMessage, getWaitEventSpecs, handleEventCompletionCode, registerWaitEvents, registerWaitEventsexecutecreateDocument, createDocument, createDocument, createDocument, evaluateExpression, executeScript, getActivityId, getActivityInstance, getActivityInstanceId, getActivityName, getAttribute, getAttribute, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValueSmart, getDocument, getDocumentContent, getDocumentForUpdate, getDocumentType, getEngine, getExternalEventInstanceDetails, getLogger, getMainProcessDefinition, getMasterRequestId, getOutputDocuments, getPackage, getParameterId, getParameters, getParameterStringValue, getParameterType, getParameterValue, getPerformanceLevel, getProcessDefinition, getProcessId, getProcessInstance, getProcessInstanceId, getProcessInstanceOwner, getProcessInstanceOwnerId, getProperty, getRequiredAttribute, getRequiredVariableValue, getReturnCode, getReturnMessage, getRuntimeContext, getScriptEvaluator, getScriptExecClassName, getScriptExecutor, getValue, getValues, getValueSmart, getVariableInstance, getVariableValue, getVariableValueSmart, getWorkTransitionInstanceId, initialize, isDisabled, isLogDebugEnabled, isLogInfoEnabled, isOutputDocument, lockActivityInstance, lockProcessInstance, logdebug, logDebug, logError, logError, logexception, loginfo, logInfo, logsevere, logwarn, logWarn, prepare, setOutputDocuments, setParameterValue, setParameterValueAsDocument, setParameterValues, setProcessInstanceCompletionCode, setReturnCode, setReturnMessage, setValue, setVariableValue, setVariableValue, startTransaction, stopTransaction, translatePlaceHolder, updateDocumentContent, updateDocumentInfo, updateDocumentInfo, valueIsJavaExpression, valueIsVariableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecutepublic void execute()
             throws ActivityException
DefaultActivityImplexecute in interface GeneralActivityexecute in class DefaultActivityImplActivityExceptionpublic boolean needSuspend()
SuspendableActivityneedSuspend in interface SuspendableActivityneedSuspend in class AbstractWaitprotected int getDelay()
protected boolean isSynchronous()
protected boolean isParallel()
protected com.centurylink.mdw.microservice.ServicePlan getServicePlan()
                                                               throws ActivityException
ActivityExceptionprotected java.lang.String getServicePlanVariableName()
protected ServiceSummary getServiceSummary(boolean forUpdate) throws ActivityException
ActivityExceptionprotected java.lang.String getServiceSummaryVariableName()
protected Process getSubflow(com.centurylink.mdw.microservice.Microservice service) throws ActivityException
ActivityExceptionprotected ProcessInstance createProcessInstance(int index, com.centurylink.mdw.microservice.Microservice service) throws ActivityException, DataAccessException, ProcessException, java.io.IOException
ActivityExceptionDataAccessExceptionProcessExceptionjava.io.IOExceptionprotected java.util.Map<java.lang.String,java.lang.String> createBindings(java.util.List<Variable> childVars, int index, com.centurylink.mdw.microservice.Microservice service, boolean passDocumentContent) throws ActivityException
ActivityExceptionprotected boolean resumeOnProcessFinish(InternalEvent msg, java.lang.Integer status) throws ActivityException
resumeOnProcessFinish in class InvokeProcessActivityBaseActivityExceptionprotected boolean allSubProcessCompleted()
                                  throws ActivityException,
                                         org.apache.xmlbeans.XmlException
allSubProcessCompleted in class InvokeProcessActivityBaseActivityExceptionorg.apache.xmlbeans.XmlExceptionprotected void executeServiceSubflowsInSequence(com.centurylink.mdw.microservice.ServicePlan servicePlan)
                                         throws ActivityException
ActivityExceptionprotected void executeServiceSubflowsInParallel(com.centurylink.mdw.microservice.ServicePlan servicePlan)
                                         throws ActivityException
ActivityExceptionCopyright © 2019 CenturyLink, Inc.