Versions Compared

Key

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

Child pages (Children Display)

 

What is Case Scripting?

Case Scripting allows you to add your own scripts to customize AgileCase.The scripting language used is JavaScript so users that are familiar can jump in straight away begin creating their own scripts.

...

There are three different scripting options available: JavaScript custom fields, on load scripts and on save scripts. JavaScript fields are added to a custom field group whilst on load and on save scripts are created in the "Scripting" option in the settings menu

 

JavaScript custom fields

JavaScript label custom fields allow you to run scripts in the tab that contains the field. Since these are only active in the tab they inhabit, they cannot be used with our reporting functionality or in documents.

...

You can find out more about JavaScript label custom fields in the custom field guide here.

 

On load scripting

On load scripting runs when the system loads a case.

...

On load scripts can access any information in a case. This is useful as they can be used to pull information buried in custom field groups and surface it on the front page of the case.

 

On save scripting

On save scripting runs when a case is saved. These scripts are useful for automating actions depending on the values in the case.

...