Content

Step Definition Property Overview

Common Step Definition Properties

 
 

 

Accession_ExpectedSampleStep
Accession_ParticipantStep
Accession_StudyEventStep
Accession_SummaryStep

ActionBlockStep

AttachmentStep

AttributesStep

COCStep

ConverterStep

DataEntryPageStep

eFormStep

ESigStep

FileChooserStep

FileViewerStep

FormStep

GroovyStep

HTMLStep
 
JSPStep

ListPageStep

LoadArrayStep

LoadArrayZoneStep

MaintPageStep

NoopStep

QCSequenceStep

QueueSelectorStep

ReagentChooserStep

ReportStep

SendBulletinStep

SendMailStep

SplitterStep

ValidateCustodyStep

VariableInputStep

WebPageStep

 

Step Definition Property Overview

Top../images/arwup.gif (846 bytes)

All Step Definitions define these property collections:

Property Collection Description
Step Definition Properties "Step Definition Properties" are common to all Step Definitions. They define the fundamental attributes of a Step.
Step Type Properties "Step Type Properties" are defined by the Step Definition. These control the behavior of the Step.
Step Properties "Step Properties" are additional properties that you can define to adapt or extend the "Step Type Properties". For example, FileChooserStep and FileViewerStep are based on the JSPStep, but extend the behavior of the JSPStep with additional "Step Properties". Both FileChooserStep and FileViewerStep hide the JSPStep's fixed set of Step Type properties so only the additional file viewing or file choosing properties are exposed to the Task Designer.

 

Common Step Definition Properties

Top../images/arwup.gif (846 bytes)

All Step Definitions contain these properties:

Step Definition Properties Defines common Step Definition properties:
titleText displayed on the first tab in Step Details of the Task Definition Maintenance Page to identify the Step.
Icon TextShort title that is displayed in the Step graphic and the "Icon Text" in the Step Details of the Task Definition Maintenance Page.
Execution title"Execution title" in the Step Details tab in the Task Definition Maintenance Page.
Instructions"Instructions" in the Step Details tab in the Task Definition Maintenance Page.
Show in ToolboxDetermines if the Step appears in the Steps Panel of the Task Definition Maintenance Page.
Hide Step Type PropertiesShows or hides the Step Type properties in the Step Configuration tab in the Task Definition Maintenance Page.
Hide Step PropertiesShows or hides the Step properties in the Step Configuration tab in the Task Definition Maintenance Page.
IconIcon displayed on the Step in the Task Design Area of the Task Definition Maintenance Page.
Background Color Background color of the Step. As of build DM0810.043.01_00, if this property is not set, the colors default to those shown below.
Button Templates Defines templates for Buttons that can be added to the Toolbar tab in the Task Definition Maintenance Page.
IdIn general, this is predefined or system-generated. However, it is exposed here to let you reference it in substitutions within text strings. For example, in the HTMLStep you could say "Click the [buttons.nextbuttonid.text] button to proceed". This will substitute the text of the button with id=nextbuttonid in the generated HTML.
TextText displayed on the Button.
TipTooltip for the Button.
ImageImage displayed on the Button.
ActionJavaScript that will be executed when the Button is clicked. Typically this will simply be a call to the Task API, such as sapphire.task.next() or sapphire.task.back(). See Working with the Task Toolbar for more details.
Automatically AddDetermines if the Button will automatically be added to the Toolbar of the Step when the Step is added to the Task.
Callback OperationAdvanced option that defines a notification token (sent by the code called in the "Action" JavaScript above) that is intercepted by the Task Manager and triggers the "Callback Action" JavaScript (below).
Callbefore ActionDefines the JavaScript that will be executed before the "Action" JavaScript (above) is executed. Typically this would be some sort of validation that can be used to block the "Action" JavaScript by returning false.
Callback ActionDefines the JavaScript to be executed when a "Callback" type of API call is made in the "Action" JavaScript (above).

As shown in Workflow Task Conceptual Reference → Working with the Task Toolbar → Button Security, Roles assigned to these Button Templates in the Step Definition node are copied-down to the Toolbar detail for the Task (and vice-versa).

Transitions This property collection allows Pre-Transition and Transition Expressions to be defined in the Step properties, as well as cases for each. When the Step is added to the Task, these expressions are copied-down to the relevant Step properties in the Task as shown in Workflow Task Conceptual Reference → Working with the Task Toolbar → Branching.
Pre-Case On StatementGroovy that defines the Pre-Transition Expression.
Case On StatementGroovy that defines the Transition Expression.
Cases Defines the branching cases.
IdExecution title of the Step for which the case id defined.
CaseConditional value of the case.
LabelText displayed on the graphic for the branch.

 

Accession_ExpectedSampleStep

Top../images/arwup.gif (846 bytes)

In the AccessionSamples Task, this renders an "Expected Samples" page to show a list of expected Samples (based on Events defined in the Study).

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Determines the Step behavior.
JSP Filename This is not to be used for configuration (the Step Type properties are hidden in the Task Definition).
Loaded Operation This is not to be used for configuration (the Step Type properties are hidden in the Task Definition).
Step Properties Extensions to the Step Type properties.
title Text displayed on the first tab in Step Details of the Task Definition Maintenance Page to identify the Step.
Subject Display Format Format in which the Subject is displayed. The OOB configuration is {|Subject: [subjectdesc] ([s_subjectid])|}.
Additional Columns
Identifier Unique identifier for this item, rendered as an ID attribute in the HTML tag.
SDC Choices are Sample, LV_SampleFamily, TrackItemSDC, CollectionPlan.
Column Column in the SDC specified above.
Mode Choices are input, readonly, dropdownlist, dropdowncombo, lookup, checkbox, datelookup, hidden.
title title that is displayed on the Column header.
Width Width of the column in pixels.
Date Format Format in which the time and date are displayed.
Link Reftype ID If the Mode is dropdownlist or dropdowncombo, this can be either a Reference Type identifier, or a semicolon-delimited list of Reference Values to display.
Lookup URL If the Mode is lookup, this is the URL of the page to open as a lookup.
Dropdown SQL If the Mode is dropdownlist, this is the SQL script that retrieves data.
Default Value Value displayed when a new row is added.
Dropdown Definition If the Mode is dropdownlist, this retrieves data based on an SDC definition:
SDC The SDC for which data is retrieved.
Query From Value of the From clause for the query.
Query Where Value of the Where clause for the query.
Query Order By Value of the Order By clause for the query.
Value Column Actual column value.
Display Column Column value displayed to users.
Lookup URL If the Mode is lookup, this is the URL of the page to open as a lookup.
Lookup HRef URL of the Lookup page.
Tip Tooltip to display onMouseOver.
Restrictive Where Optional restrictive where clause that either combines with the provided List page's restrictive where clause, or is used as the primary restrictive where clause on the default Lookup page.
Dynamic Lookup Enables the field for Dynamic Lookup.
SDC SDC on which the Lookup is based.
Default Query Default query to apply.
Query From From clause for the Lookup page.
Query Where Where clause for the Lookup page.
Sample Alias Allows the User to enter a Sample Alias for the Sample being Accessioned.
Show Determines if the Sample Alias is displayed.
Sample Alias Type If configured, the Accessioned Sample Alias will have this Alias Type and the User will not select the Alias Type. If blank, the User will have the ability to select the Sample Alias Type.
Accession Mode This is used internally by the Task Definition and is not configurable.
Study This is used internally by the Task Definition and is not configurable.
Site This is used internally by the Task Definition and is not configurable.
Cohort This is used internally by the Task Definition and is not configurable.
Study Display Column Column in the s_study table that shows the Study Id. This is provided if you want a different column in s_study to indicate a Study.

 

Accession_ParticipantStep

Top../images/arwup.gif (846 bytes)

In the AccessionSamples Task, this renders a "Search Subjects" page where you can associate the Samples with Subjects already in LabVantage, or add a new Subject as necessary. You can also search and add the Subject in an external system.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Determines the Step behavior.
JSP Filename This is not to be used for configuration (the Step Type properties are hidden in the Task Definition).
Loaded Operation This is not to be used for configuration (the Step Type properties are hidden in the Task Definition).
Step Properties Extensions to the Step Type properties.
Subject Selection Mode Determines whether Single or Multiple Subjects are selected.
Form Columns Number of fields for each row in the form.
Search Columns
Column Configured to show columns from s_subject and s_participant tables, and has the two additional entries subject.alias (for Subject Alias) and participant.alias (for Participant Alias).
Alias Type Alias Type (Reference Type) to use when the column is an alias.
Alias Reference Type Reference Type used for showing Alias Type selection while searching the Subject.
Mode Choices are input, dropdownlist, lookup, checkbox, datelookup, hidden.
title title that is displayed on the Column header.
Width Width of the column in pixels.
Column Span Columns to span using an HTML span tag.
Date Format Format in which the time and date are displayed.
Default Value Value displayed when a new row is added.
Dropdown RefType If the Mode is dropdownlist, this is the Reference Type to use.
Dropdown SQL If the Mode is dropdownlist, this is the SQL script that retrieves data.
Dropdown Definition If the Mode is dropdownlist, this retrieves data based on an SDC definition:
SDC The SDC for which data is retrieved.
Query From Value of the From clause for the query.
Query Where Value of the Where clause for the query.
Query Order By Value of the Order By clause for the query.
Value Column Actual column value.
Display Column Column value displayed to users.
Lookup Link If the Mode is lookup, this is the URL of the page to open as a lookup.
Lookup HRef URL of the Lookup page.
Tip Tooltip to display onMouseOver.
Restrictive Where Optional restrictive where clause that either combines with the provided List page's restrictive where clause, or is used as the primary restrictive where clause on the default Lookup page.
Dynamic Lookup Enables the field for Dynamic Lookup.
SDC SDC on which the Lookup is based.
Default Query Default query to apply.
Query From From clause for the Lookup page.
Query Where Where clause for the Lookup page.
Match Exact "Match Exact" indicates that the data must match the entire entered value. A value of "No" results in a "like" search.
Case Independent Determines the case sensitivity of the value entered in the search column.
Validation Columns
Column Column in the Participant SDC.
Mode Choices are input, dropdownlist, lookup, checkbox, datelookup, hidden.
title title that is displayed on the Column header.
Width Width of the column in pixels.
Column Span Columns to span using an HTML span tag.
Date Format Format in which the time and date are displayed.
Default Value Value displayed when a new row is added.
Dropdown RefType If the Mode is dropdownlist, this is the Reference Type to use.
Dropdown SQL If the Mode is dropdownlist, this is the SQL script that retrieves data.
Dropdown Definition If the Mode is dropdownlist, this retrieves data based on an SDC definition:
SDC The SDC for which data is retrieved.
Query From Value of the From clause for the query.
Query Where Value of the Where clause for the query.
Query Order By Value of the Order By clause for the query.
Value Column Actual column value.
Display Column Column value displayed to users.
Lookup Link If the Mode is lookup, this is the URL of the page to open as a lookup.
Lookup HRef URL of the Lookup page.
Tip Tooltip to display onMouseOver.
Restrictive Where Optional restrictive where clause that either combines with the provided List page's restrictive where clause, or is used as the primary restrictive where clause on the default Lookup page.
Dynamic Lookup Enables the field for Dynamic Lookup.
SDC SDC on which the Lookup is based.
Default Query Default query to apply.
Query From From clause for the Lookup page.
Query Where Where clause for the Lookup page.
Mandatory Determines if this is a mandatory column.
Display Columns
Subject Column Column in the Subject SDC.
Participant Column Column in the Participant SDC.
Mode Choices are Display Value or Hidden.
title title displayed on the column header.
Column Width Column width in pixels.
Link
Href Destination URL of the link.
Target Name of the window in which the linked page opens. You can enter any name here, and the new window (browser instance) will automatically assume that name. If you do not specify a target, the linked page opens in the current window.
Tip Tooltip to display onMouseOver.
Display Value Values displayed in place of the corresponding retrieved values. These options are similar to those in the maint Element.
Date Format Format in which the time and date are displayed.
Page for adding new Subject URL of the page used for adding a new Subject.
External Application Search Class This is used for configuring an Ajax class to search Subjects in a external system. If this property is configured, a button "Add Subject from External System" appears on the page. Clicking this button makes an Ajax call to this class and sends all search criteria. The Ajax class is now responsible to connect to the external system in order to search for the Subject. This class must return the LabVantage Subject Id.
Accession Mode This is used internally by the Task Definition and is not configurable.
Study This is used internally by the Task Definition and is not configurable.
Site This is used internally by the Task Definition and is not configurable.
Cohort This is used internally by the Task Definition and is not configurable.
Study Display Format Format used to display Study information at various places in the Accessioning Task. This can be configured to use any column from the Study. The OOB default value is [studydesc] ([s_studyid]).

The AccessionSamples Task displays the Study at the top of each Step to indicate the Study under which the Samples are being Received. In general, a typical use case is when you want to display a Study column other than the StudyId. You can then use this property to configure an alternate identifier for the Study. Putting this at the Step level lets you use this feature in multiple Workflow Tasks.

 

Accession_StudyEventStep

Top../images/arwup.gif (846 bytes)

In the AccessionSamples Task, this renders an "Event Selector" page to identify the Study and Events for which you are receiving Samples.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Determines the Step behavior.
JSP Filename This is not to be used for configuration (the Step Type properties are hidden in the Task Definition).
Loaded OperationThis is not to be used for configuration (the Step Type properties are hidden in the Task Definition).
Step Properties Extensions to the Step Type properties.
Additional Columns
IdentifierUnique identifier for this item, rendered as an ID attribute in the HTML tag.
SDCChoices are Sample, LV_SampleFamily, TrackItemSDC, LV_ParticipantEvent.
ColumnColumn in the SDC specified above.
titletitle that is displayed on the Column header.
WidthWidth of the column in pixels.
ModeChoices are input, dropdownlist, dropdowncombo, lookup, checkbox, datelookup, hidden.
Date FormatFormat in which the time and date are displayed.
Validation Client-side validation rules for text entered into input fields. The options are similar to those in the maint Element.
Link Reftype IDIf the Mode is dropdownlist or dropdowncombo, this can be either a Reference Type identifier, or a semicolon-delimited list of Reference Values to display.
Lookup URLIf the Mode is lookup, this is the URL of the page to open as a lookup.
Dropdown SQLIf the Mode is dropdownlist, this is the SQL script that retrieves data.
Default ValueValue displayed when a new row is added.
Dropdown DefinitionIf the Mode is dropdownlist, this retrieves data based on an SDC definition:
SDCThe SDC for which data is retrieved.
Query FromValue of the From clause for the query.
Query WhereValue of the Where clause for the query.
Query Order ByValue of the Order By clause for the query.
Value ColumnActual column value.
Display ColumnColumn value displayed to users.
Accession ModeThe Task checks this Variable and directs the User to next Step. This is configured OOB to [variables.accessionmode].
Event Selection ModeDetermines whether to Receive Samples for a single event or multiple events. This is configured OOB to Single.
StudyAdvanced property that is not configurable. Used for remembering the last selected Study.
SiteAdvanced property that is not configurable. Used for remembering the last selected Site.
CohortAdvanced property that is not configurable. Used for remembering the last selected Cohort.
Study Display FormatFormat used to display Study information at various places in the Accessioning Task. This can be configured to use any column from the Study. The OOB default value is [studydesc] ([s_studyid]).

The AccessionSamples Task displays the Study at the top of each Step to indicate the Study under which the Samples are being Received. In general, a typical use case is when you want to display a Study column other than the StudyId. You can then use this property to configure an alternate identifier for the Study. Putting this at the Step level lets you use this feature in multiple Workflow Tasks.

 

Accession_SummaryStep

Top../images/arwup.gif (846 bytes)

In the AccessionSamples Task, this renders an "Accession Summary" page at the end of the Task to show a list of the Accessioned Samples.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Determines the Step behavior.
JSP FilenameThis is not to be used for configuration (the Step Type properties are hidden in the Task Definition).
Loaded OperationThis is not to be used for configuration (the Step Type properties are hidden in the Task Definition).
Step Properties Extensions to the Step Type properties.
Text to display at top of the pageText that is displayed at the top of the Accession Summary page.
Columns
ColumnColumn in the s_sample table.
ModeChoices are Display Value or Hidden.
titletitle that is displayed on the Column header.
WidthWidth of the column in pixels.
Link URLAllows configuring a hyperlink on the column value that the User can click to open the link in a popup window.
Display ValueValues displayed in place of the corresponding retrieved values. These options are similar to those in the maint Element.
Date FormatFormat in which the time and date are displayed.

 

ActionBlockStep

Top../images/arwup.gif (846 bytes)

The ActionBlockStep executes an Action Block within a Task. This Step lets you build the Action Block using the Action Block Editor to do things such as map Task Variables onto Action properties and pass return properties from Actions back into Task Variables.

Variables can be used as inputs properties for the actions, such as [variables.batchid] or [variables.sampledetailsform.fields.sampletype]. Output/return properties from the Action Block are automatically set into Task Variables. If the output maps onto a defined Variable, the Variable Type must accept a String input.

Transitioning away from an ActionBlockStep (except "Back") will automatically execute Action processing. Once executed, processing will not be re-executed when the Step is revisited.

The API call is:

sapphire.task.step.actionblock.process()

ActionBlockStep Properties:

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
Action BlockDefines the Action Block. "Edit Action Block" opens the Action Block Editor.
Callback ActionJavaScript to execute after Action Block processing has completed. This overrides the default "sapphire.task.next()" call.
Confirm Message Rich-text message to display before the Action Block is executed. The Action Block can then be executed with sapphire.task.step.actionblock.process() or any other "forward" transition (such as clicking "Next"). If you leave this property blank, the Action Block will execute automatically on entry to the Step.
Processing Message Rich-text message to display when Action Block is being executed (defaults to "Processing…").
OperationFree-text definition of the "ESig" operation (below) being performed with the processing. This applies even if ESig is not used.
ESig Displays an ESig dialog before the Action executes. This generates a TraceLogId that is added to all audit records generated by the Action Block.
ESig Required"Yes" executes an ESig prompt following a button onClick event. "No" does not execute an ESig prompt.
MessageSpecifies the "Statement of Signing" text, which is passed into the ESig page and appears at the top of the Esig prompt.
Reason RequiredDetermines if an Audit Reason is required.
Reason TypeESig Reason prompt options: Free Text or Standard.
Reason RefTypeReference Type containing the Audit Reasons to be displayed on the ESig page.
On Repeat Determines what the Action Block does if the Task contains a loop and the Action Block is accessed a second time.
BlockGenerates an error, i.e., this Action Block should not be accessed twice.
Re-ExecuteExecute the Action Block on each loop.
SkipSkip this step for second and subsequent loops.
Step Properties None.

 

AttachmentStep

Top../images/arwup.gif (846 bytes)

The Attachment Step manages Attachments associated with SDIs. This Step can show the Attachment Manager page in edit or view mode, or in a view-only thumbnail view. The AttachmentStep is an extension of the JSPStep.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
JSP FilenameThis is not to be used for configuration (the Step Type Properties are hidden in the Task Definition).
Loaded OperationThis is not to be used for configuration (the Step Type Properties are hidden in the Task Definition). 
Step Properties Extensions to the Step Type Properties.
SDC IdSDC Id of the primary SDC. 
Key Id 1KeyId1 of the SDI(s). This can be multiple SDIs or a Variable.
Key Id 2KeyId2 of the SDI. This can be a Variable. 
Key Id 3KeyId3 of the SDI. This can be a Variable.  
Tab titletitle displayed on the primary tab. 
Show Primary TabShows/hides the primary tab. 
Allow EditDetermines if Attachments can be edited.
View OnlyDetermines if Attachments are displayed in view-only mode. 
Thumbnail ViewDetermines if Attachments are displayed in view-only thumbnail mode. 
Can Re-Store AttachmentsDetermines if stored Attachments can be re-uploaded. 
Attachment Types Defines Attachment Types that are allowed.
Allowed TypesCollection of Attachment Types that are allowed to be used. If this property is not set, all Attachment Types are allowed.
Content EditableDetermines if Attachments of this Attachment Type can be edited after creation. 
Allow OverwriteDetermines if Attachments can be overwritten. This applies only to File Attachments stored by reference (see Attachments).

 

AttributesStep

Top../images/arwup.gif (846 bytes)

The AttributeStep manages Attributes associated with SDIs. This uses the ability to configured display of Attributes associated with multiple SDIs as described in Navigator Policy → Edit Set → Special Edit Set Properties. The AttributesStep is an extension of the WebPageStep.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
Web PageThis is not to be used for configuration (the Step Type Properties are hidden in the Task Definition).
Request ParamsThis is not to be used for configuration (the Step Type Properties are hidden in the Task Definition).
Loaded OperationThis is not to be used for configuration (the Step Type Properties are hidden in the Task Definition).
Step Properties Extensions to the Step Type Properties.
SDC IdSDC Id of the primary SDC.
Key Id 1KeyId1 of the SDI(s). This can be multiple SDIs or a Variable. 
Key Id 2KeyId2 of the SDI. This can be a Variable. 
Key Id 3KeyId3 of the SDI. This can be a Variable. 

 

COCStep

Top../images/arwup.gif (846 bytes)

The COCStep defines a Chain of Custody transfer within a Task. Transfers can be from/to Users, Storage Units, external sources, or they can be derived. COC is based on the handling of Trackable Items (also referred to as "Trackitems"). You can specify the actual TrackitemId or the keys of the Trackitem owner.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
Trackitem SDCSDC of the Trackitem owner.
Trackitem KeyId1KeyId1 of the Trackitem owner. 
Trackitem KeyId2KeyId2 of the Trackitem owner.
Trackitem KeyId3KeyId3 of the Trackitem owner.
Trackitem IdTrackitemId of the item being transferred. 
Transfer MessageMessage displayed in the Step for the transfer. 
Transfer ImageImage displayed between the two transfer entities. 
Transfer From Defines the source of the transfer:
TypeSource of the transfer: External, User, Storage, or Derive. 
Reason TypeIf "Type" is "User", this is the ESig Reason prompt option: Free Text or Standard.
Reason RefTypeIf "Type" is "User", this is the Reference Type containing the Audit Reasons to be displayed on the ESig page.
Reason RequiredIf "Type" is "User", this determines if an Audit Reason is required.
Reason VariableIf "Type" is "User", this is the Variable Id into which the Audit Reason is entered. 
Storage Unit VariableIf "Type" is "Storage", this is the Variable Id into which the Storage Unit Id is entered.
External Message If "Type" is "External", this is the text to display that describes the external source. 
Transfer To Defines the target of the transfer:
TypeTarget of the transfer: External, User, or Storage. 
Reason TypeIf "Type" is "User", this is the ESig Reason prompt option: Free Text or Standard.
Reason RefTypeIf "Type" is "User", this is the Reference Type containing the Audit Reasons to be displayed on the ESig page
Reason RequiredIf "Type" is "User", this determines if an Audit Reason is required.
Reason VariableIf "Type" is "User", this is the Variable Id into which the Audit Reason is entered.
Storage Lookup PageIf "Type" is "Storage", this is a Storage Unit Lookup page to locate the new Storage Location. 
Storage Unit VariableIf "Type" is "Storage", this is the Variable Id into which the Storage Unit Id is entered. 
External Message If "Type" is "External", this is the text to display that describes the external target.
Username TextText to display when prompting for a Username. 
Password TextText to display when prompting for a Password.  
Reason TextText to display when prompting for an Audit Reason.  
Storage TextText to display when prompting for a Storage Location.  
Step Properties None.

 

ConverterStep

Top../images/arwup.gif (846 bytes)

The ConverterStep converts SDI lists from one type to another, such as converting a list of Samples to the unique list of Batches for the Samples.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
Input SDCSource SDC to be converted.                              
Input Variable IdVariable holding the list of SDIs for the "Input SDC". 
Output SDCTarget SDC. This is the SDC to which "Input SDC" is converted. 
Output Variable IdVariable into which the converted list of SDIs is entered.
Conversion Type Type of conversion (link definitions referenced below are specified in the SDC Table Maintenance section of the SDC Maintenance page):
"Foreign Key" uses the foreign key definition to derive the output SDIs.
"Reverse Foreign Key" uses the reverse foreign key definition to derive the Output SDIs.
"Many To Many" uses the many-to-many definition to derive the output SDIs.
"SDIWorkItem" derives the output SDIs from the internal SDIWorkitem definition. One of the Input SDCs or Output SDCs must be SDIWorkItem.
"QC Batch SDIs" derives the output SDIs from the internal QC Batch definition. One of the Input SDCs or Output SDCs must be QCBatch.
"QC Batch WorkItems" derives the output SDIs from the internal QC Batch Workitem definition. One of the Input SDCs or Output SDCs must be QCBatch.
"TrackItems" derives the output SDIs from the internal Trackitem definition. One of the Input SDCs or Output SDCs must be TrackItemSDC.
"Custom SQL" derives the output SDIs using a SQL statement defined in "SQL" below.
Column (if ambiguous)If "Conversion Type" is "Foreign Key" or "Reverse Foreign Key", this defines the link column in the SDC definition. This is required only if more than one foreign key exists for an SDC. 
SQL If "Conversion Type" is "SQL", this defines the SQL required to derive a set of output SDIs. Note that an RSet is generated for the list of input SDIs. The SQL should join against the RSetItems table to generate the set of output SDIs. For example:

SELECT DISTINCT batchid FROM rsetitems, s_sample WHERE rsetitems.rsetid=? AND rsetitems.keyid1 = s_sample.s_sampleid 

Step Properties None.

 

DataEntryPageStep

Top../images/arwup.gif (846 bytes)

The DataEntryPageStep presents a Data Entry page (GWT Data Entry Grid page using the gwtdataentrygrid Element) within a Task. The Step properties can be configured to specify three different Query Modes to retrieve data (a list of KeyIds, SDI Queries, or DataSet Queries).

The API calls are:

sapphire.task.step.dataentry.save()
This provide the same functionality as clicking the "Save" button.
sapphire.task.step.dataentry.saveAndRelease()
This provides the same functionality as clicking the "Save and Release" button.

DataEntryStep Properties:

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
Data Entry ViewDetermines the Data Entry Grid to render. 
Is Read OnlyDetermines whether or not the entire Data Entry iframe page (both the Data entry grid and the Detail panel) is readonly. For dynamic setting, this supports the Request Parameter parameter readonly, i.e., readonly=Y or readonly=N.
Query Mode Determines how data are retrieved:
By Key IdPasses SDCId and KeyId1,2,3 to the Step. This supports DataSet/SDIDataId and SDIWorkItem/SDIWorkitemId as SDC/KeyId1 combinations.
By SDI QueryUses a predefined SDI Query. 
By DataSet QueryUses a predefined DataSet Query.
SDCSDC for which data are entered.
KeyId1If "Query Mode" is "By Key Id", this is the list of SDI KeyId1s. 
KeyId2If "Query Mode" is "By Key Id", this is the list of SDI KeyId2s. 
KeyId3If "Query Mode" is "By Key Id", this is the list of SDI KeyId3s. 
Filter SDC IdIf "Query Mode" is "By DataSet Query", this is the primary SDC filter. 
Filter KeyId1If "Query Mode" is "By DataSet Query", this is the primary SDI (KeyId1) filter. 
DataSet QueryIf "Query Mode" is "By DataSet Query", this is the Dataset query to use. 
DataSet Query Params If "Query Mode" is "By DataSet Query", this defines Query parameters.
ParameterCollection of query parameters to support the specified DataSet Query.
SDI QueryIf "Query Mode" is "By SDI Query", this is the SDI Query to use. A dropdown list lets you choose after you specify the SDCId.
SDI Query Params If "Query Mode" is "By SDI Query", this defines Query parameters.
ParameterCollection of Query parameters to support the specified SDI Query.
Data Item Display RuleExecutes server-side filtering to determine how data are displayed. You can choose a predefined rule or define one using a Groovy expression. See "Data Item Display Rule" in the gwtdataentrygrid Element.
Save Validation Options Determines whether or not to allow "Save" or "Save and Release" when one or more mandatory Data Items are not entered. The options are specified as follows:
Do not Allow Save with Empty Mandatory Items
Do not Allow Save and Release with Empty Mandatory Items
Request ParamsAdditional parameters that can be passed into the page when it is called. The format is:

param1=value1&param2=value2…  

Auto Release on NextDetermines whether or not to do a "Save and Release" on a click of the "Next" button. By default, clicking the "Next" button is the same as clicking the "Save" button. 
OperationFree-text definition of the ESig operation being performed with the processing. This applies even if ESig is not used. 
ESig Displays an ESig dialog before saving. This generates a TraceLogId that is added to all audit records generated by the save.
ESig Required"Yes" executes an ESig prompt following a button onClick event. "No" does not execute an ESig prompt.
MessageSpecifies the "Statement of Signing" text, which is passed into the ESig page and appears at the top of the Esig prompt.
Reason RequiredDetermines if an Audit Reason is required.
Reason TypeESig Reason prompt options: Free Text or Standard.
Reason RefTypeReference Type containing the Audit Reasons to be displayed on the ESig page.
Step Properties None.

 

eFormStep

Top../images/arwup.gif (846 bytes)

The eFormStep presents a standard eForm within a Task. Forms in the eFormStep are saved and processed in the same manner as Forms in the eFormManager, i.e., a Document is created and processing is executed.

A single Variable is used hold the value/state of the Form as a whole. The fields within the Form define "sub-variables" (shown in a tree structure in the Task Variables), which can be used elsewhere in the Task Definition (such as [variables.myform.fields.myfield]). Typically, these "sub-variables" are used in Action Blocks or other processing to create LabVantage objects.

Transitioning away from the eFormStep will automatically submit the Form as if the "Submit" button was clicked in the eFormManager (including validation, processing, etc.) and populate any Variables mapped onto theForm's fields. Transitions will be blocked if Validation errors occur on the Form. Transitioning back to the Form will show the saved Document.

The API call is:

sapphire.task.step.eform
This supports a subset of the standard eForms API, such as sapphire.task.step.eform.getFieldValue( 'myfield' ).

eFormStep Properties:

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
Mode Defines the mode of the eForm when it opens:
"Form" opens with a blank Form.
"Document" opens with an existing Document.
Form IdIf "Mode" is "Form", this is the FormId of a standard saved Form.
Form Version IdIf "Mode" is "Form", this is the Version of the Form.
New DocumentIf "Mode" is "Form", this is the new Document Id generated when the Form is saved. 
Document IdIf "Mode" is "Document", this is the Document Id of a saved eForm. 
Document Version IdIf "Mode" is "Document", this is the Document Version Id of a saved eForm.
Request Params Additional parameters that can be passed into the eForm when it is called. The format is:

param1=value1&param2=value2… 

Default ValuesDefines default values for Fields in the Form:
Field IdField Id in the Form to which the default value is set.                             
Default ValueDefault value to set. 
Variable Mapping Maps Fields in the eForm to Variables when the Step is unloaded.
Variable IdVariable Id into which the field value is entered.
Field IdFieldId in the eForm. 
InstanceField instance in the eForm.
On BackDetermines what the Form does if the Task goes "Back" and the Form is accessed a second time.
BlockGenerates an error, i.e., this Form should not be accessed twice.
Set Mode to FormUpon reentry, the Mode will be set to "Form".
Set Mode to DocumentUpon reentry, the Mode will be set to "Document".
On RepeatDetermines what the Form does if the Task contains a loop and the Form is accessed a second time.
BlockGenerates an error, i.e., this Form should not be accessed twice.
Set Mode to FormUpon reentry, the Mode will be set to "Form".
Set Mode to DocumentUpon reentry, the Mode will be set to "Document".
Step Properties None.

 

ESigStep

Top../images/arwup.gif (846 bytes)

The ESigStep forces entry of ESig details within a Task. It can be used as a gating mechanism in a Task and/or the ESig details can be used in subsequent Steps. Note that some Steps (such as ActionBlockStep, MaintPageStep, etc.) provide their own ESig mechanism.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
ESig MessageMessage to diaplay to the User concerning the ESig. 
Username TextUser text prompt in the ESig.
Password TextPassword text prompt in the ESig. 
Reason TextReason text prompt in the ESig. 
Reason TypeESig Reason prompt options: Free Text or Standard.
Reason RefTypeReference Type containing the Audit Reasons to be displayed on the ESig page.
Reason RequiredDetermines if an Audit Reason is required.
Reason VariableDefines a Variable into which the entered Reason will be saved. 
Audit ActivityOperation or audit activity represented by this ESig. 
Generate TraceLog EntryGenerates a TraceLogId taht can be used in subsequent Steps within the Task.
TraceLog VariableDefines a Variable for the generated TraceLogId. 
Step Properties None.

 

FileChooserStep

Top../images/arwup.gif (846 bytes)

The FileChooserStep allows upload of a client-side file to the server, server-side selection of files, and preview of the chosen files. The FileChooserStep is an extension of the JSPStep.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Determines the Step behavior.
JSP FilenameThis is not to be used for configuration (the Step Type Properties are hidden in the Task Definition).
Loaded OperationThis is not to be used for configuration (the Step Type Properties are hidden in the Task Definition). 
Step Properties Extensions to the Step Type Properties.
TypeDetermines the type of file browser dialog to use: "Server" (server-side) or "Client" (client-side).
PromptPrompt for the file browser. 
Server Side Properties These apply if "Type" is "Server".
Root PathPath at which the file browser opens.
Extensions Collection of file extensions for which to browse.
ExtensionFile extension for which to browse (such as *.txt).
titleTtile of the file extension (such as Text File). 
Navigation Determines how the server-side browser allows navigation.
FreeAllows navigation both up and down the file tree.
Lock UpAllows navigation only down the file tree. 
Lock Up and DownAllows only the capability of selecting files in the specified directory. 
EmbeddedDetermines if the file browser is displayed as embedded in the page. Set to "No" to use a popup window. 
Allow New FileDetermines if new files that do not exist are allowed. 
Client Side Properties These apply if "Type" is "Client".
UploadDetermines if the selected file can be uploaded to the server.
File Location Id Value of the "File Locations → Id" property in the File Location Policy for the Upload node that is used to determine available upload locations. Note that this is the identifier for the set of "File Locations" properties. It is not the name of the node itself. This defines the upload path.
ExtensionsFile extensions for which the client-side dialog will browse.
Show PreviewShows a preview of the selected file. 
Button TextText of the button. 
Filename VariableVariable Id into which the the selected file path is written.

 

FileViewerStep

Top../images/arwup.gif (846 bytes)

The FileViewerStep displays the contents of a text file. If the file is CSV or Microsoft Excel, this can display as a spreadsheet using the spreadsheet viewer in the Data File Parser. The FileViewerStep is an extension of the JSPStep.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Determines the Step behavior.
JSP FilenameThis is not to be used for configuration (the Step Type Properties are hidden in the Task Definition).
Loaded OperationThis is not to be used for configuration (the Step Type Properties are hidden in the Task Definition). 
Step Properties Extensions to the Step Type Properties.
FilenameFilename of the file to view. This can be the name of a non-binary text file, or it can be a Variable.
CSV File If this is a CSV file, these properties apply.
Display Type Determines how the CSV text id displayed.
SpeadsheetAs a spreadsheet. 
Raw TextRaw content.
HTMLAs an HTML table. 
Separator CharacterThis defaults to comma, but can be tab or other character. 
Quote CharacterDefaults to single quote, but can be set to alternative. 
Escape CharacterDefaults to CSV escape character. 
Line End CharacterDefaults to CSV end-of-line character. 
CharsetCharset to use for the text reading. 
Maximum Lines To ReadMaximum number of lines to read from the text file. 

 

FormStep

Top../images/arwup.gif (846 bytes)

The FormStep provides a Form-based interface to collect data within a Task. This Step should not be confused with the eFormStep, which actually hosts a full eForm Document. The FormStep provides a subset of the functionality available using eForms technology (such as validation, expression-based properties to show/hide and enable/disable Fields, Sections, Groups, etc.), but with these key differences:

The Form definition is saved within the Task, not in the Form table.
Forms do not create a Document and do not support bound Worksheets.
Forms do not have any processing associated with them.
Forms do not have Annotations, Follow-Ups, Attachments or any other construct that saves data against the Document tables.

A single Variable of type "Form"is used hold the value/state of the Form as a whole. The Fields within the Form define "sub-variables" of the variable (shown in a tree structure in the Task Variables), which can be used elsewhere in the Task definition (such as [variables.myform.fields.myfield]). Typically these "sub-variables" are used in Action Blocks or other processing to create LabVantage objects. The Form Step supports a subset of the standard eForms API, e.g., sapphire.task.step.form.getFieldValue( 'myfield' ).

Transitioning away from the FormStep will automatically populate the Form Variable with the value/state of the Form. Transitions will be blocked if Validation errors occur on the Form. Transitioning back to the Form will set the Form to the same value/state of the Form Variable.

This Step also lets you build Action Blocks and Groovy script using the Action Block Editor. ActionBlocks and Groovy scripts are executed just before the Step is unLoaded (meaning immediately before moving to the next Step). Both types of processing can reference the Task context and the Task Variables, and can return output variables in a manner similar to the ActionBlockStep and GroovyStep. ESig properties are also available to allow optional signing of the processing.

The API call is:

sapphire.task.step.form
Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
Form LayoutDefines the Form to be displayed in the Step using the Form Builder.
Default Values Defines default values for Fields in the Form:
Field IdField Id in the Form to which the default value is set.                             
Default ValueDefault value to set. 
Variable IdDefines a Variable to hold the Form values.
Action Block "Edit Action Block" opens the Action Block Editor.
Groovy "Edit Groovy" opens the Action Block Editor in Groovy mode.
Operation Free-text definition of the ESig operation being performed with the processing. This applies even if ESig is not used.
ESig Displays an ESig dialog before the script executes. This generates a TraceLogId that is added to all audit records generated by the script.
ESig Required"Yes" executes an ESig prompt following a button onClick event. "No" does not execute an ESig prompt.
MessageSpecifies the "Statement of Signing" text, which is passed into the ESig page and appears at the top of the Esig prompt.
Reason RequiredDetermines if an Audit Reason is required.
Reason TypeESig Reason prompt options: Free Text or Standard.
Reason RefTypeReference Type containing the Audit Reasons to be displayed on the ESig page.
Step Properties None.

 

GroovyStep

Top../images/arwup.gif (846 bytes)

The GroovyStep executes Groovy script within a Task. This Step lets you build the Groovy script using the Action Block Editor. Variables can be used in the script using the implicit variables object, e.g., variables.batchid or variables.sampledetailsform.fields.sampletype.

The GroovyStep can be run in a "Manual" Task (through prmpts in the UI), or an "Auto-Execute" Task (in which case, the UI properties are ignored).

Output values from this Step are automatically set into Task Variables. Output values can be set into the implicit output object, e.g., output.rawsamples = "S1;S2". If an output maps onto a defined Variable, the Variable Types must match.

The API call is:

sapphire.task.step.groovy
Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
Groovy"Edit Groovy" opens the Action Block Editor in Groovy mode.
Callback ActionJavaScript to execute after script processing has completed. This overrides the default "sapphire.task.next()" call.
Confirm MessageRich-text message to display before the script is executed. The script can then be executed with sapphire.task.step.groovy.process() or any other "forward" transition (such as clicking "Next"). If you leave this property blank, the script will execute automatically on entry to the Step.
Processing MessageRich-text message to display when script is being executed (defaults to "Processing…").
OperationFree-text definition of the ESig operation being performed with the processing. This applies even if ESig is not used.
ESig Displays an ESig dialog before the script executes. This generates a TraceLogId that is added to all audit records generated by the script.
ESig Required"Yes" executes an ESig prompt following a button onClick event. "No" does not execute an ESig prompt.
MessageSpecifies the "Statement of Signing" text, which is passed into the ESig page and appears at the top of the Esig prompt.
Reason RequiredDetermines if an Audit Reason is required.
Reason TypeESig Reason prompt options: Free Text or Standard.
Reason RefTypeReference Type containing the Audit Reasons to be displayed on the ESig page.
On Repeat Determines what the script does if the Task contains a loop and the script is accessed a second time.
BlockGenerates an error, i.e., this script should not be accessed twice.
Re-ExecuteExecute the script on each loop.
SkipSkip this step for second and subsequent loops.
Step Properties None.

 

HTMLStep

Top../images/arwup.gif (846 bytes)

The HTMLStep presents HTML to the User for the purpose of issuing instructions (such as text from an SOP) or a summary of what occurred earlier in the Task. This Step includes an "acknowledgement" feature that forces a User to acknowledge the message before the Task can proceed, with provisions for requiring the User to re-authenticate before proceeding.

The API call is:

sapphire.task.step.html

This Step supports substitution as follows:

Variables (using drag-and-drop or entry)

Type of Variable Basic Variable Substitution
String [variables.variableid]
SDIList [variables.variableid] or [variables.variableid.keyid1] (this also accepts keyid2 or keyid3)
Form [variables.variableid.fields.fieldid]

Examples:

This task created [variables.copies] Samples
You have added sample [variables.newsample.keyid1] of type [variables.formdetails.fields.sampletype]
You are [variables.myform.fields.age] years old

Step Type Properties

PropertyList and Collection Types not supported. Example syntax:

[steptypeproperty.propertyid]

Button Properties

This is useful for "Click the [button.next123.text] button to continue" Example syntax:

[button.propertyid]

User Details

Example syntax:

[user.connectionid]   [user.departmentlist]
[user.databaseid]   [user.sysuserid]
[user.defaultdepartment]   [user.sysusername]

This Step also supports Groovy substitutions, which must be surrounded by $G{}. Examples:

Added $G{variables.copies} Samples
I will be creating $G{variables.howmany} sample$G{variables.howmany == "1" ? "" : "s"}

You can use Groovy to generate multiple variations of text and HTML formatting. Examples:

SDIList object

Syntax Description
variables.mysamplelist.toString() generates a standard semicolon separated list of keys, e.g. S1;S2;S3
variables.mysamplelist.toText() generates a smarter list, e.g. "S1, S2 and S3"

HTML object (to generate HTML formatting snippets around SDIList variables)

Syntax Description
html.toTable( mysamplelist ) generates a simple table (<table><tr><td>S1</td></tr></table>)
html.toList( mysamplelist ) generates a simple html list (<ul><li>S1</li></ul>)

taskContext object (   all getters are available, e.g., taskContext.getTaskdefid()   )

Syntax Description
html.toTable( mysamplelist ) generates a simple table (<table><tr><td>S1</td></tr></table>)
html.toList( mysamplelist ) generates a simple html list (<ul><li>S1</li></ul>)

User object

Syntax Description
user.sysuserid UserId in the SysUser table.

HTMLStep Properties:

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
HTMLDefines the HTML for the Step.
Show AcknowledgementDisplays the "Message" below that forces a User to acknowledge the message before the Task can proceed.
PositionDefines the position of the Acknowledgement message: Top or Bottom.
MessageAcknowledgement message.
Password RequiredIf "Show Acknowledgement" is "Yes", this prompts for Username and Password to re-authenticate before proceeding.
Step Properties None.

 

JSPStep

Top../images/arwup.gif (846 bytes)

The JSPStep provides a framework for custom functionality using standard LabVantage JSP development techniques. This Step lets you define your own properties to drive the JSP page in a manner similar to Page Types.

The API call is:

sapphire.task.step.jsp
Step Definition Properties See Common Step Definition Properties.
Step Type Properties None.
Step Properties None.

 

ListPageStep

Top../images/arwup.gif (846 bytes)

The ListPageStep presents an SDI List page within a Task. Use this primarily for selecting items, i.e., its behavior is similar to a Lookup page as a Step in the Task. Selected items would typically be stored in an SDIList variable. Retrieval into the list can be driven by a Query, a list of SDIs, or by User selection through the SDI List page Search Bar. As with other "page wrapper" Steps, the ListPageStep toolbar will be overridden by the Task toolbar. Any functions on the toolbar that must be preserved in the Task must be added as Custom Buttons on the Step.

Transitioning away from the ListPageStep automatically populates the Variable with the selected items in the list.

The API calls are

sapphire.task.step.list
This maps onto sapphire.page.list in the frame hosting the Web page and provides access to the sapphire.page.list object API, e.g., sapphire.task.step.list.getSelected().
sapphire.task.step.list.window
This provides access to the frame window object, and thereby all page-defined functionality, e.g., sapphire.task.step.list.window.getSelectedItems().

ListPageStep Properties:

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
List PageThe SDI List page to use. This can also be a Lookup page.
SDCSDC supported by the SDI List page.
Query Mode Determines how the page is queried:

By Key Id: Queries by the SDI KeyId1. Provide a list of KeyIds. These can be either manually entered or mapped from a Variable using the KeyId1, KeyId2, and KeyId3 properties below.

By Query: Choose one of the Query SDIs from the "Query" dropdown list below and provide the desired "Query Params" below. You can also provide a "Restrictive Where" clause below to further limit the Query results.

KeyId1If "Query Mode" is "By KeyId", specify the KeyId1 to query.
KeyId2If "Query Mode" is "By KeyId", specify the KeyId2 to query.
KeyId3If "Query Mode" is "By KeyId", specify the KeyId3 to query.
QueryIf "Query Mode" is "QUery", choose the Query here.
Query Params Parameters (if any) defined by the Query SDI.
ParameterValue of the Query Parameter.
Restrictive WhereRestrictive "Where" clause to further limit the Query results.
Min SelectMinimum number of SDIs that can be selected.
Max SelectMaximum number of SDIs that can be selected. Setting this to 1 changes from a checkbox to a radiobutton.
Hide Search Bar"Yes" hides the Search Bar, thus restricting Queries that can be executed.
Request Params Optional parameters to be passed to the page as if they were passed in through the URL. The format is:

param1=value1&param2=value2…

Selected Item Variable IdVariable into which the selected SDIs will be placed.
Step Properties None.

 

LoadArrayStep

Top../images/arwup.gif (846 bytes)

The LoadArrayStep is used to load Plates in the LoadArray Task Definition.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
Web PageURL of the page to load.
Request Params Request Parameters to input. This is used internally by the Task Definition and is not configurable. For example, the OOB LoadArray Task uses its defined Task Variables in the params as follows:

keyid1=[variables.selectedarray.keyid1]&methodid=[variables.arraymethod.keyid1]&methodversionid=[variables.arraymethod.keyid2] .

Loaded OperationThis is not to be used for configuration. 
Step Properties Extensions to the Step Type Properties.
KeyId1This is used internally by the Task Definition and is not configurable. 
Primary QueueThis is used internally by the Task Definition and is not configurable. 
Secondary QueueThis is used internally by the Task Definition and is not configurable. 
Input Queues Defines the Input Queues.
Zone TypeThis is used internally by the Task Definition and is not configurable.
SDCThis is used internally by the Task Definition and is not configurable. 
Task Input IdThis is used internally by the Task Definition and is not configurable. 

 

LoadArrayZoneStep

Top../images/arwup.gif (846 bytes)

The LoadArrayZoneStep is used to load Zones in the LoadArray Task Definition.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
JSP FilenameThis is not to be used for configuration.                            
Loaded OperationThis is not to be used for configuration.
Step Properties Extensions to the Step Type Properties.
Array IdThis is used internally by the Task Definition and is not configurable. 
Array Method IdThis is used internally by the Task Definition and is not configurable. 
Array Method Version IdThis is used internally by the Task Definition and is not configurable. 
List of Zones to LoadThis is used internally by the Task Definition and is not configurable. 

 

MaintPageStep

Top../images/arwup.gif (846 bytes)

The MaintPageStep presents an SDI Maintenance page within a Task. The Step properties define the SDC and KeyId1/2/3, plus provide options to add and edit.

A set of Variables can be mapped to columns in the SDI Maintenance page to be populated when a transition occurs. Transitioning away from the maint page step (except "Back") will automatically save the page data and populate the any Variables mapped onto the form columns. Transitions will be blocked if an error occurs on the form. In add mode, transitioning depends on the "On Back" and "On Repeat" properties below.

The API calls are

sapphire.task.step.maint
This maps onto sapphire.page.maint in the frame hosting the Web page and provides access to the sapphire.page.maint object API, e.g., sapphire.task.step.maint.save().
sapphire.task.step.maint.window
This provides access to the frame window object, and thereby all page-defined functionality, e.g., sapphire.task.step.maint.window.getSelectedItems().

MaintPageStep Properties

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
Maint PageThe SDI Maintenance page to use.
SDCSDC supported by the SDI Maintenance page.
KeyId1KeyId1 of the SDI.
KeyId2KeyId2 of the SDI.
KeyId3KeyId3 of the SDI.
Mode"Add" will let you add SDIs. "Edit" provides editing capability.
OperationFree-text definition of the ESig operation being performed on the page.
ESig Displays an ESig dialog before saving.
ESig Required"Yes" executes an ESig prompt following a button onClick event. "No" does not execute an ESig prompt.
MessageSpecifies the "Statement of Signing" text, which is passed into the ESig page and appears at the top of the Esig prompt.
Reason RequiredDetermines if an Audit Reason is required.
Reason TypeESig Reason prompt options: Free Text or Standard.
Reason RefTypeReference Type containing the Audit Reasons to be displayed on the ESig page.
Add Options Options available if the "Mode" is "Add".
TemplateTemplate for the new SDI to be added.                              
CopiesNumber of copies to create. 
Show Template SelectorDetermines if the Template Selector is shown. 
Request ParamsOptional parameters to be passed to the page as if they were passed in through the URL. The format is:

param1=value1&param2=value2…

Default Values Injects literal or Variable values into the field default values.
DatasetThis is currently not used, but has been defined for future use. Currently, only default values for the primary can be defined.
Column IdColumn to be set in the primary. 
Default ValueDefault value for the column. 
Variable Mapping When navigating away from the Step (after a "Save"), this stores the values of these fields in Variables.
Variable IdDefines a Variable into which the column value is entered. 
DatasetThis is currently not used, but has been defined for future use. Currently, only default values for the primary can be used.
Column Id Column in the primary Data Set to use.
On BackDetermines what the page does if the Task goes "Back" and the page is accessed a second time.
BlockGenerates an error, i.e., this page should not be accessed twice.
Set Mode to Add.Sets page "Mode" to "Add".
Set Mode to Edit.If returning to this Step via a "Back" operation, you can force the mode into "Edit". This is useful if it was originally in "Add" mode.
On RepeatDetermines what the page does if the Task contains a loop and the page is accessed a second time.
BlockGenerates an error, i.e., this page should not be accessed twice.
Set Mode to AddSets page "Mode" to "Add".
Set Mode to EditSets page "Mode" to "Edit".
Step Properties None.

 

NoopStep

Top../images/arwup.gif (846 bytes)

The NoopStep does not perform any specific operation in a Task. Essentially, it does nothing. However, the Task Manager framework processes it in the same way as any other Step, so all generic Step functionality is performed, e.g., the Loaded Script and Transition functionality will execute. For example, suppose a Task has three setup variables (setup1, setup2, setup3), and you need a switch that determines whether or not the User can override those variables. The first thing the Task should do is branch based on the "prompt" variable. You can do this by adding a NoopStep with a Transition expression.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties None.
Step Properties None.

 

QCSequenceStep

Top../images/arwup.gif (846 bytes)

The QCSequenceStep allows QC Batches to be defined in a Step. The QC Batches generated are based on the standard QC Batch wizard functionality, but they are interactive in that the structure of the Batch is automatically shown as Samples are added.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
QC MethodDefines the QC Method for the QC Batch. 
QC Method VersionDefines the QC Method Version for the QC Batch.
QC Batch VariableDefines a Variable to hold the new QC Batch Id that is generated. 
Task Input IdThe Input Queue from which you are choosing SDIs. This is a mandatory property.
Selected Items Variable IdName of the Variable that will hold the SDIs selected from the Input Queue. This must be an SDIList Variable Type.
Min SelectMinimum number of SDIs that can be selected.
Max SelectSetting this to 1 changes from a checkbox to a radiobutton.
Auto SelectIf set to "Yes", the first "n" items in the list specified by "Number to Auto Select" are automatically selected, i.e., the checkbox is checked.
Number to SelectNumber of items to "Auto Select".
Queue Usage "Exclusive" means that any item chosen from the Input Queue is removed from the Queue (to prevent it from being processed by someone else).

"Shared" is a mode where items can remain on the Input Queue to be processed multiple times (such as where the Queue is a resource, as is the case with SDCs such as Consumable Lots).

List Definition Defines the SDI List.
SDCSDC supported by the page.
Initial Grouped"Yes" sets the page to group when it loads.
Columns Defines columns in the list.
IdentifierUnique identifier for this item, rendered as an ID attribute in the HTML tag.
ColumnIdentifier of the SDI column containing values displayed in the list.
titleText displayed on the colum header of the SDI list.
Mode Display attributes of retrieved values in the column:
Display TextShows retrieved values.
Hidden ValueHides retrieved values.
TipTooltip for the column value. This supports value substitution.
WidthWidth of the column in pixels.
AlignmentHorizontal position within the SDI list column (left, middle, or right).
Return Value"Yes" returns the key value of the selected column. For example, when you choose a Sample on a Lookup Page, this would return the keyid1 (sampleid).
Link Defines the linked page.
HRefDestination of the link, specified as a call to the Request Controller.
TargetName of the window in which the linked page opens. You can enter any name here, and the new window (browser instance) will automatically assume that name. If you do not specify a target, the linked page opens in the current window.
TipTooltip text displayed onMouseOver.
New Window WidthOverrides the default window width of 800px. If the target is _blank or view, this opens a new window.
New Window HeightOverrides the default window height of 600px. If the target is _blank or view, this opens a new window.
Open in LabVantage DialogOpens a LabVantage dialog rather than a browser window. If the target is _blank or view, this opens a new window.
Display ValueValues displayed in place of the corresponding retrieved values. Separate each with a semicolon. For example, if you retrieve values from the createby column, you could specify JDrake=JD. All values retrieved as JDrake would then be dispalyed as JD. This works only if you replace the entire retrieved string (it does not work on partial strings).
Pseudo ColumnA "pseudocolumn" is a column that is rendered on the page, but does not exist in the SDC. Do not choose a database columnid when specifying a pseudocolumn. If you want to access this pseudocolumn using a JavaScript function or another pseudocolumn, specify an identifier of your own choice.

This value you enter can be HTML or a Variable. For example:

If you enter an HTML image tag, then specify a link (using the Link URL property above), the image becomes a hyperlink.
If you use a variable, the variable must point to one of the columns defined by the "Column" property. In this case, you can hide the actual column so that only the pseudocolumn is displayed. For example, you could specify Date: [moddt] to display the date and time a Sample was last modified (such as Date: 8/1/2003 15:36:24), but only if you have previously chosen moddt as one of the columns to be rendered.
Date FormatFormat in which date/time is displayed, as determined by the user's Locale. For information about how LabVantage handles Locale, see Locale and Time Zone in the topic Internationalization and Localization.

The popup calendar and all date validation routines recognize and function with the chosen format.

If you choose a format that specifies only date (without time), the time defaults to midnight in your time zone. Be advised that this could be a day earlier for a user in a different time zone.

Translate Value"Yes" translates all values in the column (see Translating Properties in section 2 (Properties Overview).
Sort By Specifies how columns are sorted:
IdentifierUnique identifier for this item, rendered as an ID attribute in the HTML tag.
ColumnIdentifier of the SDI column by which to sort all other columns.
DirectionSpecify "a" to sort the column in ascending order, or "d" to sort in descending order. If you do not choose a direction, this sorts in ascending order.
Dynamic Yes sorts all columns when the current column is clicked, then refreshes the list to show the new sort order.

Sorting is performed by the JavaScript function sortResult(), located in WEB-CORE/elements/scripts/list.js.

All columns in the "Sort By" collection are used for sorting. Clicking a column header results in the clicked column being sorted first. The remaining columns defined here sort according to their sequence in the collection (excluding the clicked column).

Group By Groups by the SDI column you select, creating expandable-collapsible lists to group the SDIs by this column.

This works for any column, even linked columns. If there is an SDC (foreign key) link from a column of one or more SDIs in the list to the primary key of another SDC, this property creates expandable-collapsible lists to group SDIs by the SDC to which they are linked. For example, if this is a Sample list, and the "batch" column of the Sample SDC is linked by foreign key to the Batch SDC, each expandable-collapsible list represents a Batch, with items below this list being the Samples linked to the Batch.

IdentifierUnique identifier for this item, rendered as an ID attribute in the HTML tag.
ColumnIdentifier of the column by which you want to group the SDIs. For foreign keys, this is the SDC column that is linked by foreign key to another SDC.
titleText that precedes the identifier of a group in each collapsible-expandable list. For example, assume each collapsible-expandable list represents a Batch with items below it being Samples with columns linked to the Batch SDC. Each Batch SDIId is the number of the Batch (such as B001). If you enter a title of "Batch", the collapsible-expandable list of Samples for B001 would be labeled "Batch B001".
Display ValueValues displayed in place of the corresponding retrieved values. Separate each with a semicolon. For example, if you retrieve values from the createby column, you could specify JDrake=JD. All values retrieved as JDrake would then be dispalyed as JD. This works only if you replace the entire retrieved string (it does not work on partial strings).
Link Hyperlink for items in the column. For syntax rules and guidelines, see Request Controller and Variables.
Translate Value"Yes" translates all values in the column (see Translating Properties in section 2 (Properties Overview).
Addtional Columns Lets you display additonal columns.
IdentifierUnique identifier for this item, rendered as an ID attribute in the HTML tag.
ColumnIdentifier of the column you want to display.
title Text that identifies each column in the header.
Display ValueValues displayed in place of the corresponding retrieved values. Separate each with a semicolon. For example, if you retrieve values from the createby column, you could specify JDrake=JD. All values retrieved as JDrake would then be displayed as JD. This works only if you replace the entire retrieved string (it does not work on partial strings).
Translate Value"Yes" translates all values in the column (see Translating Properties in section 2 (Properties Overview).
Texts Substitues your text in place of the default text rendered on the page:
pageText generated to identify the page number (and number of pages) when paging occurs.
Prev
Next
of
No Rows FoundString returned when the Element has not found any data to retrieve.
Group ByIf you want to replace the default text at the left, specify the new text here.
Select All
Deselect All
Collapse All
Expand All
Step Properties None.

 

QueueSelectorStep

Top../images/arwup.gif (846 bytes)

The QueueSelectorStep presents a list of SDIs from a Task's Input Queue and allows the User to select one or more SDIs to be used in the Task execution. This looks (and is configured) much like a Lookup page. The style, grouping, sorting, and columns displayed in the list are configurable with Step properties (similar to the list Element). The selection of items (such as auto-select, number required, etc.) is also configurable. The SDIs in the list are loaded using LabVantage Security options.

Many Tasks will use the QueueSelectorStep to let Users choose queued items. However, there are exceptions where the QueueSelectorStep should not be used. For example, this Step is not suitable for Auto-Execute Tasks (no human required), when the User will always want to operate on all of the queued SDIs, or when another Step takes care of choosing the queued SDIs (such as when loading a Plate or QCBatch).

Transitioning away from the QueueSelectorStep automatically sets the Variable associated with the Input Queue to the list of values selected and adds this list (or updates it if the Step is revisited) to the Task execution items in the database. Transitioning back to the QueueSelectorStep re-selects the items previously selected.

The API call is:

sapphire.task.step.queueselector

This API call can be used to return values from any columns using

sapphire.task.step.queueselector.getSelectedColumnValue( columnlist )

where columnlist is the column (or columns) from which values are returned. Columns must be defined as "Return Values" in the QueueSelectorStep "List Definition".

Use a semicolon to separate multiple selected row values, such as aaa;bbb. Use a vertical bar to separate multiple column values, such as aaa|QC.

For multiple selected rows with multiple column values, use a semicolon to separate the rows and a vertical bar to separate the rows, such as aaa|QC;bbb|DNA.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
Task Input IdThe Input Queue from which you are choosing SDIs. This is a mandatory property.
Selected Items Variable IdName of the Variable that will hold the SDIs selected from the Input Queue. This must be an SDIList Variable Type.
Min SelectMinimum number of SDIs that can be selected.
Max SelectSetting this to 1 changes from a checkbox to a radiobutton.
Auto SelectIf set to "Yes", the first "n" items in the list specified by "Number to Auto Select" are automatically selected, i.e., the checkbox is checked.
Number to Auto SelectNumber of items to "Auto Select".
Queue Usage "Exclusive" means that any item chosen from the Input Queue is removed from the Queue (to prevent it from being processed by someone else).

"Shared" is a mode where items can remain on the Input Queue to be processed multiple times (such as where the Queue is a resource, as is the case with SDCs such as Consumable Lots).

Show Scanning Bar Yes/No shows/hides the Scanning Bar. "List Element style Scan" offers functionality similar to the list Element "Allow Scan Selection" property.
Scan Selection Column List This is an optional property that can be used when "Show Scanning Bar" is set to "List Element style Scan" to scan using columns other than primary key columns. The functionality similar to the list Element "Scan Selection Column List" property.
Scanning Defines scanning options.
Scan TextDefines the text to prompt for a scan item. 
Item Not Found TextDefines the text to display when an item scanned could not be found in the queue. 
Check AliasesDetermines if scanned item aliases should be checked. 
Alias TypeDefines the type of alias to check against (leave blank for all). 
Check Alternate ColumnAllows items to be scanned by an alternate column in the SDC's primary table. If "Yes", the "Alternate Column" below will be checked during the scanning process.
Alternate ColumnIdentifier of the alternate column checked during the scan.
List Definition Defines selected columns.
SDCSDC supported by the page.
Initial Grouped"Yes" sets the page to group when it loads.
Columns Defines columns.
IdentifierUnique identifier for this item, rendered as an ID attribute in the HTML tag.
ColumnIdentifier of the SDI column containing values displayed in the list.
titleText displayed on the colum header of the SDI list.
Mode Display attributes of retrieved values in the column:
Display TextShows retrieved values.
Hidden ValueHides retrieved values.
TipTooltip for the column value. This supports value substitution.
WidthWidth of the column in pixels.
AlignmentHorizontal position within the SDI list column (left, middle, or right).
Return Value"Yes" returns the key value of the selected column. For example, when you choose a Sample on a Lookup Page, this would return the keyid1 (sampleid).
Link Defines the linked page.
HRefDestination of the link, specified as a call to the Request Controller.
TargetName of the window in which the linked page opens. You can enter any name here, and the new window (browser instance) will automatically assume that name. If you do not specify a target, the linked page opens in the current window.
TipTooltip text displayed onMouseOver.
New Window WidthOverrides the default window width of 800px. If the target is _blank or view, this opens a new window.
New Window HeightOverrides the default window height of 600px. If the target is _blank or view, this opens a new window.
Open in LabVantage DialogOpens a LabVantage dialog rather than a browser window. If the target is _blank or view, this opens a new window.
Display ValueValues displayed in place of the corresponding retrieved values. Separate each with a semicolon. For example, if you retrieve values from the createby column, you could specify JDrake=JD. All values retrieved as JDrake would then be dispalyed as JD. This works only if you replace the entire retrieved string (it does not work on partial strings).
Pseudo ColumnA "pseudocolumn" is a column that is rendered on the page, but does not exist in the SDC. Do not choose a database columnid when specifying a pseudocolumn. If you want to access this pseudocolumn using a JavaScript function or another pseudocolumn, specify an identifier of your own choice.

This value you enter can be HTML or a Variable. For example:

If you enter an HTML image tag, then specify a link (using the Link URL property above), the image becomes a hyperlink.
If you use a variable, the variable must point to one of the columns defined by the "Column" property. In this case, you can hide the actual column so that only the pseudocolumn is displayed. For example, you could specify Date: [moddt] to display the date and time a Sample was last modified (such as Date: 8/1/2003 15:36:24), but only if you have previously chosen moddt as one of the columns to be rendered.
Date FormatFormat in which date/time is displayed, as determined by the user's Locale. For information about how LabVantage handles Locale, see Locale and Time Zone in the topic Internationalization and Localization.

The popup calendar and all date validation routines recognize and function with the chosen format.

If you choose a format that specifies only date (without time), the time defaults to midnight in your time zone. Be advised that this could be a day earlier for a user in a different time zone.

Translate Value"Yes" translates all values in the column (see Translating Properties in section 2 (Properties Overview).
Sort By Specifies how columns are sorted:
IdentifierUnique identifier for this item, rendered as an ID attribute in the HTML tag.
ColumnIdentifier of the SDI column by which to sort all other columns.
DirectionSpecify "a" to sort the column in ascending order, or "d" to sort in descending order. If you do not choose a direction, this sorts in ascending order.
Dynamic Yes sorts all columns when the current column is clicked, then refreshes the list to show the new sort order.

Sorting is performed by the JavaScript function sortResult(), located in WEB-CORE/elements/scripts/list.js.

All columns in the "Sort By" collection are used for sorting. Clicking a column header results in the clicked column being sorted first. The remaining columns defined here sort according to their sequence in the collection (excluding the clicked column).

Group By Groups by the SDI column you select, creating expandable-collapsible lists to group the SDIs by this column.

This works for any column, even linked columns. If there is an SDC (foreign key) link from a column of one or more SDIs in the list to the primary key of another SDC, this property creates expandable-collapsible lists to group SDIs by the SDC to which they are linked. For example, if this is a Sample list, and the "batch" column of the Sample SDC is linked by foreign key to the Batch SDC, each expandable-collapsible list represents a Batch, with items below this list being the Samples linked to the Batch.

IdentifierUnique identifier for this item, rendered as an ID attribute in the HTML tag.
ColumnIdentifier of the column by which you want to group the SDIs. For foreign keys, this is the SDC column that is linked by foreign key to another SDC.
titleText that precedes the identifier of a group in each collapsible-expandable list. For example, assume each collapsible-expandable list represents a Batch with items below it being Samples with columns linked to the Batch SDC. Each Batch SDIId is the number of the Batch (such as B001). If you enter a title of "Batch", the collapsible-expandable list of Samples for B001 would be labeled "Batch B001".
Display ValueValues displayed in place of the corresponding retrieved values. Separate each with a semicolon. For example, if you retrieve values from the createby column, you could specify JDrake=JD. All values retrieved as JDrake would then be dispalyed as JD. This works only if you replace the entire retrieved string (it does not work on partial strings).
Link Hyperlink for items in the column. For syntax rules and guidelines, see Request Controller and Variables.
Translate Value"Yes" translates all values in the column (see Translating Properties in section 2 (Properties Overview).
Addtional Columns Lets you display additonal columns.
IdentifierUnique identifier for this item, rendered as an ID attribute in the HTML tag.
ColumnIdentifier of the column you want to display.
title Text that identifies each column in the header.
Display ValueValues displayed in place of the corresponding retrieved values. Separate each with a semicolon. For example, if you retrieve values from the createby column, you could specify JDrake=JD. All values retrieved as JDrake would then be displayed as JD. This works only if you replace the entire retrieved string (it does not work on partial strings).
Translate Value"Yes" translates all values in the column (see Translating Properties in section 2 (Properties Overview).
Texts Substitues your text in place of the default text rendered on the page:
pageText generated to identify the page number (and number of pages) when paging occurs.
Prev
Next
of
No Rows FoundString returned when the Element has not found any data to retrieve.
Group ByIf you want to replace the default text at the left, specify the new text here.
Select All
Deselect All
Collapse All
Expand All
Step Properties None.

 

ReagentChooserStep

Top../images/arwup.gif (846 bytes)

The ReagentChooserStep renders a form-like user interface to prompt for Consumables for the provided SDI. The ReagentChooserStep is an extension of the JSPStep.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
JSP FilenameThis is not to be used for configuration (the Step Type Properties are hidden in the Task Definition).
Loaded OperationThis is not to be used for configuration (the Step Type Properties are hidden in the Task Definition). 
Step Properties Extensions to the Step Type Properties.
TypeReagent (Consumable) Type. 
KeyId1KeyId1 of the Reagent. 
PromptText prompt. 
MandatoryDetermines if you must select a correct Reagent before continuing.

 

ReportStep

Top../images/arwup.gif (846 bytes)

The ReportStep displays a Report using the report viewer. Provide the Report details from the Report SDC, plus the SDI keys to which it refers, and the Step renders the report.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
ModeReport mode: "View Report" or "View Attachment".                              
SDCSDC Id of the SDI associated with the Report. 
KeyId1KeyId1 of the SDI associated with the Report. SDC Id of the SDI associated with the Report.
KeyId2KeyId2 of the SDI associated with the Report. 
KeyId3KeyId3 of the SDI associated with the Report.
ReportReport Id to be displayed. 
Report VersionVersion of the Report. 
Display TypeDisplay Type of the Report: "PDF" or "XLS". 
Parameter ValuesDefines Parameters to be passed into the Report:
ParameterName of the Parameter.                          
ValueValue of the Parameter.
Attachment NumberIf reading the Report from the SDI, set this to the Attachment Number.  
Attachment ClassClass of Attachment to read from the SDI. 
Request ParamsRequest parameters for the Report. 
Step Properties None.

 

SendBulletinStep

Top../images/arwup.gif (846 bytes)

The SendBulletinStep uses the SendBulletin Action to sent a Bulletin to a User.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
Action Block"Edit Action Block" opens the Action Block Editor.
Callback ActionJavaScript to execute after Action Block processing has completed. This overrides the default "sapphire.task.next()" call. 
Confirm MessageRich-text message to display before the Action Block is executed. The Action Block can then be executed with sapphire.task.step.actionblock.process() or any other "forward" transition (such as clicking "Next"). If you leave this property blank, the Action Block will execute automatically on entry to the Step. 
Processing MessageRich-text message to display when Action Block is being executed (defaults to "Processing…"). 
OperationFree-text definition of the "ESig" operation (below) being performed with the processing. This applies even if ESig is not used. 
ESig Displays an ESig dialog before sending.
ESig Required"Yes" executes an ESig prompt following a button onClick event. "No" does not execute an ESig prompt.
MessageSpecifies the "Statement of Signing" text, which is passed into the ESig page and appears at the top of the Esig prompt.
Reason RequiredDetermines if an Audit Reason is required.
Reason TypeESig Reason prompt options: Free Text or Standard.
Reason RefTypeReference Type containing the Audit Reasons to be displayed on the ESig page.
On RepeatDetermines what the Action Block does if the Task contains a loop and the Action Block is accessed a second time.
BlockGenerates an error, i.e., this Action Block should not be accessed twice.
Re-ExecuteExecute the Action Block on each loop.
SkipSkip this step for second and subsequent loops.
Step Properties Extensions to the Step Type Properties.
To User IdUser who is to receive the Bulletin.                              
SubjectSubject of the Bulletin. 
Message bodyMessage of the Bulletin. 

 

SendMailStep

Top../images/arwup.gif (846 bytes)

The SendMailStep uses the SendMail Action to send an email.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
Action Block"Edit Action Block" opens the Action Block Editor.
Callback ActionJavaScript to execute after Action Block processing has completed. This overrides the default "sapphire.task.next()" call.  
Confirm MessageRich-text message to display before the Action Block is executed. The Action Block can then be executed with sapphire.task.step.actionblock.process() or any other "forward" transition (such as clicking "Next"). If you leave this property blank, the Action Block will execute automatically on entry to the Step.  
Processing MessageRich-text message to display when Action Block is being executed (defaults to "Processing…").  
OperationFree-text definition of the "ESig" operation (below) being performed with the processing. This applies even if ESig is not used.  
ESig Displays an ESig dialog before sending.
ESig Required"Yes" executes an ESig prompt following a button onClick event. "No" does not execute an ESig prompt.
MessageSpecifies the "Statement of Signing" text, which is passed into the ESig page and appears at the top of the Esig prompt.
Reason RequiredDetermines if an Audit Reason is required.
Reason TypeESig Reason prompt options: Free Text or Standard.
Reason RefTypeReference Type containing the Audit Reasons to be displayed on the ESig page.
On Repeat 
Step Properties Extensions to the Step Type Properties.
To AddressEmail address of the recipient.
From AddressAddress from which the email is sent. 
SubjectSubject of the email. 
MessageMessage of the email. 

 

SplitterStep

Top../images/arwup.gif (846 bytes)

The SplitterStep provides a branching mechanism in a Task based on a declarative set of conditions. This could typically be used to split an input list of SDIs into different Output Queues (such as splitting a list of Samples by their Status).

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
SDCSDC corresponding to the list of SDIs to be split. 
Input Variable of ItemsVariable that holds the list of input SDIs. 
Conditions OperatorDefines the combining condition operator when more than one "Condition" (below) is defined. 
Conditions Defines conditions for the split.
TypeDefines the type of condition match: Value Match, Data Match, or Exists.
Dataset NameIf "Type" is "Value Match" or "Exists", this defines the Data Set values to use in the Condition.
Parameter ListIf "Type" is "Data Match", this defines the Parameter List data to use in the Condition. 
Parameter List VersionIf "Type" is "Data Match", this defines the Parameter List Version data to use in the Condition.  
Parameter List VariantIf "Type" is "Data Match", this defines the Parameter List Variant data to use in the Condition.  
DatasetIf "Type" is "Data Match", this defines the Data Set data to use in the Condition.  
ParameterIf "Type" is "Data Match", this defines the Parameter data to use in the Condition.  
Parameter TypeIf "Type" is "Data Match", this defines the Parameter Type data to use in the Condition.  
ReplicateIf "Type" is "Data Match", this defines the Parameter Replicate data to use in the Condition. 
ColumnIf "Type" is "Value Match", this defines the column data to use in the Condition. 
Value OperatorIf "Type" is "Value Match" or "Data Match", this defines the operator to use in the Condition. Values are Equal To, Not Equal To, Is Blank, Not Blank, Contains, Starts With, Ends With, Greater Than, Greater Than Or Equal To, Less Than, Less Than Or Equal To, Inclusive Between and Exclusive Between. 
Exists OperatorIf "Type" is "Exists", this defines the operator to use in the Condition. Values are Any, Equal To, Not Equal To, Greater Than, Greater Than Or Equal To, Less Than, and Less Than Or Equal To. 
ValueValue to use in the Condition. 
Upper ValueSecond (or upper) value to use in the Condition if required (such as with between conditions). 
Output Variable for Matching ItemsVariable to contain the list of SDIs that match the Conditions. 
Output Variable for Non_Matching ItemsVariable to contain the list of SDIs that do not match the Conditions. 
Step Properties None.

 

ValidateCustodyStep

Top../images/arwup.gif (846 bytes)

The ValidateCustodyStep validates to make certain the User has custody of TrackItems, and allows the User to take custody of TrackItems. The User is not allowed to continue unless he already has custody of the TrackItems or he takes custody of all TrackIitems. When run in a Task Definition, set the "inputtrackitemid" to the Task Variable that contains the TrackItemIds to be validated. If the User already has custody of all TrackItems, this Step will not appear in a GUI page.

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
JSP FilenameThis is not to be used for configuration (the Step Type Properties are hidden in the Task Definition).
Loaded OperationThis is not to be used for configuration (the Step Type Properties are hidden in the Task Definition).
Step Properties Defines the Step behavior.
SDCSDC associated with the custodial transfer. 
SDI Key 1

SDI Key 2

SDI Key 3

SDIs associated with the custodial transfer. 
Display Column CollectionColumns displayed on the custody page. 
Allow Force CustodyDetermines if the User can take custody, regardless of the current Custodian.

  

VariableInputStep

Top../images/arwup.gif (846 bytes)

The VariableInputStep lets Users who are executing Tasks populate Task Variables at runtime, i.e., while they are running a Task. This Step presents a list of Task Variables (in list-based or form-based layout) from which the User can choose. Configuration properties allow definition of the title and Editor style of each Task Variable, as well as defining whether or not it is mandatory. Prompts, input field styles (dropdown, lookup, etc.), defaults, and help are derived from properties defined for the Task Variable.

Transitioning away from the VariableInputStep automatically sets the entered values into the Task Variables. Transitioning back to the VariableInputStep sets the values as previously entered.

This Step also lets you build Action Blocks and Groovy script using the Action Block Editor. ActionBlocks and Groovy scripts are executed just before the Step is unLoaded (meaning immediately before moving to the next Step). Both types of processing can reference the Task context and the Task Variables, and can return output variables in a manner similar to the ActionBlockStep and GroovyStep. ESig properties are also available to allow optional signing of the processing.

The API call is:

sapphire.task.step.variableinput

VariableInputStep Properties

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
Input styleDetermines the variable layout: "List" or "Fixed Form".
Tab TextIf "Input style" is "Fixed Form", this is the text displayed on the Form tab.
List If "Input style" is "List", this defines visual attributes of the list.
Prompt Column WidthWidth of the column for the User prompt (in pixels).
Input Column WidthWidth of the column in pixels. 
Help Column WidthWidth of the help text column in pixels. 
Fixed Form If "Input style" is "Fixed Form", this defines visual attributes of the form.
Form ColumnsDefines the number of columns used to display the Variables (same as maint formcols).
Variables Details concernin the Task Variables:
Variable IdVariable defined in the Task to display in the Step.
PromptPrompt for the Variable input. This overrides any default prompt defined with the Variable. 
Editor styleEditor style for the Variable input. This overrides any default Editor style defined with the Variable. 
Default ValueDefault value for the Variable input. This overrides any default value defined with the Variable. 
MandatoryDetermines if the Variable input is mandatory. This overrides any default mandatory setting defined with the Variable. 
HelpHelp text for the Variable input. This overrides any default help text defined with the Variable. 
Col Span in FormDefines the number of columns the Variable should occupy in the form layout. 
Link To VariableDefines a link to a prior Variable in the set. This allows the Vvariable to be shown next to the prior Variable in the list layout. This is useful for showing a units variable next to the value Variable.
Action Block "Edit Action Block" opens the Action Block Editor.
Groovy "Edit Groovy" opens the Action Block Editor in Groovy mode.
Operation Free-text definition of the ESig operation being performed with the processing. This applies even if ESig is not used.
ESig Displays an ESig dialog before the script executes. This generates a TraceLogId that is added to all audit records generated by the script.
ESig Required"Yes" executes an ESig prompt following a button onClick event. "No" does not execute an ESig prompt.
MessageSpecifies the "Statement of Signing" text, which is passed into the ESig page and appears at the top of the Esig prompt.
Reason RequiredDetermines if an Audit Reason is required.
Reason TypeESig Reason prompt options: Free Text or Standard.
Reason RefTypeReference Type containing the Audit Reasons to be displayed on the ESig page.
Step Properties None.

 

WebPageStep

Top../images/arwup.gif (846 bytes)

Tthe WebPageStep displays a standard LabVantage page. Any Layout defined with the page is ignored. Note that in order to operate as a "well behaved" page within a Task, a page must:

Expose a global supportsTask() method that returns true.
Remove toolbar rendering (advancedtoolbar or other custom toolbars).
Call sapphire.task.pageLoaded() when all onLoad functionality is complete.

The API calls are

sapphire.task.step.webpage
This maps onto sapphire.page in the frame hosting the web page and provides access to the sapphire.page object API, e.g. sapphire.task.step.webpage.maint.save().
sapphire.task.step.webpage.window
This provides access to the frame window object and hence all page defined functionality, e.g., sapphire.task.step.webpage.window.getSelectedItems().

WebPageStep Properties

Step Definition Properties See Common Step Definition Properties.
Step Type Properties Defines the Step behavior.
Web PageIdentifier of the Web page.
Request ParamsAdditional parameters that can be passed into the page when it is called. The format is:

param1=value1&param2=value2… 

Loaded OperationFree-text to denote that the page loaded. 
Step Properties None.