DeleteSDIWorkItem
Description:
-
Deletes a Workitem from an SDI.
Input Properties
eventnotify
Description:
-
Determines whether or not (Y/N) an EventNotify Action is posted onto the ToDo List when this Action executes.
Deprecated:
-
As of version 6.1, Event Notify actions are no longer generated
separator
Description:
-
Character used to separate multiple values. The default is a semicolon.
Required:
-
No
Comments:
-
For backward-compatibility, the Action code also accepts "delimiter" as the Property Id.
rsetid
Description:
-
Identifier of the RSet that is passed into this Action.
Required:
-
No.
Comments:
-
This is useful if you have created an RSet in another Action and want to use those values in this Action.
For example, suppose you have created an RSet in Action-001, and the Rset contains SDCId and KeyId values from multiple SDIs. You want to pass these values into Action-007. Rather than specifying all of these values in Action-007, you can simply specify the RSetId from Action-001.
An added advantage is that if data are locked in the Action-001 RSet, they will be locked in Action-007 as well.
sdcid
Description:
-
Identifier of the SDC.
Required:
-
Yes
keyid1
Description:
-
Identifiers of the SDIs.
Required:
-
Yes
keyid2
Description:
-
Identifiers of the SDIs.
Required:
-
Only for multi-key SDCs.
keyid3
Description:
-
Identifiers of the SDIs.
Required:
-
Only for multi-key SDCs.
applylock
Description:
-
Determines whether or not (Y/N) data are locked during Action processing.
Required:
-
No
cascadedeletes
Determines what is deleted form the SDIs:
- Y = Deletes the Workitem and all Workitem Items from the SDI.
- N (default) = Deletes only the Workitem. This is the default.
Required:
-
No
Comments:
-
- This Action will fail if any of the Data Sets you are deleting contain data.
forcedelete
Determines how a Data Set is deleted based on its contents:
- Y (default) = Deletes the Data Set whether or not it contains data.
- N = Does not delete the Data Set if it contains data.
Required:
-
No
workitemid
Description:
-
Identifier of the Workitems you want to delete from the SDIs.
Required:
-
Yes
workiteminstance
Description:
-
Workitem Instance number.
Required:
-
Yes
validatedataentered
Description:
-
Y checks if the DataSet contains any data before deletion.
Required:
-
No
auditreason
Description:
-
Auditing information recorded in the "Reason" column of the TraceLog table.
Required:
-
No
auditactivity
Description:
-
Auditing information recorded in the "Activity" column of the TraceLog table.
Required:
-
No
auditsignedflag
Description:
-
Auditing information recorded in the "SignedFlag" column of the TraceLog table.
Required:
-
No
auditdt
Description:
-
Auditing information recorded in the "ModDt" column of the TraceLog table.
Required:
-
No
Additional Information
Additional information concerning this Action:
-
Here is an examnple of how this Action can operate on multiple Samples:
sdcid = Sample
keyid1 = S-001;S-002;S-003
workitemid = WI-A;WI-B;WI-C
cascadedeletes = Y
This deletes WI-A from S-01, WI-B from S-02, and WI-C from S-03.
Copyright © 1999-2025 LabVantage Solutions, Inc.