Versions Compared

Key

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

Multiexcerpt include
MultiExcerptNamedesign-studio-banner
PageWithExcerptDesign Studio

Scripting

Overview

Scripts, written using either the Jitterbit Script Language or JavaScript, are used to manipulate data or to perform logic checks. You can run scripts by using the RunScript() function or by inserting them into an operation. See Creating a Script for more information.

Conditions also fall under the scripting category, although they do not require you to write any scripts. Instead, Conditions conditions provide a simple, visual way to create conditional operations (such as “If this...then that”), without needing to create a script. See Creating a Condition for more information.

Frequently Asked Questions

Q: How do you randomly generate a number using scripting?

A: These are examples to generate a random number, depending on your use case. For additional information, see Formula Builder General Functions.

Tip
titleEXAMPLES:

Random(0, 9999999);

RandomString(7, "0123456789");

Q: How do you validate an e-mail address?

A: If(RegExMatch(emailaddress,"[A-z0-9._%+-]+@[A-z0-9.-]+\.[A-z]{2,4}"); See Email Functions for an example.

Panel
borderColor#FF7C4C
titleColor#FFFFFF
titleBGColor#FF7C4C
titlePages in This Topic
Content by Label
showLabelsfalse
max1000
showSpacefalse
sorttitle
cqllabel = "script" and space = "DOC"
Panel
borderColor#8C9CB4
titleColor#FFFFFF
titleBGColor#8C9CB4
titleSearch in This Topic
Page Tree Search

HideElements
metastrue
titletrue

Last updated: 

Lastmodifieddate