Metastorm BPM 7.x : System Variables


When I first started with Metastorm, the system variables I would always forget with having save up memory space for the hundreds of custom variables I’d create and use. For those of you Metastorm newbies, we have a quick a dirty list of the system variables that you’ll most commonly use.

Variable Group

Variable Name

Description

Action Specific

%Action.Name

The Name of the current user/flagged/timed/conditional action.

 

%Action.Notes

The notes tab of the current action

 

%Action.StartsStage

Name of the user/group/system stage that the current action starts

User Session Specific

%Session.FlagName

The name of a raised flag being handled by a flagged action

 

%Session.FlagData[0]

The data contents of a flag

 

%Session.FlagRaiser

The FolderID (not name!) that raised a particular flag.

Engine Specific

%System.Name

The engine name (in hostname$engine format)

 

%System.Roles

A memo list of current published roles for all procedures

 

%System.Time

Current Date/Time

 

%System.Users

A memo list of all current system users

User Specific

%User.Error

An error presented to the user. Is cleared when leaving the action that raises the error.

 

%User.Form

The name of the current form the user is working on.

 

%User.Input

Holds the data just entered by the user. Used in ‘When Pressed’ and ‘When Changed’

 

%User.Input[Grid Column]

Holds the current selected grid row in an array, starting at 0 for the first column.

 

%User.Name

Name of the current logged in user

Folder Specific

%CreationTime

Time of folder creation

 

%Deadline

Date/Time field used to specify a due by date for the folder

 

%EntryTime

Date/Time at which the folder entered its current stage

 

%FolderID

Unique metastorm generated numerical value

 

%FolderName

Name of the current folder (prefix + suffix)

 

%MapName

Name of the current map the folder belongs to

 

%Originator

Name of the metastorm user that initiated this folder. Empty for a flagged folder creation.

 

%Parent

The FolderID of the parent folder

 

%StageName

The stage name that the folder is currently residing.

 

%Subject

The value shown in the subject field of the user view

 

%Updated

The Date/Time of the last commit action for this folder.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s