Data Stream
Search…
Workflow Response Codes
Data Stream provides a response to each workflow request. With the proper handling of each code, Data Stream will function in a repeatable way.
Successful workflows will have an acknowledgement of 1 or >= 370.
Workflow issues will have an acknowledgement of -2 or >= 350 and < 370.
Code
Name
Description
-2
Unknown
Unknown is set at the beginning of all workflows. This acts as a generic catch all for internal application workflow issues. This code is reserved for system activities.
-1
Reset
Reset is an acknowledgement that a workflow request has been received.
1
Success
Success is an acknowledgement that a workflow request has been completed successfully.
350
Error Workflow Input
Error workflow input should only occur on development workflows that have not been released to production.
351
Error Workflow Trigger
Error workflow trigger should only occur on development workflows that have not been released to production.
352
Error Reading PLC
Error reading PLC will occur any time a PLC read has been requested and the result was not successful. Read transactions typically only fail when the PLC tag does not exist, the PLC is not in run mode, or the PLC is not reachable from Data Stream.
353
Error Writing PLC
Error writing PLC occurs any time a PLC write has been requested and the result was not successful. Write transactions typically only fail when the PLC tag does not exist, the PLC is not in run mode, or the PLC is not reachable from Data Stream.
354
Error Reading Database
Error reading database occurs any time a critical database error occurs while executing OnEntryWorkflows. There are numerous error possibilities all of which are critical. This acts as a generic catch all for OnEntryWorkflows.
355
Error Writing Database
Error writing database occurs any time a critical database error occurs while executing OnExitWorkflows. There are numerous error possibilities all of which are critical. This acts as a generic catch all for OnExitWorkflows.
356
Error Remote Communications
Error remote communications occurs when a device other than a database or PLC responds with a non successful transaction or throws an exception. Remote communication errors typically occur when the device is not reachable from Data Stream.
357
Error Foreign Characters Exist
Error foreign characters exist occurs after a successful PLC read when characters exist that are not configured. Foreign character errors typically occur with leading and trailing spaces inside of a string.
358
Spare
359
Spare
360
Error Area Name is Missing or Invalid
Error area name is missing or invalid occurs when the PLC and database area configurations do not match. Error area name is missing or invalid typically occurs during development after the PLC has established an area name and before the area name has been input into the database.
361
Error Serial Number is Missing or Invalid
Error serial number is missing or invalid occurs when the database cannot find the serial number requested. Error serial number is missing or invalid typically occurs when the PLC serial number tag is empty.
362
Error Part Number is Missing or Invalid
Error part number is missing or invalid occurs when the database cannot find the part number requested. Error part number is missing or invalid typically occurs when the PLC part number tag is empty.
363
Error Secondary ID is Missing or Invalid
Error secondary ID is missing or invalid occurs when the database cannot find the secondary ID to serial number cross reference. Error secondary ID is missing or invalid typically occurs when the PLC secondary ID tag is empty, marriage workflow has not been executed, or divorce workflow was executed after marriage and before current workflow.
364
Error Routing is Missing or Invalid
Error routing is missing or invalid occurs when parallel operations have missing or inconsistent routing configurations. Error routing is missing or invalid typically occurs when routing was changed for one part type but not all part types inside of a part type family and an OnEntryWorkflow was executed at a parallel operation.
365
Spare
Copy link