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

366

Spare

367

Spare

368

Spare

369

Spare

370

Error Empty Pallet

Error empty pallet occurs after a divorce and before a marriage when an OnEntryWorkflow is executed.

371

Error Routing Bypassed for Area Part Type

Error routing bypassed for area and part type combination occurs when OnEntryWorkflow is executed and routing is bypassed for area and part type combination.

372

Error Serial Number Already Completed Operation

Error serial number already completed operation occurs when OnEntryWorkflow is executed and serial number has already completed operation.

373

Error Serial Number Rejected at Previous Operation

Error serial number rejected at previous operation occurs when OnEntryWorkflow is executed and serial number was rejected at a previous operation.

374

Error Serial Number Did Not Complete Previous Operation

Error serial number did not complete a previous operation occurs when OnEntryWorkflow is executed and serial number did not complete previous operation.

375

Error Serial Number Exceeded Max Retries at Operation

Error serial number exceeded max retries at operation occurs when OnEntyWorkflow is executed and serial number has exceeded retries at operation.

376

Error Serial Number Exceed Previous Operation Cure Time

Error serial number exceeded previous operation cure time occurs when OnEntryWorkflow is executed and serial number has exceeded previous operation cure time.

377

Error Serial Number Has Not Exceeded Cool-down Time

Error serial number has not exceeded cool-down time occurs when OnEntryWorkflow is executed and serial number has not exceeded operation cool-down time.

378

Spare

379

Spare

380

Spare

381

Spare

382

Spare

383

Spare

384

Spare

385

Spare

386

Spare

387

Spare

388

Spare

389

Spare

390

Error Serial Number Scrapped

Error serial number scrapped is a disposition assigned at tear down for serial numbers that should no longer run on the assembly line without quality's permission.

391

Spare

392

Spare

393

Spare

394

Spare

395

Spare

396

Spare

397

Spare

398

Spare

399

Spare

400

Spare