Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

These predefined scripting global variables are currently available in Jitterbit.

Variable NameData TypeDescriptionjitterbit.scripting.

Introduction

This page covers Jitterbit variables that are available for scripting. Each of these variables is available to set (write):

Settings

jitterbit.scripting.db.auto_commit

Variablejitterbit.scripting.db.auto_commit

Data Type

Boolean
Defaulttrue
DescriptionSet to false to run DbExecute and DbLookup statements in a transaction. Auto-commit is turned on by default.

jitterbit.scripting.db.max_rows

Variablejitterbit.scripting.db.max_rows

Data Type

Integer
Default10000
DescriptionMaximum number of rows to fetch in a call to DbExecute.
The default is 10,000.

jitterbit.scripting.db.rows_affected

Variablejitterbit.scripting.db.rows_affected

Data Type

Integer
DescriptionThe number of rows affected by a call to DbExecute or DbLookup.

jitterbit.scripting.db.transaction

Variablejitterbit.scripting.db.transaction

Data Type

Boolean
Defaultfalse
DescriptionSet to true if you want DbExecute/DbLookup calls to run in a transaction.

jitterbit.scripting.ldap.include_dn_in_results

Variablejitterbit.scripting.ldap.include_dn_in_results

Data Type

Boolean
DescriptionWhen set, XML-formatted LdapSearch() results will include the DN attribute for each Entry.

jitterbit.scripting.ldap.max_search_results

Variablejitterbit.scripting.ldap.max_search_results

Data Type

Integer
DescriptionThe maximum number of entries LdapSearch() should return.

jitterbit.scripting.ldap.return_null_if_no_results

Boolean -
Default: False
Variablejitterbit.scripting.ldap.return_null_if_no_results

Data Type

Boolean
Defaultfalse
DescriptionIf an LDAP query returns no results, a NULL data element is returned. The default is to return an empty array data element. This is for backward-compatibility only.

jitterbit.scripting.ldap.scope

Variable

jitterbit.scripting.ldap.scope

Data Type

Integer
Description

The scope LdapSearch() should use.

The

These options are valid:

 
  • 0
--
  • Search the base
-
  • entry only.
 
  • 1
--
  • Search all entries in the first level below the base
-
  • entry, excluding the base
-
  • entry.
 
  • 2
--
  • Search the base
-
  • entry and all entries in the tree below the base.
Variablejitterbit.scripting.ldap.use_paged_search

Data Type

Integer
DescriptionUse paged search when searching LDAP directories. This option is useful for retrieving large result sets.

jitterbit.scripting.nesting.max

Variable

jitterbit.scripting.nesting.max

Data Type

Integer
Default10
DescriptionMaximum nesting level for RunScript/RunOperation calls. If the nesting level is exceeded, the operation will fail.
The default is 10 so if
If your application needs deeper nesting
than this for some reason it has to be increased
, increase this number.

jitterbit.scripting.while.max_iterations

Variable

jitterbit.scripting.while.max_iterations

Data Type

Integer
Default50000
DescriptionThe maximum number of times that the body of a while loop will execute. Setting
it
this number to less than
one
1 reverts to the default of 50,000 iterations.
Panel
borderColor#FF7C4C
titleColor#FFFFFF
titleBGColor#FF7C4C
titleRelated Articles
Content by Label
showLabelsfalse
max1000
showSpacefalse
sorttitle
cqllabel = "global-variables" and space = "DOC"
Panel
borderColor#00B886
titleColor#FFFFFF
titleBGColor#00B886
titleRelated Topics
Content by Label
showLabelsfalse
max1000
showSpacefalse
sorttitle
cqllabel in ("reference-overview","script-overview") and space = "DOC"

HideElements
metastrue

Last updated: 

Lastmodifieddate