Introduction to ScriptCode

What is ScriptCode

ScriptCode is a mechanism available on the Eximeeplatform that enables creating business logic in the form of JavaScript scripts executed on the server side. Thanks to this solution it is possible to dynamically process data, validate forms, format values and integrate with external REST services – without the need to write backend code.

In practice this means that developers and process configurators can flexibly extend the functionality of the Eximee application while maintaining consistency with the data model and BPMN processes.


Key capabilities of ScriptCode

ScriptCode enables, among other things:

  • Processing input and output data from forms, services and BPMN processes.

  • Data validation of the user using rules and business logic.

  • Formatting and presentation of values in the user interface.

  • Integration with external services via REST API ([RestApi] – Calling external REST services).

Scripts are executed on the Eximee server, which ensures security and data consistency throughout the processing cycle.


Use of ScriptCode on the Eximee platform

ScriptCode is used in various platform artifacts:

Artifact
Description

Scripts (scriptService)

They are responsible for powering form components or processing input and output data.

Script validators (validationScript)

They implement data validation logic at the form or process level.

Formatters

They are responsible for the presentation and formatting of data in the user interface.

Script tasks (scriptTask)

Executed within BPMN processes, they allow implementing custom business actions.


Advantages of using ScriptCode

  • 🧠 Flexibility – easy introduction of changes to business logic without the need to modify backend code.

  • ⚙️ Integration – the ability to communicate with external systems using REST API.

  • 🧩 Modularity – different types of artifacts can cooperate within a single application.

  • 🔒 Security and control – executing scripts on the server side minimizes the risk of client-side manipulation.

Last updated

Was this helpful?