CustomerLevelUI
The CustomerLevelUI
-CUWO is a child CUWO that was spawned specifically to have a UI interaction with an end customer.
CUWOs of this type are created from other CUWOs via the SpawnCustomerLevelUIChildCUWOOperation
operation.
Workflow parameters
The CustomerLevelUI
-CUWO will receive a CustomerLevelUIWorkflowParameters
structure as input.
The structure is defined as:
/**
* The parameter/input structure for a "customer-level UI" workflow.
*/
class CustomerLevelUIWorkflowParameters extends WorkflowParameters {
readonly "@type" : string = "n4.cuwo.workflows.childcuwos.customerlevelui.CustomerLevelUIWorkflowParameters";
/**
* The handle of the CUWO that spawned the "customer-level UI" workflow.
*/
public parentCUWOHandle : string;
/**
* Optional parameter data provided by the parent CUWO.
*/
public parameterData? : string;
}
Success result
On success, the CustomerLevelUI
-CUWO is expected to pass a CustomerLevelUIWorkflowResult
structure to terminateSuccess
.
The structure is defined as:
/**
* The result/output structure for a successful "customer-level UI" workflow.
*/
class CustomerLevelUIWorkflowResult extends WorkflowResult {
readonly "@type" : string = "n4.cuwo.workflows.childcuwos.customerlevelui.CustomerLevelUIWorkflowResult";
/**
* Optional result data that the customer-level UI CUWO wants
* to pass to its parent CUWO.
*/
public resultData? : string;
}
Failure result
On failure, the CustomerLevelUI
-CUWO is expected to pass a CustomerLevelUIWorkflowFailure
structure to terminateFailure
.
The structure is defined as:
/**
* The result/output structure for a failed "customer-level UI" workflow.
*/
class CustomerLevelUIWorkflowFailure extends WorkflowFailure {
readonly "@type" : string = "n4.cuwo.workflows.childcuwos.customerlevelui.CustomerLevelUIWorkflowFailure";
/**
* Optional failure-related information that the customer-level UI
* CUWO wants to pass to its parent CUWO.
*/
public failureInformation? : string;
}
Cancelation result
The CustomerLevelUI
workflow does not support cancelation.