User Tools

Site Tools


start:piping_answers_panel_information_and_other_information

This is an old revision of the document!


Piping

Piping allows you to merge information into the audit. The source of the information can be from the panel, answers to prior questions or key words. The general format of the piping is to surround the source with double square brackets [ [source] ] where source can be one of the following:

Key Words

  • pid - project id
  • rid - respondent / store id (internal)
  • uid - user / auditor id
  • fname - first name of user/auditor
  • lname - last name of user/auditor
  • fullname - full name of user/auditor
  • email - email address or user/auditor
  • company - the user/auditors company
  • grp - the audit group (numeric)
  • groupname - the name of the audit group
  • date - today's date
  • today - today's date
  • month - current month
  • day - current day
  • year - current year
  • timezone - geographic timezone
  • mdy - month, day year

Retrieving Information from the alignment table or panel (referred to as the panel):

Standard Panel Fields

  • rid
  • Salutation
  • First Name
  • MI
  • Last Name
  • Company
  • Title
  • Email
  • Address1
  • Address2
  • City
  • State
  • Zip
  • Country
  • Telephone
  • Extension
  • Intid
  • Extid
  • Language
  • Status

In addition the 50 available custom fields can be piped using the [ [panel:custom_1] ] or [ [panel:variable name of the custom field] ]. For example if custom field 1 is named Chain it can be piped to the audit using either [ [panel:custom_1] ] or [ [panel:chain] ] .

Combining Panel lookup and updates with Autodrop lists or Date input

Answers to Questions

The answers to prior questions can be piped by referencing the question number and where applicable the row and column specified. For choose many questions, all of answered options can be piped by adding the # sign after the question number [ [3#] ].

Examples:

Piping the answer to the third row of a choose one table: [ [1_3] ]. Where question 1 is a choose one table and the row is 3.

Piping the answer from a complex table with columns and rows: [ [1_2_4] ]. Where the question is 1 the row is 2 and the column is 4.

Piped answers will be displayed in the case they exist. To force lower case add the :lc option as follows:

[ [1:lc] ] will pipe the answer to question 1 in lowercase.

start/piping_answers_panel_information_and_other_information.1482765491.txt.gz · Last modified: 2016/12/26 10:18 by rnadler