Workflow step: infer export-control classifications for the catalog item drafts created by catalogItemDraftsCreateWorkflow earlier in the same operation, reusing the draft image, the categories as corrected by categoriesValidateWorkflow, and (per exportHsCodePreference) the draft's own exportHsCode or the EXPORT code from classificationsCalculateWorkflow. Each draft succeeds or fails on its own. The drafts that succeed are returned (in draft order) and recorded; each draft that fails is left out and reported as one error with the message Catalog item draft {draftId}: {reason}, a draftId extension, and an error type of BAD_REQUEST (bad input, e.g. an expired draft image or an export code without digits), UNAVAILABLE (a dependency timed out or is unreachable), or INTERNAL. Only a problem with the step itself (no drafts in the operation, unknown draftIds, drafts temporarily unavailable) fails the whole step.
Mutation.
exportClassificationsInferWorkflow
Workflow step: infer export-control classifications for the catalog item drafts created by
catalogItemDraftsCreateWorkflowearlier in the same operation, reusing the draft image, the categories as corrected bycategoriesValidateWorkflow, and (perexportHsCodePreference) the draft's ownexportHsCodeor the EXPORT code fromclassificationsCalculateWorkflow. Each draft succeeds or fails on its own. The drafts that succeed are returned (in draft order) and recorded; each draft that fails is left out and reported as one error with the messageCatalog item draft {draftId}: {reason}, adraftIdextension, and an error type of BAD_REQUEST (bad input, e.g. an expired draft image or an export code without digits), UNAVAILABLE (a dependency timed out or is unreachable), or INTERNAL. Only a problem with the step itself (no drafts in the operation, unknowndraftIds, drafts temporarily unavailable) fails the whole step.Arguments
input
ExportClassificationsInferWorkflowInput!
Required
Returns:
[ExportClassification!]!
type Mutation { exportClassificationsInferWorkflow(input: ExportClassificationsInferWorkflowInput!): [ExportClassification!]! }Was this page helpful?