+ All Categories
Home > Documents > System Variables Reference Guide

System Variables Reference Guide

Date post: 17-Feb-2018
Category:
Upload: maahiijain
View: 216 times
Download: 0 times
Share this document with a friend
129
7/23/2019 System Variables Reference Guide http://slidepdf.com/reader/full/system-variables-reference-guide 1/129  PROCESS DIRECTOR SYSTEM VARIABLES REFERENCE Last revision: May 11, 2012
Transcript
Page 1: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 1/129

 

PROCESS DIRECTORSYSTEM VARIABLES REFERENCE

Last revision: May 11, 2012

Page 2: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 2/129

 BP Logix Inc. Process Director

System Variables Referenceii

Contents ii

© 2012 BP Logix Inc. All rights reserved.

Page 3: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 3/129

 

BP Logix Inc. Process DirectorSystem Variables Reference

ii

Contents iii

ContentsSYSTEM VARIABLE PARAMETERS ..................................................................................................................................................... 2 

USER SYSTEM VARIABLES ............................................................................................................................................................................. 2 FORM FIELD SYSTEM VARIABLES .................................................................................................................................................................... 2 DATETIME SYSTEM VARIABLES: ..................................................................................................................................................................... 3 ALL SYSTEM VARIABLES ............................................................................................................................................................................... 5 

Group Parameter ............................................................................................................................................................................. 5 Encode Types .................................................................................................................................................................................... 5 Pre, Post, and Null ............................................................................................................................................................................ 6 

FORM SYSTEM VARIABLES ............................................................................................................................................................... 7 

FORM FIELD .......................................................................................................................................................................................... 7 NEW FORM INSTANCE .......................................................................................................................................................................... 8 FORM SUBMITTER ................................................................................................................................................................................ 9 SUBMIT DATE...................................................................................................................................................................................... 10 NUM FORM ATTACHMENTS ............................................................................................................................................................... 11 FORM PRINTING ................................................................................................................................................................................. 12 CONVERTING TO PDF .......................................................................................................................................................................... 13 FORM EVENT TYPE .............................................................................................................................................................................. 14 FORM EVENT NAME............................................................................................................................................................................ 15 IS ON MOBILE DEVICE? ....................................................................................................................................................................... 16 FORM ATTACHMENTS ........................................................................................................................................................................ 16 FORM INSTANCE ID ............................................................................................................................................................................. 16 FORM ATTACHMENT  GROUP .............................................................................................................................................................. 17 

META DATA SYSTEM VARIABLES ................................................................................................................................................... 19 

CATEGORY .......................................................................................................................................................................................... 19 ATTRIBUTE .......................................................................................................................................................................................... 20 

OBJECT INFORMATION SYSTEM VARIABLES................................................................................................................................... 21 

NAME ................................................................................................................................................................................................. 21 DESCRIPTION ...................................................................................................................................................................................... 22 SIZE ..................................................................................................................................................................................................... 23 CREATE USER ...................................................................................................................................................................................... 24 UPDATE USER ..................................................................................................................................................................................... 25 CREATE DATE ...................................................................................................................................................................................... 26 UPDATE DATE ..................................................................................................................................................................................... 27 VERSION ............................................................................................................................................................................................. 28 DOCUMENT TEXT ................................................................................................................................................................................ 29 FOLDER PATH ...................................................................................................................................................................................... 29 OBJECT ID ........................................................................................................................................................................................... 29 OBJECT TYPE ....................................................................................................................................................................................... 30 

WORKFLOW SYSTEM VARIABLES ................................................................................................................................................... 31 

PRIORITY ............................................................................................................................................................................................. 31 NUM WORKFLOW ATTACHMENTS ..................................................................................................................................................... 32 WORKFLOW INITIATOR....................................................................................................................................................................... 33 WORKFLOW INSTANCE NAME ............................................................................................................................................................ 34 WORKFLOW STATUS ........................................................................................................................................................................... 35 WORKFLOW START DATE .................................................................................................................................................................... 36 

Page 4: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 4/129

 

BP Logix Inc. Process DirectorSystem Variables Reference

iv

Contents iv

WORKFLOW STOP DATE ..................................................................................................................................................................... 37 TERMINATION REASON ...................................................................................................................................................................... 38 ALL USERS ........................................................................................................................................................................................... 39 WORKFLOW ATTACHMENTS .............................................................................................................................................................. 39 WORKFLOW ATTACHMENT  GROUP .................................................................................................................................................... 39 WORKFLOW DEFINITION NAME ......................................................................................................................................................... 40 

WORKFLOW NAME ............................................................................................................................................................................. 40 WORKFLOW RUN TIME ....................................................................................................................................................................... 40 

TASK SYSTEM VARIABLES .............................................................................................................................................................. 41 

TASK NAME ......................................................................................................................................................................................... 41 TASK ASSIGN DATE .............................................................................................................................................................................. 42 TASK INSTRUCTIONS ........................................................................................................................................................................... 43 TASK DUE DATE ................................................................................................................................................................................... 44 TASK PRIORITY .................................................................................................................................................................................... 45 TASK ON BEHALF OF............................................................................................................................................................................ 46 SUB TASK NAME ................................................................................................................................................................................. 47 IN RUNNING TASK? ............................................................................................................................................................................. 48 

WORKFLOW STEP SYSTEM VARIABLES ........................................................................................................................................... 49 

STEP USERS ......................................................................................................................................................................................... 49 STEP DUE DATE ................................................................................................................................................................................... 50 RUNNING STEP ................................................................................................................................................................................... 51 ACTIVE STEP USERS ............................................................................................................................................................................. 52 STEP START DATE ................................................................................................................................................................................ 53 STEP STOP DATE.................................................................................................................................................................................. 54 NUM TIMES STEP RUN ........................................................................................................................................................................ 55 IS STEP PAST DUE? .............................................................................................................................................................................. 56 BRANCH TAKEN .................................................................................................................................................................................. 57 STEP REACHED .................................................................................................................................................................................... 58 COMPLETED STEP USERS .................................................................................................................................................................... 59 STEP DESCRIPTION .............................................................................................................................................................................. 59 STEP IN ERROR .................................................................................................................................................................................... 60 STEP INSTANCE ID ............................................................................................................................................................................... 60 STEP MESSAGE.................................................................................................................................................................................... 60 STEP RESULT ....................................................................................................................................................................................... 60 STEP RESULT COUNT ........................................................................................................................................................................... 60 STEP RUN TIME ................................................................................................................................................................................... 61 STEP STATUS ....................................................................................................................................................................................... 61 STEP TERMINATION  REASON .............................................................................................................................................................. 61 

USER SYSTEM VARIABLES .............................................................................................................................................................. 63 

CURRENT USER ................................................................................................................................................................................... 63 USER ................................................................................................................................................................................................... 63 GROUP ................................................................................................................................................................................................ 64 

BUSINESS RULE SYSTEM VARIABLES .............................................................................................................................................. 65 

BUSINESS RULES ................................................................................................................................................................................. 65 TIMELINE SYSTEM VARIABLES ....................................................................................................................................................... 67 

TIMELINE INITIATOR ........................................................................................................................................................................... 67 TIMELINE STATUS ............................................................................................................................................................................... 68 NUM TIMELINE ATTACHMENTS .......................................................................................................................................................... 69 TIMELINE INSTANCE NAME ................................................................................................................................................................. 70 PRIORITY ............................................................................................................................................................................................. 71 TIMELINE START DATE ........................................................................................................................................................................ 72 TIMELINE STOP DATE .......................................................................................................................................................................... 73 TERMINATION REASON ...................................................................................................................................................................... 74 TIMELINE AVERAGE RUN TIME ........................................................................................................................................................... 74 TIMELINE STOP DATE  – PREDICTED ..................................................................................................................................................... 75 

Page 5: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 5/129

 

BP Logix Inc. Process DirectorSystem Variables Reference

v

Contents v

TIMELINE ATTACHMENTS ................................................................................................................................................................... 75 TIMELINE ATTACHMENT GROUP ........................................................................................................................................................ 76 TIMELINE CONFIGURED  STOP DATE .................................................................................................................................................... 76 TIMELINE DEFINITION  NAME .............................................................................................................................................................. 76 

TIMELINE ACTIVITY SYSTEM VARIABLES ........................................................................................................................................ 77 

ACTIVE ACTIVITY USERS ...................................................................................................................................................................... 77 ACTIVITY USERS .................................................................................................................................................................................. 78 ACTIVITY START DATE ......................................................................................................................................................................... 79 ACTIVITY STOP DATE ........................................................................................................................................................................... 80 ACTIVITY DUE DATE ............................................................................................................................................................................ 81 IS ACTIVITY PAST DUE?........................................................................................................................................................................ 82 RUNNING ACTIVITY NAME .................................................................................................................................................................. 83 ACTIVITY REACHED ............................................................................................................................................................................. 84 ACTIVITY START DATE  – PREDICTED .................................................................................................................................................... 85 ACTIVITY STOP DATE - PREDICTED ...................................................................................................................................................... 86 IS PREDICTED TO START LATE? ............................................................................................................................................................ 87 IS PREDICTED TO END LATE? ............................................................................................................................................................... 88 NUM TIMES ACTIVITY RUN ................................................................................................................................................................. 89 COMPLETED ACTIVITY USERS.............................................................................................................................................................. 90 

ACTIVITY AVERAGE RUN TIME ............................................................................................................................................................ 90 ACTIVITY DESCRIPTION ....................................................................................................................................................................... 91 ACTIVITY IN ERROR ............................................................................................................................................................................. 91 ACTIVITY MESSAGE ............................................................................................................................................................................. 91 ACTIVITY RESULT ................................................................................................................................................................................ 91 ACTIVITY RUN TIME ............................................................................................................................................................................ 92 ACTIVITY STATUS ................................................................................................................................................................................ 92 ACTIVITY TERMINATION REASON ....................................................................................................................................................... 92 ACTIVITY TOP RUNNING NAME ........................................................................................................................................................... 92 ACTIVITY USERS COMPLETE ................................................................................................................................................................ 93 

PROCESS SYSTEM VARIABLES ........................................................................................................................................................ 95 

PROCESS INSTANCE NAME ................................................................................................................................................................. 95 PROCESS INITIATOR ............................................................................................................................................................................ 96 PROCESS STATUS ................................................................................................................................................................................ 97 PROCESS PRIORITY .............................................................................................................................................................................. 98 PROCESS START DATE ......................................................................................................................................................................... 99 PROCESS STOP DATE ......................................................................................................................................................................... 100 TERMINATION REASON .................................................................................................................................................................... 101 RUNNING USERS ............................................................................................................................................................................... 102 IS SUB-PROCESS? .............................................................................................................................................................................. 102 PROCESS ATTACHMENT  GROUP ....................................................................................................................................................... 103 PROCESS DEFINITION NAME ............................................................................................................................................................. 103 PROCESS IN ERROR ........................................................................................................................................................................... 103 PROCESS INSTANCE ID ...................................................................................................................................................................... 103 PROCESS MESSAGE ........................................................................................................................................................................... 103 PROCESS TASK DUE DATE.................................................................................................................................................................. 104 PROCESS TASK START DATE RETURNS: ................................................................................................................................................ 104 PROCESS TASK RUNNING .................................................................................................................................................................. 104 SUB TASK NAME ............................................................................................................................................................................... 104 

DATETIME SYSTEM VARIABLES .................................................................................................................................................... 105 

DATE ................................................................................................................................................................................................. 105 CURRENT DATE ................................................................................................................................................................................. 105 DAYS AGO ......................................................................................................................................................................................... 106 DAYS FROM NOW ............................................................................................................................................................................. 106 

EMAIL SYSTEM VARIABLES .......................................................................................................................................................... 109 

EMAIL URL ........................................................................................................................................................................................ 109 EMAIL USER ...................................................................................................................................................................................... 109 

Page 6: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 6/129

 

BP Logix Inc. Process DirectorSystem Variables Reference

v

Contents vi

EMAIL EXTERNAL USER ..................................................................................................................................................................... 109 EMAIL FORM INSTANCE URL ............................................................................................................................................................. 109 EMAIL TASK ID .................................................................................................................................................................................. 110 EMAIL COMPLETE URL ...................................................................................................................................................................... 110 EMAIL RESULT LINKS ......................................................................................................................................................................... 110 EMAIL RESULT LIST ............................................................................................................................................................................ 110 

OTHER SYSTEM VARIABLES.......................................................................................................................................................... 113 

CALC ................................................................................................................................................................................................. 113 CURRENT USER GROUPS ................................................................................................................................................................... 113 CUSTOM VARIABLE ........................................................................................................................................................................... 113 DATE DIFFERENCE ............................................................................................................................................................................. 113 DEBUG_MODE .................................................................................................................................................................................. 114 INTERFACE URL ................................................................................................................................................................................. 114 KNOWLEDGE VIEW DEFINITION NAME ............................................................................................................................................. 114 KNOWLEDGE VIEW NUMBER OF ROWS ............................................................................................................................................ 114 KNOWLEDGE VIEW FILTER DATA ...................................................................................................................................................... 115 LOGO URL ......................................................................................................................................................................................... 115 ROW NEXT ........................................................................................................................................................................................ 115 ROW NUM ........................................................................................................................................................................................ 115 

ROW PREV ........................................................................................................................................................................................ 115 SERVER CULTURE .............................................................................................................................................................................. 116 SERVER NAME ................................................................................................................................................................................... 116 SERVER VERSION .............................................................................................................................................................................. 116 SESSION ............................................................................................................................................................................................ 116 SEQUEL PERMISSION ........................................................................................................................................................................ 117 SEQUENCE NUMBER ......................................................................................................................................................................... 117 STRING .............................................................................................................................................................................................. 117 STRING (RIGHT-HAND SIDE MENU) ......................................................................................................................................................... 118 SUM .................................................................................................................................................................................................. 118 

INDEX .......................................................................................................................................................................................... 121 

Page 7: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 7/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 1

Page 8: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 8/129

 BP Logix Inc. Process Director

System Variables Reference2

Contents 2

SYSTEM VARIABLE PARAMETERS

System variables will often contain Optional Parameters or other variables which control the data the system variable will return.

These are specified in SysVar tags using the following syntax:

{VARNAME, format=[format_type]}

VARNAME is the name of the system variable, and [format type] is the formatting option. [format type] can be one of any set of the

following, depending on the system variable it’s in.

System variable parameters are not case sensitive.

User System VariablesSystem variables that return information about a user or users will have the following options:

FORMAT:

{CURR_USER,format=[option]}

  Name: formats the system variable into a string of a user’s name

  Userid: formats the system variable into a string of the user’s ID 

  Id: the system variable will return the ID of an object or user.

  Guid: the system variable will return the global unique ID of an object

  Email: formats the system variable to return a string of a user’s email 

  Domain: returns the domain a user is in

  Picture: returns an image of a user

  Signature: returns an image of the user’s signature  

  Custom_String: returns the custom string stored in the User’s table entry 

  Custom_Number: returns the custom number stored in the User’s table entry 

  Custom_Date: returns the custom date stored in the User’s table entry 

  Culture: returns the user’s culture 

  Culture_String: returns the user’s culture string  

The following example demonstrates how a user system variable tag can be formatted to return the User ID:

{CURR_USER, format=Userid}

Form Field System VariablesSystem variables that return numbers will have the following options:

Page 9: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 9/129

 BP Logix Inc. Process Director

System Variables Reference3

Contents 3

FORMAT:

{FORM:someFieldName, format=Currency}

  Currency: formats the system variable into a format representing currency (e.g. $22.99)

  Number: ensures that a system variable returns an integer

  Value: returns the value of a dropdown selection

  String: returns the text in a form field

  Friendly: returns the friendly field name

  ClientID: returns HTML ID of the control suitable for JavaScript

ROW_NUM:

{FORM:someFieldName, ROW_NUM=2}

  If this form control is part of an array, returns the value specified by the ROW_NUM parameter

SEPARATOR:

{FORM:someColumnFieldName, SEPARATOR=|}

  If this form control is part of an array, this option specifies which character will be used to separate the

different values in the different elements of the array. By default, the separator is a comma.

Datetime System Variables:System variables that return a datetime will have the following options:

YEARS:

  adds a specified number of years to a DateTime SysVar result

MONTHS:

  adds a specified number of months to a DateTime SysVar result

DAYS:

  adds a specified number of days to a DateTime SysVar result

HOURS:

Page 10: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 10/129

 BP Logix Inc. Process Director

System Variables Reference4

Contents 4

  adds a specified number of hours to a DateTime SysVar result

MINUTES:

  adds a specified number of minutes to a DateTime SysVar result

SECONDS:

  adds a specified number of seconds to a DateTime SysVar result

Datetime system variables can be formatted using any combination of the following parameters:

FORMAT:

{CURR_DATE, format=[option]}

  d: displays the current day of the month as a number (1 – 31) 

  dd: displays the current day of the month as a number, padding to two digits with a zero if necessary (01 – 31) 

  ddd: displays the abbreviated name of the day (Sun. – Sat.) 

  dddd: displays the full name of the day (Sunday – Saturday) 

  h: displays the hour as 1-12. Without specifying AM or PM, 1:00pm is indistinguishable from 1:00am (and so

on) with this formatting option. 

  hh: displays the hour as 01-12. Padding using a zero is applied to ensure that the value returned is two

characters long. Without specifying AM or PM, 1:00pm is indistinguishable from 1:00am (and so on) with this

formatting option. 

  H: displays the hour as 0-23. 

  HH: displays the hour as 00-23. Padding using a zero is applied to ensure that the value returned is always two

characters long. 

  m: displays the current minute as a number 0 – 59 

  mm: displays the current minute as a number 00  – 59. Left padding using a zero is added to ensure the return

value is two characters long 

  M: displays the month as a number 1  – 12 

  MM: displays the month as a number 01  – 12. Left padding using a zero is added to ensure the return value is

two characters long. 

  MMM: returns the abbreviated name for the month (Jan. – Dec.) 

  MMMM: returns the full name for the month (January – December) 

  s: displays the seconds as a number 0  – 59 

Page 11: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 11/129

 BP Logix Inc. Process Director

System Variables Reference5

Contents 5

  ss: displays the seconds as a number 00 – 59. Padding using a zero is added to the left of the return value to

ensure it is two characters long. 

  t: displays an A if the time is before noon or P if it is after noon  

  tt: displays A.M. if the time is before noon. Otherwise displays P.M. 

  y: displays the year as a one or two digit number. The first two numbers of the year are always omitted. The

third digit of the year is omitted if the year is between ’00 and ’09 (e.g. 1, 17, 93)  

  yy: displays the last two digits of the year. (e.g. 48, 67, 73)  

  yyyy: displays all four digits of the year. If the year is less than four digits long, zeros are added to pad the year

value to four digits (e.g. 1982, 2009) 

  separators (/ : “ ‘): quotation marks, apostrophes, colons, and slashes can be added to the datetime

formatting. They will displayed literally, and can be used to separate different elements of the datetime string.  

All System Variables

Group Parameter

Most system variables can be configured via the “group” parameter, which limits the results of a system variable such that it will

return only results belonging to the specified group. Use the following syntax to add a group restriction to a SysVar tag:

{SYSTEM_VARIABLE, group=[group name]}

Encode TypesEncoding types are special characters put inside system variable tags to force the tag to return a certain type. These are often used

to prevent improperly encoded values from breaking a query. The format used to specify an encode type is as follows:

{[encode-type]SysVar}

Where [encode-type] can be any one of the following symbols:

  ! -- encodes the result as HTML

  $ -- ensures the result is a valid SQL string

  * -- converts the result into a valid SQL list of strings (e.g. ‘string one’, ‘string two’, ‘string three’) 

  # -- ensures the result is a valid SQL number

  & -- converts the result to a URL encoded value

  @ -- ensures the result is valid for a calculation control or system variable tag

  + -- ensures the result is a valid SQL Server date

  - -- ensures the result is a valid Oracle date

  ^ -- returns an LDAP encoded string which can be passed to an LDAP filter

Page 12: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 12/129

 BP Logix Inc. Process Director

System Variables Reference6

Contents 6

Pre, Post, and NullPre, post, and null are options specifying what text a system variable will display before the result, after the result, and if there is no

result, respectively. Pre and post will display when the system variable result is not null, and the null text will display otherwise. To

specify a system variable’s pre, post, and null values in the System Variable eForm control, use the SysVar tab.

To specify the Pre, Post, and Null values in a SysVar tag, use the following format:

{VARNAME pre=[pre_text], post=[post_text], null=[null_text]}

Page 13: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 13/129

 BP Logix Inc. Process Director

System Variables Reference7

Contents 7

FORM SYSTEM VARIABLES

FORM FIELD

Returns:

A Form Field system variable will return the value of a specified form field. The data will be drawn from the active instance of the

eForm.

SysVar Tag:

{FORM:[form_field_name]}

Optional Parameters:

The Optional Parameters available depend on what kind of data the form field contains. If the form field contains arbitrary data,

then the form field system variable Optional Parameters apply. If the form field contains data about a user, then the user system

variable Optional Parameters apply. No Optional Parameters are available when the form field contains information about an object.

Page 14: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 14/129

 BP Logix Inc. Process Director

System Variables Reference8

Contents 8

NEW FORM INSTANCE

Returns: 

This system variable returns a Boolean value (e.g. yes/no, true/false) reflecting whether or not the eForm instance has just been

created.

SysVar Tag:

{NEW_FORM_INSTANCE}

Optional Parameters: 

No Optional Parameters apply to this system variable: it will always return a Boolean value.

Page 15: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 15/129

 BP Logix Inc. Process Director

System Variables Reference9

Contents 9

FORM SUBMITTER

Returns: 

This system variable returns information about the user that submitted the eForm, thus creating the eForm instance.

SysVar Tag:

{FORM_SUBMITTER}

Optional Parameters:

The Optional Parameters for a User system variable apply to this SysVar.

Page 16: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 16/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 10

SUBMIT DATE

Returns:

The Submit Date system variable returns the date a form instance was submitted on.

SysVar Tag:

{SUBMIT_DATE}

Optional Parameters:

This system variable can be formatted according to options available to datetime system variables.

Page 17: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 17/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 11

NUM FORM ATTACHMENTS

Returns:

This system variable returns the number of attachments to an eForm instance.

SysVar Tag:

{FORM_ATTACHMENT_NUM}

Optional Parameters:

This system variable’s results can be restricted by object type usin g the ObjectType parameter. Acceptable values are DOCUMENT

and FORM.

Page 18: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 18/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 12

FORM PRINTING

Returns:

This system variable returns a Boolean value reflecting whether or not the eForm is being printed. Use this to change what is

displayed on printed versions of the eForm.

SysVar Tag:

{FORM_PRINTING}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 19: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 19/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 13

CONVERTING TO PDF

Returns:

This system variable returns a Boolean value reflecting whether or not the eForm is being converted to a PDF. Use this system

variable to change is displayed on PDF versions of an eForm.

SysVar Tag:

{FORM_TO_PDF}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 20: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 20/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 14

FORM EVENT TYPE

Returns:

This system variable returns a string reflecting the type of the most recent form event. The returned string can be any of the

following values:

  User

  Complete

  Cancel

  Save

  SaveAndClose

  Print

  CancelClose

  DocumentAttached

  ClipboardAttached

  RefreshEvent

SysVar Tag:

{FORM_EVENT_TYPE}

Optional Parameters:

Page 21: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 21/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 15

This system variable does not have Optional Parameters

FORM EVENT NAME

Returns:

This system variable returns a string containing the name of the most recent form event.

SysVar Tag:

{FORM_EVENT_NAME}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 22: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 22/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 16

IS ON MOBILE DEVICE?

Returns:

This system variable returns a Boolean value reflecting whether or not the eForm is being displayed on a mobile device. Use this to

change what an eForm displays depending on what device is displaying an eForm. Tablets count as mobile devices.

SysVar Tag:

{FORM_IS_MOBILE}

Optional Parameters:

This system variable does not have Optional Parameters.

FORM ATTACHMENTSReturns:

This system variable returns a comma-separated list of object names attached to this form instance.

SysVar Tag:

{FORM_ATTACHMENTS}

Optional Parameters:

The results returned can be filtered by group using the Groupname= option.

FORM INSTANCE IDReturns:

This system variable returns the ID of the current form instance.

Page 23: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 23/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 17

SysVar Tag:

{FORM_INSTANCE_ID}

Optional Parameters:

This system variable cannot be formatted.

FORM ATTACHMENT GROUPReturns:

This system variable returns the name of a group that an attached object is in.

SysVar Tag:

{FORM_ATTACHMENT_GROUP}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 24: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 24/129

Page 25: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 25/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 19

META DATA SYSTEM VARIABLES

CATEGORY

Returns:

The Category system variable returns the name of a specified category or list of categories so long as the object containing this

system variable is assigned to that category. If the object is not assigned to a listed category, the system variable returns a null string

for that category.

SysVar Tag:

{CATEGORY:[category_name_1].[category_name_2]…} 

Optional Parameters:

This system variable does not have Optional Parameters.

Page 26: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 26/129

 BP Logix Inc. Process Director

System Variables Reference2

Contents 20

ATTRIBUTE

Returns:

This system variable returns the name of an attribute if the object containing this system variable is assigned to that attribute. If the

object is not assigned to the attribute, the system variable will return a null string.

SysVar Tag:

{ATTRIBUTE:[category_name].[attribute_name], format=[currency|value|string]}

Optional Parameters:

This system variable can be formatted as a currency, a numeric value, or a string using the format= option.

Page 27: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 27/129

 BP Logix Inc. Process Director

System Variables Reference2

Contents 21

OBJECT INFORMATION SYSTEM VARIABLES

NAME

Returns:

This system variable returns a string containing the name of this object.

SysVar Tag:

{OBJ_NAME}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 28: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 28/129

 BP Logix Inc. Process Director

System Variables Reference2

Contents 22

DESCRIPTION

Returns:

This system variable returns a string containing the description of the relevant object.

SysVar Tag:

{OBJ_DESC}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 29: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 29/129

 BP Logix Inc. Process Director

System Variables Reference2

Contents 23

SIZE

Returns:

This system variable returns the size of the object.

SysVar Tag:

{OBJ_SIZE}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 30: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 30/129

 BP Logix Inc. Process Director

System Variables Reference2

Contents 24

CREATE USER

Returns:

This system variable returns information about the user that created the object.

SysVar Tag:

{CREATE_USER}

Optional Parameters:

The result of this system variable can be formatted using the user Optional Parameters.

Page 31: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 31/129

 BP Logix Inc. Process Director

System Variables Reference2

Contents 25

UPDATE USER

Returns:

This system variable returns information about the last user to update the object.

SysVar Tag:

{UPDATE_USER}

Optional Parameters:

This system variable can be formatted using the Optional Parameters available to user system variables.

Page 32: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 32/129

 BP Logix Inc. Process Director

System Variables Reference2

Contents 26

CREATE DATE

Returns: 

This system variable returns the date on which the object was created.

SysVar Tag:

{CREATE_DATE}

Optional Parameters:

The result of this system variable can be formatted according to options available to format dates.

Page 33: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 33/129

 BP Logix Inc. Process Director

System Variables Reference2

Contents 27

UPDATE DATE

Returns:

This system variable returns the date upon which the object was last updated.

SysVar Tag:

{UPDATE_DATE}

Optional Parameters:

This system variable can be formatted using the date Optional Parameters.

Page 34: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 34/129

 BP Logix Inc. Process Director

System Variables Reference2

Contents 28

VERSION

Returns:

This system variable returns the object’s version number 

SysVar Tag:

{OBJ_VERSION}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 35: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 35/129

 BP Logix Inc. Process Director

System Variables Reference2

Contents 29

DOCUMENT TEXT

Returns:

This option allows for a full-text search of a document object.

SysVar Tag:

N/A

FOLDER PATHReturns:

This system variable returns the content list folder path of an object.

SysVar Tag:

{FOLDER_PATH}

Optional Parameters:

This system variable does not have Optional Parameters.

OBJECT ID

Returns:

This system variable returns the ID of an object.

SysVar Tag:

{OBJ_ID}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 36: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 36/129

 BP Logix Inc. Process Director

System Variables Reference3

Contents 30

OBJECT TYPEReturns:

This system variable returns this object’s type. This system variable can return the following:

  Document

  Folder

  Rule

  Knowledge View

  Workflow

  Workflow Instance

  TaskList

  User

  Group

  Partition

  Form

  Form Instance

  Category

  Dropdown

  Profile

  DataSource Connection

  Report

SysVar Tag:

{OBJ_TYPE}

Optional Parameters:

This system variable has no optional parameters.

Page 37: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 37/129

 BP Logix Inc. Process Director

System Variables Reference3

Contents 31

WORKFLOW SYSTEM VARIABLES

PRIORITY

Returns:

This system variable returns a workflow instance’s priority. 

SysVar Tag:

{WORKFLOW_PRIORITY}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 38: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 38/129

 BP Logix Inc. Process Director

System Variables Reference3

Contents 32

NUM WORKFLOW ATTACHMENTS

Returns:

The Num Workflow Attachments variable returns the number of objects attached to a workflow instance.

SysVar Tag:

{WORKFLOW_ATTACHMENT_NUM}

Optional Parameters:

A group name can be specified, making the variable return only the number of attached objects in the specified groups.

Page 39: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 39/129

 BP Logix Inc. Process Director

System Variables Reference3

Contents 33

WORKFLOW INITIATOR

Returns:

This system variable returns information about the user who started the current workflow instance.

SysVar Tag:

{WORKFLOW_INITIATOR}

Optional Parameters:

The Workflow Initiator system variable can be formatted with any option available to a user system variable.

Page 40: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 40/129

 BP Logix Inc. Process Director

System Variables Reference3

Contents 34

WORKFLOW INSTANCE NAME

Returns:

The Workflow Instance Name system variable returns the name of the current workflow instance.

SysVar Tag:

{WORKFLOW_INSTANCE_NAME}

Optional Parameters:

This system variable does not have any Optional Parameters.

Page 41: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 41/129

 BP Logix Inc. Process Director

System Variables Reference3

Contents 35

WORKFLOW STATUS

Returns:

This system variable returns the status of the workflow instance. The string returned can be either “Pending”, “Completed”, or

“Running”. The system variable will return “Pending” if a workflow is not available or has never been run. 

SysVar Tag:

{WORKFLOW_STATUS}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 42: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 42/129

 BP Logix Inc. Process Director

System Variables Reference3

Contents 36

WORKFLOW START DATE

Returns:

This system variable returns a datetime representing the date the current workflow instance started.

SysVar Tag:

{WORKFLOW_START_DATE}

Optional Parameters:

The result of this system variable can be formatted using the Optional Parameters available to datetime system variables.

Page 43: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 43/129

 BP Logix Inc. Process Director

System Variables Reference3

Contents 37

WORKFLOW STOP DATE

Returns:

This system variable returns the date the current workflow instance stopped.

SysVar Tag:

{WORKFLOW_STOP_DATE}

Optional Parameters:

This system variable can be formatted using the Optional Parameters available to datetimes.

Page 44: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 44/129

 BP Logix Inc. Process Director

System Variables Reference3

Contents 38

TERMINATION REASON

Returns:

This system variable returns the reason the current workflow instance terminated. The results of this system variable can be used to

handle workflow errors. If the workflow is still running or no value has been returned, this system variable will return “Not Set.” 

SysVar Tag:

{WORKFLOW_TERM_REASON}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 45: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 45/129

 BP Logix Inc. Process Director

System Variables Reference3

Contents 39

ALL USERS

Returns:

This system variable returns a comma-separated list of all users involved in a workflow.

SysVar Tag:

{WORKFLOW_ALL_USERS}

Optional Parameters:

This system variable can be formatted according to the options available to a user system variable.

WORKFLOW ATTACHMENTSReturns:

This system variable returns a comma-separated list of the names of objects currently attached to this workflow.

SysVar Tag:

{WORKFLOW_ATTACHMENTS, GroupName=someGroup}Optional Parameters:

This system variable’s results can be filtered by group using the GroupName=someGroup parameter.  

WORKFLOW ATTACHMENT GROUPReturns:

This system variable returns the groupname used for this workflow attachment.

Page 46: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 46/129

 BP Logix Inc. Process Director

System Variables Reference4

Contents 40

SysVar Tag:

{WORKFLOW_ATTACHMENT_GROUP}

Optional Parameters:

This system variable has no optional parameters.

WORKFLOW DEFINITION NAMEReturns:

This system variable returns the name of the definition that this workflow is an instance of.

SysVar Tag:

{WORKFLOW_DEF_NAME}

Optional Parameters:

This system variable does not have optional parameters.

WORKFLOW NAMEReturns:

This system variable returns the name of the current workflow instance.

SysVar Tag:

{WORKFLOW_NAME}

Optional Parameters:

This system variable has no optional parameters.

WORKFLOW RUN TIMEReturns:

This system variable returns the time the current workflow instance has run.

SysVar Tag:

{WORKFLOW_RUN_TIME}

Optional Parameters:

This system variable can be formatted as a datetime.

Page 47: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 47/129

 BP Logix Inc. Process Director

System Variables Reference4

Contents 41

TASK SYSTEM VARIABLES

TASK NAME

Returns:The Task Name system variable returns the name of the task that the process is currently on. A user might use this system variable

to configure an eForm specifically to what task is running.

SysVar Tag:

{TASK_NAME}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 48: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 48/129

 BP Logix Inc. Process Director

System Variables Reference4

Contents 42

TASK ASSIGN DATE

Returns:

This system variable returns the date the current task was assigned.

SysVar Tag:

{TASK_ASSIGN_DATE}

Optional Parameters:

This system variable can be formatted according to date Optional Parameters.

Page 49: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 49/129

 BP Logix Inc. Process Director

System Variables Reference4

Contents 43

TASK INSTRUCTIONS

Returns:

This system variable returns a string containing the instructions for the current task. The results of this system variable can be

displayed on an eForm to instruct the end user.

SysVar Tag:

{TASK_INSTRUCTIONS}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 50: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 50/129

 BP Logix Inc. Process Director

System Variables Reference4

Contents 44

TASK DUE DATE

Returns:

This system variable returns the date the current task is due.

SysVar Tag:

{TASK_DUE_DATE}

Optional Parameters:

This system variable can be formatted using Optional Parameters available to dates.

Page 51: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 51/129

 BP Logix Inc. Process Director

System Variables Reference4

Contents 45

TASK PRIORITY

Returns:

This system variable returns the priority of the current task.

SysVar Tag:

{TASK_PRIORITY}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 52: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 52/129

 BP Logix Inc. Process Director

System Variables Reference4

Contents 46

TASK ON BEHALF OF

Returns:

This system variable returns information about the user who delegated this task to another user. This system variable only returns a

value when the task has been delegated.

SysVar Tag:

{TASK_ON_BEHALF_OF}

Optional Parameters:

This system variable can be formatted according to options available to user results.

Page 53: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 53/129

 BP Logix Inc. Process Director

System Variables Reference4

Contents 47

SUB TASK NAME

Returns:

This system variable returns the name of the sub task automatically created when a user is assigned a task in a sequence.

SysVar Tag:

{SUB_TASK_NAME}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 54: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 54/129

 BP Logix Inc. Process Director

System Variables Reference4

Contents 48

IN RUNNING TASK?

Returns:

This system variable returns a Boolean value reflecting whether or not the currently logged in user is opening the eForm in the

context of a running task.

SysVar Tag:

{IN_RUNNING_TASK}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 55: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 55/129

 BP Logix Inc. Process Director

System Variables Reference4

Contents 49

WORKFLOW STEP SYSTEM VARIABLES

STEP USERS

Returns:

This system variable returns a comma-separated list of all users involved in a workflow step.

SysVar Tag:

{STEP_USERS:[step name]}

Optional Parameters:

This system variable can be formatted with Optional Parameters available to user results.

Page 56: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 56/129

 BP Logix Inc. Process Director

System Variables Reference5

Contents 50

STEP DUE DATE

Returns:

This system variable returns the date the current step is due.

SysVar Tag:

{STEP_DUE_DATE:[step name]}

Optional Parameters:

This system variable can be formatted using options available to date system variables.

Page 57: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 57/129

 BP Logix Inc. Process Director

System Variables Reference5

Contents 51

RUNNING STEP

Returns:

This system variable returns the name of the currently running step.

SysVar Tag:

{STEP_RUNNING_NAME}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 58: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 58/129

 BP Logix Inc. Process Director

System Variables Reference5

Contents 52

ACTIVE STEP USERS

Returns:

This system variable returns a comma-separated list of users actively involved in this step.

SysVar Tag:

{STEP_USERS_ACTIVE:[step name]}

Optional Parameters:

This system variable can be formatted with options available to user system variables.

Page 59: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 59/129

 BP Logix Inc. Process Director

System Variables Reference5

Contents 53

STEP START DATE

Returns:

This system variable returns the date that the specified step started.

SysVar Tag:

{STEP_START_DATE:[step name], instance=someInstance}

Optional Parameters:

Datetime Optional Parameters can be used to format this system variable. There is also an optional “instance” parameter that allows

the user to specify a specific instance of a workflow step to get the start date of.

Page 60: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 60/129

 BP Logix Inc. Process Director

System Variables Reference5

Contents 54

STEP STOP DATE

Returns:

This system variable returns the date this step stopped.

SysVar Tag:

{STEP_STOP_DATE:[step name], instance=someInstance}

Optional Parameters:

This system variable can be formatted using the options available to datetime system variables. There is also an optional “instance”

parameter that allows the user to specify a specific instance of a workflow step to get the start date of.

Page 61: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 61/129

 BP Logix Inc. Process Director

System Variables Reference5

Contents 55

NUM TIMES STEP RUN

Returns:

This system variable returns the number of times a step has run. You can use this to break out of loops in a workflow.

SysVar Tag:

{STEP_NUM_TIMES_RUN:[step name]}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 62: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 62/129

 BP Logix Inc. Process Director

System Variables Reference5

Contents 56

IS STEP PAST DUE?

Returns:

This system variable returns a Boolean value based on whether the specified step is past its due date. You can use this to

conditionally change the process flow if the step is late.

SysVar Tag:

{STEP_PAST_DUE:[step name]}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 63: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 63/129

 BP Logix Inc. Process Director

System Variables Reference5

Contents 57

BRANCH TAKEN

Returns:

This system variable returns a Boolean value based on whether the specified branch has been taken.

SysVar Tag:

{BRANCH_TAKEN:[branch name], instance=[workflow instance]}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 64: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 64/129

 BP Logix Inc. Process Director

System Variables Reference5

Contents 58

STEP REACHED

Returns:

This system variable returns a Boolean value based on whether the specified step has been reached.

SysVar Tag:

{STEP_REACHED}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 65: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 65/129

 BP Logix Inc. Process Director

System Variables Reference5

Contents 59

COMPLETED STEP USERS

Returns:

This system variable returns a comma-separated list of users who have completed the specified step.

SysVar Tag:

{STEP_USERS_COMPLETE}

Optional Parameters:

The result of this system variable can be formatted using the options available to user results.

STEP DESCRIPTIONReturns:

This system variable returns a string containing the description of this workflow step.

SysVar Tag:

{STEP_DESCRIPTION:step}

Optional Parameters:

You can use the step parameter to specify the name of the step whose description you want. If no step name is specified, this

system variable will return the start date of the current step.

Page 66: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 66/129

 BP Logix Inc. Process Director

System Variables Reference6

Contents 60

STEP IN ERRORReturns:

This system variable returns the name of the step currently in an error state.

SysVar Tag:

{STEP_IN_ERROR}

Optional Parameters:

This system variable does not have Optional Parameters.

STEP INSTANCE IDReturns:

This system variable returns the Instance ID of the running instance of a given workflow step.

SysVar Tag:

{STEP_INSTANCE_ID:[step name]} 

Optional Parameters:

This system variable does not have Optional Parameters.

STEP MESSAGEReturns:

This system variable returns the message for the specified step.

SysVar Tag:

{STEP_MESSAGE:step}

Optional Parameters:

You can specify which step you want the message of using the “step” parameter. If left unspecified, this system variable will  return

the start date for the current step.

STEP RESULTReturns:

This system variable returns the result of a specified step instance.

SysVar Tag:

{STEP_RESULT:[step name], instance=[instance id]}

Optional Parameters:

This system variable must specify a particular step instance by using the instance= parameter.

STEP RESULT COUNTReturns:

This system variable returns the number of times the specified step has returned this result.

SysVar Tag: 

Page 67: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 67/129

 BP Logix Inc. Process Director

System Variables Reference6

Contents 61

{STEP_RESULT_COUNT:[step name], result=[result to test for]}

Optional Parameters:

This system variable must specify the result being tested for using the result= parameter.

STEP RUN TIMEReturns:

This system variable returns the amount of time the specified step has run.]

SysVar Tag:

{STEP_RUN_TIME:step}

Optional Parameters:

This system variable must specify a particular step using the “step” parameter. If no step is specified, this system variable returns the

start date of the current step.

STEP STATUSReturns:

This system variable returns a step’s status. It will return either “Running”, “Completed”, or “Pending.” The system variable will only

return “Pending” if the specified step isn’t available or hasn’t been run.  

SysVar Tag:

{STEP_STATUS:[step name]}

Optional Parameters:

This system variable does not have Optional Parameters.

STEP TERMINATION REASONReturns:

This system variable returns the reason the specified step terminated. If the step has not terminated, this system variable will return

“Not Set”. 

SysVar Tag:

{STEP_TERM_REASON}

Optional Parameters:

This system variable must specify a step name using the step parameter. Should this name not be specified, the system variable will

return the start date of the current step.

Page 68: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 68/129

Page 69: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 69/129

 BP Logix Inc. Process Director

System Variables Reference6

Contents 63

USER SYSTEM VARIABLES

CURRENT USER

Returns:

This system variable returns information about the user currently viewing the eForm.

SysVar Tag:

{CURR_USER}

Optional Parameters:

The result of this system variable can be formatted using the user Optional Parameters.

USER

Page 70: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 70/129

 BP Logix Inc. Process Director

System Variables Reference6

Contents 64

Returns:

This option allows the user to specify a user to be used for comparisons. This is technically not a system variable, but information

about a user can be gathered via SysVar tags by referencing a user picker.

SysVar Tag:

{FORM:someUserPicker}

Optional Parameters:

The result of this SysVar tag can be formatted according to what options are available to form field system variables.

GROUP

Returns:

This system variable allows the user to specify a group to be used in comparisons. Information about a group can be gathered via

SysVar tags by referencing a group picker form field.

SysVar Tag:

{FORM:someGroupPicker}

Optional Parameters:

The result of a group picker reference can be formatted according to the options available to form field system variables.

Page 71: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 71/129

 BP Logix Inc. Process Director

System Variables Reference6

Contents 65

BUSINESS RULE SYSTEM VARIABLES

BUSINESS RULES

Returns:

This system variable returns the result of a selected Business Rule.SysVar Tag:

{RULE:[business rule name]}

Optional Parameters:

The result of this system variable can be formatted according to the options available to the type of data the business rule returns.

Page 72: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 72/129

Page 73: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 73/129

 BP Logix Inc. Process Director

System Variables Reference6

Contents 67

TIMELINE SYSTEM VARIABLES

TIMELINE INITIATOR

Returns:

This system variable returns information about the user that initiated the running timeline.

SysVar Tag:

{TIMELINE_INITIATOR}

Optional Parameters:This system variable can be formatted according to the options available to user system variables.

Page 74: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 74/129

 BP Logix Inc. Process Director

System Variables Reference6

Contents 68

TIMELINE STATUS

Returns:

This system variable returns a string representing the status of the current timeline. The result of this system variable will be either

“Completed”, “Running” or “Pending.” This system variable will return “Pending” when  the timeline is unavailable or has never been

run.

SysVar Tag:

{TIMELINE_STATUS}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 75: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 75/129

 BP Logix Inc. Process Director

System Variables Reference6

Contents 69

NUM TIMELINE ATTACHMENTS

Returns:

This system variable returns the number of items attached to a timeline. You can tell the system variable only to count items within

a certain group.

SysVar Tag:

{TIMELINE_ATTACHMENT_NUM, GroupName=[group name]}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 76: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 76/129

 BP Logix Inc. Process Director

System Variables Reference7

Contents 70

TIMELINE INSTANCE NAME

Returns:

This system variable returns the name of the running timeline instance.

SysVar Tag:

{TIMELINE_NAME}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 77: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 77/129

 BP Logix Inc. Process Director

System Variables Reference7

Contents 71

PRIORITY

Returns:

This system variable returns the priority of the running timeline.

SysVar Tag:

{TIMELINE_PRIORITY}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 78: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 78/129

 BP Logix Inc. Process Director

System Variables Reference7

Contents 72

TIMELINE START DATE

Returns:

This system variable returns the date this timeline instance started.

SysVar Tag:

{TIMELINE_START_DATE}

Optional Parameters:

This system variable can be formatted using the date Optional Parameters.

Page 79: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 79/129

 BP Logix Inc. Process Director

System Variables Reference7

Contents 73

TIMELINE STOP DATE

Returns:

This system variable returns the date this timeline instance stopped.

SysVar Tag:

{TIMELINE_STOP_DATE}

Optional Parameters:

This system variable can be formatted using the options available to date system variables.

Page 80: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 80/129

 BP Logix Inc. Process Director

System Variables Reference7

Contents 74

TERMINATION REASON

Returns:

This system variable returns a string containing the reason this timeline instance terminated. If a timeline is not running or has not

been completed, this system variable returns “Not Set”. 

SysVar Tag:

{TIMELINE_TERM_REASON}

Optional Parameters:

This system variable does not have Optional Parameters.

TIMELINE AVERAGE RUN TIMEReturns:

This system variable returns the average time this timeline takes to run.

SysVar Tag:

{TIMELINE_AVG_RUN_TIME, format=[Days|Hours|Minutes|Seconds]}

Optional Parameters:

This system variable can be formatted to return the average run time in days, hours, minutes or seconds. By default, the average run

time is returned in days.

Page 81: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 81/129

 BP Logix Inc. Process Director

System Variables Reference7

Contents 75

TIMELINE STOP DATE  – PREDICTED

Returns:

This system variable returns the predicted date that the running timeline instance will complete.

SysVar Tag:

{TIMELINE_STOP_PREDICTED}

Optional Parameters:

This system variable can be formatted using Optional Parameters available to date results.

TIMELINE ATTACHMENTSReturns:

This system variable returns a comma-separated list of object names attached to this timeline instance.

SysVar Tag:

{TIMELINE_ATTACHMENTS}

Optional Parameters:

The results returned can be filtered by group using the Groupname= option.

Page 82: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 82/129

 BP Logix Inc. Process Director

System Variables Reference7

Contents 76

TIMELINE ATTACHMENT GROUPReturns:

This system variable returns the name of a group that an attached object is in.

SysVar Tag:

{TIMELINE_ATTACHMENT_GROUP}

Optional Parameters:

This system variable does not have Optional Parameters.

TIMELINE CONFIGURED STOP DATEReturns:

This system variable returns a datetime variable containing the value of the date that this Timeline has been configured to stop.

SysVar Tag:

{TIMELINE_STOP_CONFIG}

Optional Parameters:

This system variable can be formatted according to the options available to DateTime system variables.

TIMELINE DEFINITION NAMEReturns:

This system variable returns the name of the timeline definition this timeline is an instance of.

SysVar Tag:

{TIMELINE_DEF_NAME}

Optional Parameters:

This system variable has no optional parameters.

Page 83: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 83/129

 BP Logix Inc. Process Director

System Variables Reference7

Contents 77

TIMELINE ACTIVITY SYSTEM VARIABLES

ACTIVE ACTIVITY USERS

Returns:

This system variable returns a comma-separated list of the users currently actively involved in the specified activity.

SysVar Tag:

{ACTIVITY_USERS_ACTIVE:[activity name]}

Optional Parameters:

Page 84: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 84/129

 BP Logix Inc. Process Director

System Variables Reference7

Contents 78

This system variable can be formatted according to user Optional Parameters.

ACTIVITY USERS

Returns:

This system variable returns a comma-separated list of all users involved in the specified activity.

SysVar Tag:

{ACTIVITY_USERS:[activity name]}

Optional Parameters:

This system variable can be formatted according to Optional Parameters available to user system variables.

Page 85: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 85/129

 BP Logix Inc. Process Director

System Variables Reference7

Contents 79

ACTIVITY START DATE

Returns:

This system variable returns the date the specified activity started.

SysVar Tag:

{ACTIVITY_START_DATE:[activity name], instance=someInstance}

Optional Parameters:

This system variable can be formatted using the options available to a date system variable. There is also an optional “instance”

parameter that allows the user to specify a specific instance of a timeline activity to get the start date of.

Page 86: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 86/129

 BP Logix Inc. Process Director

System Variables Reference8

Contents 80

ACTIVITY STOP DATE

Returns:

This system variable returns the date the specified activity stopped.

SysVar Tag:

{ACTIVITY_STOP_DATE:[activity name], instance=someInstance}

Optional Parameters:

This system variable can be formatted according to the options available for date results. There is also an optional “instance”

parameter that allows the user to specify a specific instance of a timeline activity to get the stop date of.

Page 87: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 87/129

 BP Logix Inc. Process Director

System Variables Reference8

Contents 81

ACTIVITY DUE DATE

Returns:

This system variable returns the date the specified activity is due.

SysVar Tag:

{ACTIVITY_DUE_DATE:[activity name]}

Optional Parameters:

The result of this system variable can be formatted as a date.

Page 88: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 88/129

 BP Logix Inc. Process Director

System Variables Reference8

Contents 82

IS ACTIVITY PAST DUE?

Returns:

This system variable returns a Boolean value based on whether the specified activity has passed its due date.

SysVar Tag:

{ACIVITY_PAST_DUE}

Optional Parameters:

This system variable has no available Optional Parameters.

Page 89: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 89/129

 BP Logix Inc. Process Director

System Variables Reference8

Contents 83

RUNNING ACTIVITY NAME

Returns:

This system variable returns the name of the currently running activity.

SysVar Tag:

{ACTIVITY_RUNNING_NAME}

Optional Parameters:

This system variable cannot be formatted.

Page 90: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 90/129

 BP Logix Inc. Process Director

System Variables Reference8

Contents 84

ACTIVITY REACHED

Returns:

This system variable returns a Boolean value based on whether the specified activity has been reached.

SysVar Tag:

{ACTIVITY REACHED:[activity name]}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 91: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 91/129

 BP Logix Inc. Process Director

System Variables Reference8

Contents 85

ACTIVITY START DATE  – PREDICTED

Returns:

This system variable returns the date the specified activity is predicted to start.

SysVar Tag:

{ACTIVITY_START_PREDICTED:[activity name]}

Optional Parameters:

The result of this system variable can be formatted as a date.

Page 92: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 92/129

 BP Logix Inc. Process Director

System Variables Reference8

Contents 86

ACTIVITY STOP DATE - PREDICTED

Returns:

This system variable returns the date the specified activity is predicted to stop.

SysVar Tag:

{ACTIVITY_STOP_PREDICTED:[activity name]}

Optional Parameters:

This system variable’s results can be formatted as a date. 

Page 93: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 93/129

 BP Logix Inc. Process Director

System Variables Reference8

Contents 87

IS PREDICTED TO START LATE?

Returns:

This system variable returns a Boolean value based on whether the specified activity is predicted to start late.

SysVar Tag:

{ACTIVITY_PREDICT_START_LATE:[activity name]}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 94: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 94/129

 BP Logix Inc. Process Director

System Variables Reference8

Contents 88

IS PREDICTED TO END LATE?

Returns:

This system variable returns a Boolean value based on whether the specified activity is predicted to end late.

SysVar Tag:

{ACTIVITY_PREDICT_END_LATE:[activity name]}

Optional Parameters:

This system variable cannot be formatted.

Page 95: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 95/129

 BP Logix Inc. Process Director

System Variables Reference8

Contents 89

NUM TIMES ACTIVITY RUN

Returns:

This system variable returns the number of times a specified activity has been run in the current timeline instance.

SysVar Tag:

{ACTIVITY_NUM_TIMES_RUN:[activity name]}

Optional Parameters:

This system variable cannot be formatted.

Page 96: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 96/129

 BP Logix Inc. Process Director

System Variables Reference9

Contents 90

COMPLETED ACTIVITY USERS

Returns:

This system variable returns a comma-separated list of the users involved in the specified activity who have completed their

assigned task.

SysVar Tag:{ACTIVITY_USERS_COMPLETE:[activity name]}

Optional Parameters:

This system variable can be formatted according to the user Optional Parameters.

ACTIVITY AVERAGE RUN TIMEReturns:

Page 97: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 97/129

 BP Logix Inc. Process Director

System Variables Reference9

Contents 91

This system variable returns the average amount of time a specified activity usually takes to run.

SysVar Tag:

{ACTIVITY_AVG_RUN_TIME:[activity name], format=[Days|Hours|Minutes|Seconds]} 

Optional Parameters:

This system variable can be formatted to return its result in days, hours, minutes, or seconds. By default, this system variable returns

its result in days.

ACTIVITY DESCRIPTIONReturns:

This system variable returns the specified activity’s description. 

SysVar Tag:

{ACTIVITY_DESCRIPTION:activity}

Optional Parameters:

This system variable must specify an activity name using the activity parameter. If no activity name is specified, this system variable

will return the start date of the current activity.

ACTIVITY IN ERRORReturns:

This system variable returns the name of an activity that is in error.

SysVar Tag:

{ACTIVITY_IN_ERROR}

Optional Parameters:

This system variable does not have Optional Parameters.

ACTIVITY MESSAGEReturns:

This system variable returns a message for a specified activity.

SysVar Tag:

{ACTIVITY_MESSAGE:[activity name]}

Optional Parameters:

This system variable does not have Optional Parameters.

ACTIVITY RESULTReturns:

This system variable returns the result of a specified activity instance.

SysVar Tag:

{STEP_RESULT:[activity name], instance=[instance id]}

Optional Parameters:

Page 98: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 98/129

 BP Logix Inc. Process Director

System Variables Reference9

Contents 92

This system variable must specify a particular activity instance by using the instance= parameter.

ACTIVITY RUN TIMEReturns:

This system variable returns the amount of time this activity has been running.

SysVar Tag:

{ACTIVITY_RUN_TIME:activity}

Optional Parameters:

This system variable must specify an activity name. If none is specified, it will return the start date of the current activity. This system

variable can be formatted as a datetime.

ACTIVITY STATUSReturns:

This system variable returns an activity’s status. It will return either “Running”, “Completed”, or “Pending.” The system variable willonly return “Pending” if the activity isn’t available or hasn’t been run.  

SysVar Tag:

{ACTIVITY_STATUS:[activity name]}

Optional Parameters:

This system variable does not have Optional Parameters.

ACTIVITY TERMINATION REASONReturns:

This system variable returns the reason the specified activity terminated. If it has not yet terminated, this system variable returns“Not Set”. 

SysVar Tag:

{ACTIVITY_TERM_REASON}

Optional Parameters:

This system variable must specify an activity using the activity parameter. Should one not be specified, this system variable will

return the start date of the current activity.

ACTIVITY TOP RUNNING NAMEReturns:

This system variable returns the specified activity’s highest level parent activity. 

SysVar Tag:

{ACTIVITY_TOP_RUNNING_NAME}

Optional Parameters:

This system variable has no optional parameters.

Page 99: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 99/129

 BP Logix Inc. Process Director

System Variables Reference9

Contents 93

ACTIVITY USERS COMPLETEReturns:

This system variable returns a list of users that have completed the specified activity.

SysVar Tag:

{ACTIVITY_USERS_COMPLETE}

Optional Parameters:

This system variable must specify an activity using the activity parameter. It can be formatted according to the options available to

user system variables.

Page 100: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 100/129

Page 101: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 101/129

 BP Logix Inc. Process Director

System Variables Reference9

Contents 95

PROCESS SYSTEM VARIABLES

PROCESS INSTANCE NAME

Returns:

This system variable returns the name of the current process instance.

SysVar Tag:

{PROCESS_NAME}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 102: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 102/129

 BP Logix Inc. Process Director

System Variables Reference9

Contents 96

PROCESS INITIATOR

Returns:

This system variable returns information about the user that initiated this instance of a process.

SysVar Tag:

{PROCESS_INITIATOR}

Optional Parameters:

This system variable can be formatted according to Optional Parameters available to user results.

Page 103: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 103/129

 BP Logix Inc. Process Director

System Variables Reference9

Contents 97

PROCESS STATUS

Returns:

This system variable returns the status of the current process. This system variable can return “Completed”, “Running”, or

“Pending”. This system variable will return “Pending” when the process is unavailable or has never been run. 

SysVar Tag:

{PROCESS_STATUS}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 104: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 104/129

 BP Logix Inc. Process Director

System Variables Reference9

Contents 98

PROCESS PRIORITY

Returns:

This system variable returns the priority of the current process.

SysVar Tag:

{PROCESS_PRIORITY}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 105: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 105/129

 BP Logix Inc. Process Director

System Variables Reference9

Contents 99

PROCESS START DATE

Returns:

This system variable returns the date this process instance started.

SysVar Tag:

{PROCESS_START_DATE}

Optional Parameters:

This system variable’s result can be formatted as a date.

Page 106: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 106/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 100

PROCESS STOP DATE

Returns:

This system variable returns the date the process instance ended.

SysVar Tag:

{PROCESS_STOP_DATE}

Optional Parameters:

This system variable’s results can be formatted as a date. 

Page 107: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 107/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 101

TERMINATION REASON

Returns:

This system variable returns the reason a process instance terminated. You can use this system variable to handle unexpected

process errors.

SysVar Tag:

{PROCESS_TERM_REASON}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 108: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 108/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 102

RUNNING USERS

Returns:

This system variable returns a comma-separated list of all users actively involved in the current process instance.

SysVar Tag:

{PROCESS_TASK_USERS_ACTIVE}

Optional Parameters:

This system variable can be formatted using Optional Parameters available to user results.

IS SUB-PROCESS?Returns:

This system variable returns a Boolean (yes/no) value reflecting whether this process is a sub-process of another process.

SysVar Tag:

{IS_SUBPROCESS}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 109: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 109/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 103

PROCESS ATTACHMENT GROUPReturns:

This system variable returns the name of the group used for an object attachment.

SysVar Tag:

{PROCESS_ATTACHMENT_GROUP}

Optional Parameters:

This system variable has no Optional Parameters.

PROCESS DEFINITION NAMEReturns:

This system variable returns the name of the current process’ definition.

SysVar Tag:

{PROCESS_DEFINITION_NAME}

Optional Parameters:

This system variable has no optional parameters.

PROCESS IN ERRORReturns:

This system variable returns the name of a process’ task that’s in an error state. 

SysVar Tag:

{PROCESS_IN_ERROR}

Optional Parameters:

This system variable cannot be formatted.

PROCESS INSTANCE IDReturns:

This system variable returns the ID of the current process.

SysVar Tag:

{PROCESS_INSTANCE_ID}

Optional Parameters:

This system variable has no optional parameters.

PROCESS MESSAGEReturns:

This system variable returns a process’ task’s message. If there is none, it returns the date the process started.  

SysVar Tag:

Page 110: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 110/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 104

{PROCESS_MESSAGE}

Optional Parameters:

This system variable cannot be formatted.

PROCESS TASK DUE DATEReturns:

This system variable returns the due date of the current task on this process.

SysVar Tag:

{PROCESS_TASK_DUE_DATE}

Optional Parameters:

This system variable can be formatted as a datetime system variable.

PROCESS TASK START DATE

Returns:

This system variable returns the start date of the current task on this process.

SysVar Tag:

{PROCESS_TASK_START_DATE}

Optional Parameters:

This system variable can be formatted according to the options available to datetime system variables.

PROCESS TASK RUNNING

Returns:

This system variable returns the name of the task that’s currently running.

SysVar Tag:

{PROCESS_TASK_RUNNING}

Optional Parameters:

This system variable does not have optional parameters.

SUB TASK NAMEReturns:

This system variable returns the name of the sub task this process is running in.

SysVar Tag:

{SUB_TASK_NAME} 

Optional Parameters:

This system variable does not have Optional Parameters.

Page 111: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 111/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 105

DATETIME SYSTEM VARIABLES

DATE

Returns:

This option allows the user to specify a datetime from a datetime picker. While not technically a system variable, information about

a date can be gathered via SysVar tags by referencing a date picker.

SysVar Tag:

{FORM:someDateTimePicker}

Optional Parameters:

The result of this form field SysVar tag can be formatted according to the options available for form field SysVar tags.

CURRENT DATE

Returns:

This system variable returns the date at the moment this system variable is being referenced.

SysVar Tag:

{CURR_DATE}

{CURR_DATETIME} (for the time as well)

Page 112: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 112/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 106

{CURR_TIME} (for just the time)

{CURR_[YEAR|MONTH|DAY|HOUR|MINUTE]} (for just that component)

Optional Parameters:

This system variable can be formatted according to the options available to datetime system variables.

DAYS AGO

Returns:

This system variable returns a date a specific number of days before the date that this system variable is referenced.

SysVar Tag:

{CURR_DATE, days=-[number of days ago]}

Optional Parameters:

This system variable can be formatted according to the options available to datetime system variables.

DAYS FROM NOW

Returns:

This system variable returns a date a specific number of days after the date that this system variable is referenced.

SysVar Tag:

{CURR_DATE, days=-[number of days from now]}

Optional Parameters:

This system variable can be formatted as a datetime system variable.

Page 113: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 113/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 107

Page 114: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 114/129

Page 115: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 115/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 109

EMAIL SYSTEM VARIABLES

EMAIL URLReturns:

This system variable returns the URL of the task the email links to. This system variable can be put in link HTML tags.

SysVar Tag:

{EMAIL_URL}

Optional Parameters:

CompletePage: the full URL of the page to navigate to after the task is completed.

CompletePagePrompt: set to 0 to prevent a confirmation prompt from displaying

CompleteText: text to display after the task is completed

NoHome: set to 1 to prevent the home page from displaying when the task link is clicked.

EMAIL USERReturns:

This system variable returns the user the task is assigned to.

SysVar Tag:

{EMAIL_USER}

Optional Parameters:

This system variable can be formatted as a user system variable.

EMAIL EXTERNAL USERReturns:

This system variable returns a Boolean value reflecting whether the user being emailed is an external user or not.

SysVar Tag:

{EMAIL_EXT_USER}

Optional Parameters:

This system variable doesn’t have optional parameters.  

EMAIL FORM INSTANCE URLReturns:

This system variable returns the URL to the form instance or process activity that sent this email.

SysVar Tag:

{EMAIL_FORM_INSTANCE_URL}

Page 116: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 116/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 110

Optional Parameters:

CompletePage: the full URL of the page to navigate to after the task is completed.

CompletePagePrompt: set to 0 to prevent a confirmation prompt from displaying

CompleteText: text to display after the task is completed

NoHome: set to 1 to prevent the home page from displaying when the task link is clicked.

EMAIL TASK IDReturns:

Replaced with a tag indicating the task list used to send this email.

SysVar Tag:

{EMAIL_TASK_ID}

Optional Parameters:

There are no optional parameters for this system variable.

EMAIL COMPLETE URLReturns:

This system variable returns the URL of the page to automatically complete the task.

SysVar Tag:

{EMAIL_COMPLETE_URL}

Optional Parameters:

Action: the name of the task to complete. If unspecified, the user will be given a dropdown of the tasks to complete.

Confirm: if set to 1, a web page will be shown prompting the user to confirm that he wants to complete the task.

Comments: if set to 1, a text box will appear allowing the user to enter comments

EMAIL RESULT LINKSReturns:

This system variable returns a list of the URLs of the branches or activity results from the task that sent this email.

SysVar Tag:

{EMAIL_RESULT_LINKS}

Optional Parameters:

Separator: specifies a character to separate each link

Confirm: if set to 1, prompts a user to confirm that he wants to take this branch.

Comments: if set to 1, a text box appears allowing the user to enter comments.

Icon: determines if the link returned links to an icon (if set to 1) or the branch or activity result (if set to 0)

EMAIL RESULT LISTReturns:

Page 117: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 117/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 111

This variable returns a list of the potential branches or activity results from this task.

SysVar Tag:

{EMAIL_RESULT_LIST}

Optional Parameters:

The user can specify a character to separate each result in the list.

Page 118: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 118/129

Page 119: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 119/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 113

OTHER SYSTEM VARIABLES

CALCReturns:

This system variable returns the numerical result of a mathematical formula. Both constants and system variables can be used in the

formula.

SysVar Tag:

{CALC Formula=[some formula]}

Optional Parameters:

This system variable does not have Optional Parameters.

CURRENT USER GROUPSReturns:

This system variable returns a comma-separated list of the groups the current user belongs to.

SysVar Tag:

{CURR_USER_GROUPS, format=[ID|String]}

Optional Parameters:

This system variable can be formatted as either an ID or String.

CUSTOM VARIABLEReturns:

This system variable returns the value of a specified variable defined in the vars.cs.ascx file.

SysVar Tag:

{CustomVar:someVariableName}

Optional Parameters:

This system variable does not have optional parameters.

DATE DIFFERENCEReturns:

This system variable returns the difference between two datetimes.

SysVar Tag:

{DATEDIFF DATE1=[first date] DATE2=[second date]TYPE=[YEARS|MONTHS|DAYS|MINUTES|SECONDS|BUSINESS_DAYS|BUSINESS_HOURS}

Optional Parameters:

Page 120: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 120/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 114

Using the Type= parameter, this system variable can return the difference in years, months, days, minutes, seconds business days, or

business hours.

DEBUG_MODEReturns:

This system variable returns a Boolean (yes/no) value reflecting whether debug mode is current on or off.

SysVar Tag:

{DEBUG_MODE} 

Optional Parameters:

This system variable does not have Optional Parameters.

INTERFACE URLReturns:

This system variable returns the URL of the interface of the system configurations.SysVar Tag:

{INTERFACE_URL}

Optional Parameters:

This system variable does not have Optional Parameters.

KNOWLEDGE VIEW DEFINITION NAMEReturns:

This system variable returns the name of a knowledge view definition.SysVar Tag:

{KV_DEF_NAME}

Optional Parameters:

This system variable does not have optional parameters.

KNOWLEDGE VIEW NUMBER OF ROWSReturns:

This system variable returns the number of rows in a knowledge view instance.

SysVar Tag:

{KV_NUM_ROWS}

Optional Parameters:

This system variable does not have optional parameters.

Page 121: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 121/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 115

KNOWLEDGE VIEW FILTER DATAReturns:

This system variable returns a string representing the filters used in the knowledge view.

SysVar Tag:

{KV_FILTER_DATA}

Optional Parameters:

This system variable does not have optional parameters.

LOGO URLReturns:

This system variable returns the URL of the system logo image.

SysVar Tag:

{LOGO_URL}

Optional Parameters:

There are no Optional Parameters for this system variable. 

ROW NEXTReturns:

The Row Next system variable returns the number of the next row in an array.

SysVar Tag:

{ROW_NEXT}

Optional Parameters:

This system variable does not have Optional Parameters

ROW NUMReturns:

The Row Num system variable returns the number of the array row containing this system variable.

SysVar Tag:

{ROW_NUM}

Optional Parameters:This system variable does not have Optional Parameters.

ROW PREVReturns:

The Row Prev system variable returns the number of the previous row in an array.

Page 122: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 122/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 116

SysVar Tag:

{ROW_PREV}

Optional Parameters:

This system variable does not have Optional Parameters.

SERVER CULTUREReturns:

This system variable returns the server’s configured culture. 

SysVar Tag:

{SERVER_CULTURE, format=[name]}

Optional Parameters:

If the format=name option is used, this system variable returns the culture name. Otherwise, it returns the culture code.

SERVER NAMEReturns:

This system variable returns the name of the server.

SysVar Tag:

{SERVER_NAME}

Optional Parameters:

This system variable does not have optional parameters.

SERVER VERSIONThis system variable returns the server’s version.  

SysVar Tag:

{SERVER_VERSION, format=[string]} 

Optional Parameters:

Using the format=String Optional Parameters returns a string containing the server’s version. Otherwise, this system variable returns

the version number.

SESSIONReturns:

The session system variable returns the session variable for the current user.

SysVar Tag:

{SESSION}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 123: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 123/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 117

SEQUEL PERMISSIONReturns:

This system variable returns information about a permission. It can be used to verify that a user has a certain permission for a

certain object. The ID of the relevant object is passed via the ID parameter, the User ID of the user is passed through the UserID

parameter, and the type of permission being queried is passed through the PermType parameter.

SysVar Tag:

{SQL_PERM, ID=[object ID], UserID=[User’s User ID], PermType=[VIEW|MODIFY|DELETE|RUN]} 

Optional Parameters:

This system variable does not have Optional Parameters.

SEQUENCE NUMBERReturns:

This system variable returns a value that increments every time the system variable is referenced.

SysVar Tag:{SEQ_NUM} 

Optional Parameters:

This system variable can be formatted using the Digits= parameter. You can specify the number of digits that this number should

display with.

STRINGReturns:

The String system variable returns the value of a localized string in the relevant resource file. The localized string is referenced by its

name in the resource file.

SysVar Tag:

{STRING:string_name, type=[Internal|Custom]}

Optional Parameters:

This system variable has a formatting option called “type”. This can be set either to “internal” or “custom”. If set to “internal”, the

string will reference a Process Director-defined string, whereas when type is set to “custom”, it will reference a string defined by the

user in a resource file.

Page 124: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 124/129

 BP Logix Inc. Process Director

System Variables Reference1

Contents 118

STRING (Right-Hand Side Menu)

Returns:

This option will allow the user to specify a string to be used in a comparison. It is not technically a system variable.

SUMReturns:

This system variable returns the numerical sum of all the fields in a column of an array.

SysVar Tag:

{SUM, Columns=[name of field in an array]}

Optional Parameters:

This system variable does not have Optional Parameters.

Page 125: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 125/129

 

BP Logix Inc. Process DirectorSystem Variables Reference

1

Contents 119

Page 126: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 126/129

Page 127: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 127/129

 

BP Logix Inc. Process DirectorSystem Variables Reference

1

Contents 121

INDEX

ACTIVE ACTIVITY USERS 77

ACTIVE STEP USERS 52

ACTIVITY AVERAGE RUN TIME 90

ACTIVITY DESCRIPTION 91

ACTIVITY DUE DATE 81

ACTIVITY IN ERROR 91

ACTIVITY MESSAGE 91

ACTIVITY REACHED 84

ACTIVITY RESULT 91

ACTIVITY RUN TIME 92

ACTIVITY START DATE 79

ACTIVITY START DATE – PREDICTED 85ACTIVITY STATUS 92

ACTIVITY STOP DATE 80

ACTIVITY STOP DATE - PREDICTED 86

ACTIVITY TERMINATION REASON 92

ACTIVITY TOP RUNNING NAME 92

ACTIVITY USERS 78

ACTIVITY USERS COMPLETE 93

All System Variables 5

ALL USERS 39

ATTRIBUTE 20

BRANCH TAKEN 57Business Rule System Variables 65

BUSINESS RULES 65

CALC 113

CATEGORY 19

COMPLETED ACTIVITY USERS 90

COMPLETED STEP USERS 59

CONVERTING TO PDF 13

CREATE DATE 26

CREATE USER 24

CURRENT DATE 105

CURRENT USER 63CURRENT USER GROUPS 113

CUSTOM VARIABLE 113

DATE 105

DATE DIFFERENCE 113

DateTime System Variables 105

Datetime System Variables: 3

DAYS AGO 106

DAYS FROM NOW 106

DEBUG_MODE 114

DESCRIPTION 22

DOCUMENT TEXT 29

E EMAIL COMPLETE URL 110

EMAIL EXTERNAL USER 109

EMAIL FORM INSTANCE URL 109

EMAIL RESULT LINKS 110

EMAIL RESULT LIST 110

Email System Variables 109

EMAIL TASK ID 110

EMAIL URL 109

EMAIL USER 109

Encode Types 5

FOLDER PATH 29

FORM ATTACHMENT GROUP 17

FORM ATTACHMENTS 16

FORM EVENT NAME 15

FORM EVENT TYPE 14

FORM FIELD 7

Form Field System Variables 2

FORM INSTANCE ID 16

FORM PRINTING 12

FORM SUBMITTER 9

Form System Variables 7

GROUP 64

Group Parameter 5

IN RUNNING TASK? 48

INTERFACE URL 114

IS ACTIVITY PAST DUE? 82

IS ON MOBILE DEVICE? 16

IS PREDICTED TO END LATE? 88

IS PREDICTED TO START LATE? 87

IS STEP PAST DUE? 56

IS SUB-PROCESS? 102

KNOWLEDGE VIEW DEFINITION NAME 114

KNOWLEDGE VIEW FILTER DATA 115

KNOWLEDGE VIEW NUMBER OF ROWS 114

LOGO URL 115

Page 128: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 128/129

 

BP Logix Inc. Process DirectorSystem Variables Reference

1

Contents 122

Meta Data System Variables 19

NAME 21

NEW FORM INSTANCE 8NUM FORM ATTACHMENTS 11

NUM TIMELINE ATTACHMENTS 69

NUM TIMES ACTIVITY RUN 89

NUM TIMES STEP RUN 55

NUM WORKFLOW ATTACHMENTS 32

OBJECT ID 29

Object Information System Variables 21

OBJECT TYPE 30

Other System Variables 113

Pre, Post, and Null 6

PRIORITY 31, 71

PROCESS ATTACHMENT GROUP 103

PROCESS DEFINITION NAME 103

PROCESS IN ERROR 103

PROCESS INITIATOR 96

PROCESS INSTANCE ID 103

PROCESS INSTANCE NAME 95

PROCESS MESSAGE 103

PROCESS PRIORITY 98

PROCESS START DATE 99

PROCESS STATUS 97

PROCESS STOP DATE 100Process System Variables 95

PROCESS TASK DUE DATE 104

PROCESS TASK RUNNING 104

PROCESS TASK START DATE Returns: 104

ROW NEXT 115

ROW NUM 115

ROW PREV 115

RUNNING ACTIVITY NAME 83

RUNNING STEP 51

RUNNING USERS 102

SEQUEL PERMISSION 117

SEQUENCE NUMBER 117

SERVER CULTURE 116

SERVER NAME 116

SERVER VERSION 116

SESSION 116

SIZE 23

STEP DESCRIPTION 59

STEP DUE DATE 50

STEP IN ERROR 60

STEP INSTANCE ID 60

STEP MESSAGE 60

STEP REACHED 58

STEP RESULT 60STEP RESULT COUNT 60

STEP RUN TIME 61

STEP START DATE 53

STEP STATUS 61

STEP STOP DATE 54

STEP TERMINATION REASON 61

STEP USERS 49

STRING 117

STRING (Right-Hand Side Menu) 118

SUB TASK NAME 47, 104

SUBMIT DATE 10

SUM 118

System Variable Parameters 2

TASK ASSIGN DATE 42

TASK DUE DATE 44

TASK INSTRUCTIONS 43

TASK NAME 41

TASK ON BEHALF OF 46

TASK PRIORITY 45

Task System Variables 41

TERMINATION REASON 38, 74, 101

Timeline Activity System Variables 77

TIMELINE ATTACHMENT GROUP 76

TIMELINE ATTACHMENTS 75

TIMELINE AVERAGE RUN TIME 74

TIMELINE CONFIGURED STOP DATE 76

TIMELINE DEFINITION NAME 76

TIMELINE INITIATOR 67

TIMELINE INSTANCE NAME 70

TIMELINE START DATE 72

TIMELINE STATUS 68

TIMELINE STOP DATE 73

TIMELINE STOP DATE – PREDICTED 75

Timeline System Variables 67

UPDATE DATE 27UPDATE USER 25

USER 63

User System Variables 2, 63

VERSION 28

Page 129: System Variables Reference Guide

7/23/2019 System Variables Reference Guide

http://slidepdf.com/reader/full/system-variables-reference-guide 129/129

 

BP Logix Inc. Process DirectorSystem Variables Reference

1

WORKFLOW ATTACHMENT GROUP 39

WORKFLOW ATTACHMENTS 39

WORKFLOW DEFINITION NAME 40

WORKFLOW INITIATOR 33

WORKFLOW INSTANCE NAME 34

WORKFLOW NAME 40WORKFLOW RUN TIME 40

WORKFLOW START DATE 36

WORKFLOW STATUS 35

Workflow Step System Variables 49

WORKFLOW STOP DATE 37

Workflow System Variables 31


Recommended