Skip to content

opensam/axelor-studio

 
 

Repository files navigation

Axelor Studio

The main repository for Studio and BPM

Installation on a project using nexus dependencies

Add the following to the dependencies section of your build.gradle file:

implementation 'com.axelor.addons:axelor-studio:x.y.z'

Installation on a project as a git submodule

Firstly, clone the project in your webapp's modules.

Then, add the following lines to the settings.gradle file of your project:

include 'modules:axelor-studio'

Then, add the following lines to the dependencies section of your build.gradle file:

implementation project(':modules:axelor-studio')

Required configurations

Add the following lines to the axelor-config.properties file of your project:

# Install apps. This deprecate the old 'aos.apps.install-apps' property
studio.apps.install = all

# Enable utils api. This deprecate the old 'aos.api.enable' property
utils.api.enable = true

# Custom context values
# ~~~~~
context.app = com.axelor.studio.app.service.AppService

# Enable BPMN logging
studio.bpm.logging = true

# Configure Utils process timeout
utils.process.timeout = 10

BPM Groovy Script Variables

Some variables are available to be used with groovy script expressions in BPM. This includes:

  • __studiouser__ - current user or admin if no user
  • __date__ - current date as LocalDate
  • __datetime__ - current datetime as LocalDateTime
  • __time__ - current time as LocalTime
  • __config__ - application configuration as axelor-config.properties
  • __beans__ - beans class as Beans.class
  • __ctx__ - workflow context helper as WkfContextHelper
  • __transform__ - workflow transformation helper for web service connector as WkfTransformationHelper
  • __repo__ - repository of given model class
  • __log__ - get the global instance of the Logger

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 74.6%
  • Java 22.4%
  • CSS 2.6%
  • Shell 0.2%
  • HTML 0.1%
  • SCSS 0.1%