AddSDIWorkItem
Description:
Adds Workitems to SDIs.
Input Properties
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.
workitemid
Description:
Identifiers of the Workitems you want to add to the SDIs.
Required:
Yes
workitemversionid
Description:
Identifiers of the Workitem Version you want to add to the SDIs.
Required:
Yes
applyworkitem
Description:
Determines how the Workitem is associated with the SDIs:
  • Y associates all Workitem Items, as well as the Workitem itself.
  • N associates only the Workitem.
Required:
No
forcenew
Description:
Determines whether or not a new Data Set is added when Template Workitems are applied. This overrides the Workitem definition:
  • Y enables the "Force New" option for Workitems, and overrides the "Force New" setting in the Workitem Maintenance Page. When adding Workitems to this SDI, enabling the "Force New" option always creates a new dataset. This will let you resolve Data Sets after you have deleted the Workitem, as each Workitem Item will be uniquely identified.
  • N uses the "Force New" setting in the Workitem Maintenance Page.
Required:
No
applylock
Description:
Determines whether or not (Y/N) data are locked during Action processing.
Required:
No
propsmatch
Description:
Determines how multiple property values are associated with SDIs.
Required:
Yes
Comments:
As an example, consider these properties:

sdcid = Sample
keyid1 = S01;S02
workitemid = ItemA;ItemB
workiteminstance = 1;3
The propsmatch value has these effects:

  • propsmatch = Y adds ItemA (Instance1) to Sample S01 and ItemB (Instance3) to Sample S02.
  • propsmatch = N adds ItemA (Instance1) and ItemB (Instance2) to both Samples (S01 and S02).
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.
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
groupid
Undocumented property reserved for internal use only.
groupinstance
Undocumented property reserved for internal use only.
sdigroupid
Undocumented property reserved for internal use only.
sdigroupinstance
Undocumented property reserved for internal use only.
usersequence
Undocumented property reserved for internal use only.
offsetfromdt
Description:
Offset used to calculate the Due Date (sdiworkitem.duedt column).
Required:
No
Comments:
This defaults to n units past the sdiworkitem.duedt column. If a value is not specified, calculates from now. If the units are not specified, uses the persisted duration in the Workitem table.
trackitemid
Trackable Item associated with the Workitem Items.
Required:
No
Comments:
Example: If the Workitem contains Data Sets, this Action copies the trackitemid to the SDIData table as a foreign key to the Trackable Item.
scheduleplanid
Undocumented property reserved for internal use only.
scheduleplanitemid
Undocumented property reserved for internal use only.
duedt
Description:
Value of the sdiworkitem.duedt column. Also see Offset From Date below.
Required:
No
Comments:
Also see offsetfromdt.
qcbatchid
Undocumented property reserved for internal use only.
qcbatchitemid
Undocumented property reserved for internal use only.
autousersequence
Undocumented property reserved for internal use only.
createworksheet
Description:
Determines if the worksheet(s) would be created or not. Default to Y.
Required:
No
Comments:
Only single value is accepted. Determines whether a worksheet will be created or not. If value is "Y" then it will check if the createworksheetrule is 'On Creation' or 'On Assignment'. If 'On Creation' then it will create worksheet. If 'On Assignment' then it will check if this sdiworkitem is assigned to any analyst/department. If yes, then creates worksheet.
formid
Description:
Determines the form which would be used to create worksheet for the workitems.
Required:
No
Comments:
Only single value is accepted.
If a form is passed in explicitly then it would be used, else the default form is retrieved from the Test Method definition.
formversionid
Description:
The formversionid of the form.
Required:
No
Comments:
Only single value is accepted.
worksheetid
Description:
Determines the worksheet template which would be used to create worksheet for the workitems.
Required:
No
Comments:
Only single value is accepted.
If a worksheet is passed in explicitly then it would be used, else the default worksheet is retrieved from the Test Method definition.
worksheetversionid
Description:
The worksheetversionid of the worksheet.
Required:
No
Comments:
Only single value is accepted.
workbookid
Description:
Determines the workbook for the worksheet for the workitems.
Required:
No
Comments:
Only single value is accepted.
If a workbook is passed in explicitly then it would be used, else the default workbook is retrieved from the Test Method definition.
workbookversionid
Description:
The workbookversionid of the workbook.
Required:
No
Comments:
Only single value is accepted.
propsmatchtestmethodorder
Description
Required:
No
Comments:
Specifies semicolon-separated list of testMethod order which helps to add TestMethods in a given order in propsmatch 'Y' mode The sequence of different TestMethods should be same in all samples. For an example, consider the following properties. sdcid=Sample keyid1=SDI0001;SDI0001;SDI0002;SID0002;SDI0002;SDI0003;SDI0003 workitemid= WIA;WIC;WIA;WIC;WIB;WIC;WIB PropsMatch=Y propsmatchtestmethodorder= 1;2;1;2;3;2;3 Note: If workitemversionid is sent in action input, a given combination of workitemid, workitemversionid should have same sequence in all samples
Output Properties
workiteminstance
Description:
Semicolon-separated list of instance numbers of the new Workitems.
Additional Information
Additional information concerning this Action:
None.
Copyright © 1999-2016 LABVANTAGE Solutions, Inc.