---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Activity designer template pre-processing fields

# Activity designer template pre-processing fields {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Use the Pre Processing form of the activity designer to define a
script to run before the activity executes.

## Pre-processing fields {#PreprocessFields__sec_PreProcessingFields}

{#PreprocessFields__table_trw_lvn_cr__entry__2}

| Field | Description |
|-|-|
| Input process script | Script to run before the activity executes. |
| Variables | Input variables that are available to use as building blocks in the input process script. Click the arrow above the field to open the variables list. Click an item in the tree to add it to your script in the appropriate syntax. The list displays execution parameters and input variables you passed into the activity on the Inputs form. All activity variables added in the Inputs form are read-only and are expressed in the pre-processing script with this syntax: `activityInput.variable`. Before the activity executes and makes a call to the service or host, you can override the effective execution value of this variable by assigning values to the `executionParam.variable_name` execution parameter. Refer to the specific execution parameters for your template. |
[ ]

{#PreprocessFields__table_trw_lvn_cr}

## Logging {#PreprocessFields__s_Pre-ProcessActivityLogging}

Activity designers can add logging to the pre-processing using the
ActivityLogger API, which works for scoped or global applications.
Logged data from the script appears in the Workflow Log related list
in the context records for any workflow that uses the activity. The
Source for these messages in the workflow log is
ACTIVITY.  
Wichtig:  
To display the debug messages in the workflow log, set the glide.workflow.log.debug property to true.  
The supported messages are:

* `ActivityLogger.debug("Pre Processing Log Message");`
* `ActivityLogger.info ("Pre Processing Log Message");`
* `ActivityLogger.warn ("Pre Processing Log Message");`
* `ActivityLogger.error("Pre Processing Log Message");`

{#PreprocessFields__ul_gyd_fmv_vw} Abbildung : 1. ActivityLogger API

