Versions Compared

Key

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

Specifies the global farm configuration. All agent nodes in farm shares the same configuration. By default host administration can be accessed from only localhost http://localhost:5000 address. 

Note
title

Warning

Host administration port (5000) should be open to only secured networks and should not be open for public access. In addition to special port host administration panel also protected by a password. On initial setup emakin assigns default password ("verysecret") but it can be changed later from administration panel.

Host configuration contains one or more application definition to as hosted emakin application. Each application definition has multiple domains for multi-tenancy.Image Removed

...

Application definition performs isolation at database level and nothing can be shared between application-wide. Domains isolates the process-wide data and cross domain workflows are possible. For example a workflow instance can be started in "foo" domain and next step can be assigned to a user in "bar" domain. 

...

List of xml repository connections to store domain specific data. See $XmlRepository for more detail.

Name
Display name of xml repository

...

SMS Gateway Code
Script to process SMS request. If script returns any not null value system assumes SMS has been sent.

Expand
titleSMS Sending Example
Code Block
languagejs
collapsetrue
var client = $Rest.Create('http://smsservice/sendsms');

var request = client.Request('', {
    to : $Destination,
    message : $Message
});

request.ExecuteJson();

return true;


Activity Callbacks

Configuration of activity callbacks. Activity callbacks are executed when certain activity has occur in system and used to integrate with other systems.

Is Enabled ?
If set no service is disabled and system does not try to use service.

Name
Identifier of service

Callback Code
Callback code

Expand
titleSample for notify a external system when work item has assigned.
Code Block
if ($Activity.objectType == 'workitem' && $Activity["@type"] == 'assign') {

    $Rest.Create('http://localhost/post')
        .Request()
        .AddObject({
            targets : $Targets.map(function (identity) {
                return identity.Id;
            }),
            message : $Activity.task + " " + $Activity.instructions
        })
        .ExecuteJson();
}

Workers

Configuration of background job workers. This list allows to customize worker queue priority and error handing configurations. Please see Background Jobs page for more detail.

...