AutoRemove
The
AUTOREMOVE
execute tells the server to automatically remove a batch when its state reaches complete or cancels a previous AUTOREMOVE
execute.The format and return for this execute includes:
Execute Format | A FactoryTalk Batch Server supports an execute string with the AUTOREMOVE keyword. The format of the execute string:[AUTOREMOVE( ResponseItem, UserID, CreateID, AutoRemove )] | |
where: | ResponseItem | Name of the response item. |
UserID | User identification associated with this event. | |
CreateID | Create ID of the batch to automatically remove. | |
AutoRemove | ON to automatically remove the batch; OFF to allow the batch to stay on the batch list. | |
Action | A successful AUTOREMOVE (... ON) execute causes the FactoryTalk Batch Server to remove the batch when its state reaches COMPLETE. A successful AUTOREMOVE (... OFF) execute does not allow the server to remove the batch without a REMOVE execute. | |
Return Format | SUCCESS: | FAIL: <message> |
TIP:
When Electronic Signatures are enabled and a Remove Command Verification Policy is configured in the area model, then all
AUTOREMOVE
executes sent to the FactoryTalk Batch
Server fail and an appropriate error message displays.The following table shows an example of the return on this execute.
Example: | An execute string: [AUTOREMOVE(Item_1,operator,17,on)] |
Provide Feedback