public class DependenciesWaitActivity extends EventWaitActivity
RECEIVED_MESSAGE_DOC_VAR| Constructor and Description |
|---|
DependenciesWaitActivity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dependenciesMet() |
void |
execute()
Method that executes the logic based on the work
|
java.util.List<java.lang.String[]> |
getMicroserviceAttributes() |
protected ServiceSummary |
getServiceSummary(boolean forUpdate) |
protected java.lang.String |
getServiceSummaryVariableName()
You'd need a custom .impl asset to set this through designer
|
protected boolean |
handleCompletionCode() |
com.centurylink.mdw.model.Jsonable |
microServiceSuccess(java.lang.String microservice,
ServiceSummary serviceSummary)
Looks through the service summary for a successful completion for a
certain microservice:
1.
|
getTimeoutSeconds, getWaitEventSpecs, isEventRecurring, logMessage, needSuspend, processMessage, resume, resumeWaiting, setActivityHoldOnExit, setActivityWaitingOnExit, updateSLAderegisterEvents, getMessageFromEventMessage, handleEventCompletionCode, registerWaitEvent, registerWaitEventsexecutecloseDatabaseAccess, createDocument, createDocument, createDocument, createDocument, doCompatibilityCodeSubstitutions, evaluateExpression, executeScript, getActivityId, getActivityInstance, getActivityInstanceId, getActivityName, getAsset, getAttribute, getAttribute, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValueAsVariableName, getAttributeValueSmart, getDocument, getDocumentContent, getDocumentForUpdate, getEngine, getEntryCode, getExternalEventInstanceDetails, getMainProcessDefinition, getMasterRequestId, getOutputDocuments, getPackage, getParameterId, getParameters, getParameterStringValue, getParameterType, getParameterValue, getParameterValue, getParentProcessId, getPerformanceLevel, getProcessDefinition, getProcessId, getProcessInstance, getProcessInstanceId, getProcessInstanceOwner, getProcessInstanceOwnerId, getProperty, getRequiredAttribute, getRequiredVariableValue, getReturnCode, getReturnMessage, getRuntimeContext, getScriptEvaluator, getScriptExecClassName, getScriptExecutor, getValue, getValueSmart, getVariableInstance, getVariableValue, getVariableValueSmart, getWorkTransitionInstanceId, initialize, isDisabled, isLogDebugEnabled, isLogInfoEnabled, isOutputDocument, lockActivityInstance, lockProcessInstance, logdebug, logexception, loginfo, logsevere, logtag, logwarn, openDatabaseAccess, prepare, setOutputDocuments, setParameterValue, setParameterValue, setParameterValueAsDocument, setParameterValues, setProcessInstanceCompletionCode, setReturnCode, setReturnMessage, setValue, setVariableValue, setVariableValue, startTransaction, stopTransaction, translatePlaceHolder, updateDocumentContent, updateDocumentInfo, updateDocumentInfo, valueIsJavaExpression, valueIsVariablepublic void execute()
throws com.centurylink.mdw.activity.ActivityException
EventWaitActivityexecute in interface com.centurylink.mdw.activity.types.GeneralActivityexecute in class EventWaitActivitycom.centurylink.mdw.activity.ActivityExceptionprotected boolean handleCompletionCode()
throws com.centurylink.mdw.activity.ActivityException
handleCompletionCode in class EventWaitActivitycom.centurylink.mdw.activity.ActivityExceptionpublic java.util.List<java.lang.String[]> getMicroserviceAttributes()
public boolean dependenciesMet()
throws com.centurylink.mdw.activity.ActivityException
com.centurylink.mdw.activity.ActivityExceptionpublic com.centurylink.mdw.model.Jsonable microServiceSuccess(java.lang.String microservice,
ServiceSummary serviceSummary)
Looks through the service summary for a successful completion for a certain microservice:
microservice - to check for successful completionserviceSummary - object to check for successful completionsorg.json.JSONException - JSONExceptionServiceSummaryprotected ServiceSummary getServiceSummary(boolean forUpdate) throws com.centurylink.mdw.activity.ActivityException
com.centurylink.mdw.activity.ActivityExceptionprotected java.lang.String getServiceSummaryVariableName()