Error Types and Error Codes
This topic describes the error types and error codes related to the close message.
Type | Occurs When | Available Message Fields |
---|---|---|
TYPE_ENTITY_ACTION | Requested action is inapplicable for the specified entity |
|
TYPE_ENTITY_PROPERTY | Value of one of the properties, submitted by the plug-in to be updated, has an invalid value or violates a business rule for the given entity and conditions |
|
TYPE_INTERNAL | Oracle Field Service is unable to process
message due to:
|
NA |
entity: Data for the listed entity is invalid ("activity" or "inventory")
entityId: Id of the entity, for which the data is invalid (such as aid for activity and invid for inventory, for example, "10028719")
propertyLabel: Label of the property, for which the value is invalid, for example, "customer_number", "WO_TYPE"
Code | Occurs When |
---|---|
TYPE_ENTITY_ACTION | |
CODE_ACTION_ON_PAST_DATE_NOT_ALLOWED | The requested action is forbidden for the entity, if it's assigned
for an archived (past) queue:
|
TYPE_ENTITY_PROPERTY | |
CODE_PROPERTY_VALUE_TOO_LARGE | Any of these:
|
CODE_MANDATORY_PROPERTY_EMPTY | Any of these: For activity
For inventory
|
CODE_ACTIVITY_STATUS_INVALID | Any of these:
|
CODE_INVENTORY_POOL_INVALID | Any of these:
|
CODE_INVENTORY_AID_INVALID | Any of these:
|
CODE_INVENTORY_PID_INVALID | Any of these:
|
CODE_ACTIVITY_STATUS_INVALID_FOR_FUTURE | 'astatus' is not 'pending' or 'cancelled' and activity is assigned for the day in future relative to the current date in the provider's time zone |
CODE_ACTIVITY_STATUS_STARTED_ALREADY_IN_QUEUE | 'astatus' is 'started' or 'enroute' and there is another started activity in the same queue |
CODE_ACTIVITY_STATUS_ENROUTE_ALREADY_IN_QUEUE | 'astatus' is 'started' or 'enroute' and there is another en route activity in the same queue |
CODE_ACTIVITY_STATUS_INVALID_FOR_INACTIVE_QUEUE | 'astatus' is not 'pending' or 'cancelled' and the activity is assigned for a queue that is not activated or is deactivated |
CODE_ACTIVITY_STATUS_INVALID_FOR_NON_TRAVEL_ACTIVITY | 'astatus' is 'enroute' and the activity doesn't support "calculate travel" feature (is a non-travel activity) |
CODE_ACTIVITY_STATUS_REORDERING_IS_NOT_ALLOWED | 'astatus' is 'enroute', activity is ordered and is not first in the route, and "Allow activity reorder inside the route" option is not selected for the user type of the current user |
TYPE_INTERNAL | |
CODE_UNKNOWN | Oracle Field Service is unable to process
the message due to:
|
TYPE_MESSAGE_FORMAT | |
CODE_METHOD_NOT_SUPPORTED | Any of these:
|