Skip to content

Add result to an Action #30

@etwobben

Description

@etwobben

Type of request

  • I'd like to add something to the OTM 5 spec
  • I'd like to change something in the OTM 5 spec

Is your feature request related to a problem?
In the lifeCycle field of an Action we can set at which step in the process an action is, but we won't know if that step was succesfull or not. For example for an Load or Unload action, the action can be realized, but the package is not delivered.

Describe the solution you'd like
Two new fields in the Action. These can only be used in the realized lifecycle.

  • result (enum value of "succeeded", "failed" and "partially_succeeded").
    Partially is needed when some of the goods can be delivered, but not all. For example if a good is damaged or not present in the truck.
  • result_description.
    To communicate what the reason is for that result. (for example, nobody present, damaged goods, etc)

Describe alternatives you've considered
Ofcourse ExternalAttributes is an option, but this seems such a "basic" thing that it should be added to the base element.

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    OTM 5.3This ticket is included in OTM 5.3enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions