Develop > Document Engine > Processes > Process Definition form and field descriptions

Process Definition form and field descriptions

On the Process Definition form, you define new Processes or edit existing Processes. Processes run code or expressions to perform the user selected actions

The field descriptions for the Process Definition form are:

Field Name Description

Process Name

process

Specifies the name of the process. (required)

Save Cursor Position

save.cursor.position

Select this box if you want to return to the same cursor position after the action (for example on a fill).

Run Standard Process when complete?

run.standard

When selected, then the system runs a standard process after completing the current action or Process. A standard Process such as save, for example. If you have created a save Process and want to run the save Process that comes with the Document Engine after completing the save process you defined, check this box. A standard process is defined in the base functions sections of this document.

Run in Window?

run.in.window

When selected, the process runs in a separate window.

Window Title

window.name

If the Run in Window? check box is selected, specify a title for the window. An scmsg expression can be used for localized window titles, such as scmsg(1980, "us").

In addition to the fields described above, there are also tabs on this form that allow you to further define the Process. These tabs are:

  • Initial Expressions tab
  • Initial Javascript tab
  • RAD tab
  • Final Expressions tab
  • Final Javascript tab
  • Next Process tab

Initial Expressions tab

The Initial Expressions tab defines the initial expressions that run prior to the initial Javascript and prior to the RAD calls defined on the RAD tab. The initial expressions are written using standard Service Manager expressions.

Initial Javascript tab

The Initial Javascript tab defines the initial javaScript expressions that run before the RAD defined on the RAD tab.

RAD tab

The RAD tab defines the pre-RAD expressions, RAD calls, and post-RAD expressions that run as part of the Process.

The field descriptions for the RAD tab are:

Note These fields are repeated for each RAD application defined on this tab.

Field Name Description

Expressions evaluated before RAD call

pre.rad.expressions

Specify the expression to run prior to the RAD application defined in the RAD Application field. All parameter values passed to the RAD application must be in the form of variables or expressions. The variables must be assigned their values in the pre-RAD expressions; for example, $L.value.name="Test".

RAD Application

application

Specifies the name of the RAD application to run.

Condition

rad.condition

Specify under which circumstances the RAD application should be executed (condition evaluates to true) or skipped (condition evaluates to false).

Parameter Names

names

Specifies the parameter names passed to the RAD application

Parameter Values

values

Specifies the parameter values passed to the RAD application. These values must be in the form of variables or expressions. String values can be passed when enclosed in double quotes ( "Wizard Name").

Post RAD Expressions

post.rad.expressions

Specifies any RAD expression that will run after the RAD application completes.

Final Expressions tab

The Final Expressions tab defines the final expressions that run after the RAD tab processing completes. The final expressions are written using standard Service Manager expressions.

Final Javascript tab

The Javascript defined on this tab runs after the final expressions and after the RAD applications on the RAD tab.

Next Process tab

This tab specifies the next Process or Processes to run when the current Process completes.

The field descriptions for the Next Process tab are:

Field Name Description

Next Process

next.process

Specifies the name of the next Process to run.

Condition

process.condition

Specifies a condition associated with the Process in the Next Process field that evaluates to true or false. For example, true for the sm.close Process.