Creates a new model instance.
Model to be instantiated.
Map of model instance initialization properties. If null, an empty map is created in the instantiated model.
Reference to the created model instance. If the created model instance throws a runtime exception during its initialization, the referred slot is set to null.
Throws:
-"NullParameterError" if mandatory parameters are not specified.
-"ModelInstaniationError" if the model instance did not start due to an internal initiation error, not due to a model interpretation error.
Terminates a running model instance.
Model instance to be terminated.
Throws:
-"NullParameterError" if mandatory parameter is not specified.
Permanently removes process logs of the specified finished model instances from the database.
A set of model instances of which logs are deleted.
Throws:
-"NullParameterError" if mandatory parameter is null.
-"ModelInstanceNotFinishedError" if at least one of the specified model instances is not finished.
(Re)activates an inactive or finished goal. If the goal is active, the task type does nothing.
Goal to be (re)activated.
Throws:
-"NullParameterError" if mandatory parameters are not specified.
-"FinishedProcessInstanceError" if the process instance of the activated goal is finished.
Deactivates a not finished goal. If the goal is finished or the goal’s process is finished, the task type does nothing.
Goal to be deactivated.
Throws:
-"NullParameterError" if mandatory parameters are not specified.
Repeats a set of goals. In principle, this task type deactivates the specified achieve goals, then sets the slots with the desired values, and finally reactivates the goals.
Goals to be repeated. A runtime exception is thrown when the list includes a pair of achieve goals from which one goal is a subgoal of the other. Another runtime exception is thrown when process instance of any of the repeated goals is terminated.
Throws:
-"NullParameterError" if mandatory parameters are not specified.
-"FinishedProcessInstanceError" if the process instance of the activated goal is finished.
-"ParentGoalError" if the goals list includes a pair of goals from which one goal is a subgoal of the other.
Deletes the specified shared records and related (by data relationships) shared records from database.
Set of shared records to delete.
Throws:
-"NullParameterError" if mandatory parameters are not specified.
-"IncompatibleTypeError" if the data parameter contains an object which is not a shared record.
-"RecordNotFoundError" if the data parameter contains a shared record with incorrect reference to a database record.
Permanently removes the specified binary data from the database.
Binary handle pointing to the binary data to be removed. The fields of the handle are cleaned up as well (set to the default values).
Throws:
-"NullParameterError" if mandatory parameters are not specified.
Creates a model instance-independent lock.
Name (identifier) of the lock.
Description of the lock.
If true, a new lock was successfully created. If false, a lock with the same name already exists.
If the result is true, the value of the referred string is not changed. If the result is false, the value of the referred string is replaced with the message of an already existing lock with the same name.
Throws:
-"NullParameterError" if mandatory parameters are not specified.
Unlocks (removes) a previously created lock.
Name of the lock to be removed.
Throws:
-"NullParameterError" if mandatory parameters are not specified.
Parses XML document to internal data structures.
The XML document to parse.
Reference to a slot where the result is stored. The type of reference provided determines which object should be parsed from XML. The referred object must be record type, otherwise an exception is thrown.
If true, the default LSPS XML mapping is used. Otherwise, the meta- data defined on record types are taken into account when parsing XML. Parsing of types generated from XSD requires setting of this parameter to false. The default value is false.
If the default mapping is used, this parameter determines XML namespace used for elements. If the default mapping is not used, this parameter is ignored. The default value is null.
Throws:
-"NullParameterError" if mandatory parameters are not specified.
-"IncompatibleTypeError" if the type of the output is not record.
-"UnableToParseXmlError" if the specified xml cannot be parsed to output.
Converts internal data structures to XML document.
The object to be converted. It must be an instance of a record type, otherwise an exception is thrown.
Reference to the variable where the output XML document is stored.
If true, the default LSPS XML mapping is used. Otherwise, the meta- data defined on record types are taken into account when creating XML. Creating XML from an object of which type was generated from XSD requires setting of this parameter to false. The default val- ue is false.
If the default mapping is used, this parameter determines XML namespace used for elements. If the default mapping is not used, this parameter is ignored. The default value is null.
Throws:
-"NullParameterError" if mandatory parameters are not specified.
-"IncompatibleTypeError" if the type of the object is not record.
-"UnableToConvertToXmlError" if an error occured during conversion.
Request payload. Can be either String or Binary. All other objects are converted to String. String is converted to data stream honoring charset specified in the requestContentType parameter. If there is no charset specified, UTF-8 is used.
Type of the method to be performed. Possible values are “GET”, “POST”, “PUT”, and “DELETE”.
Endpoint address of the target HTTP service.
Request payload. Can be either String or core::BinaryHandle. All other objects are converted to String. String is converted to data stream honoring charset specified in the requestContentType parameter. If there is no charset specified, UTF-8 is used. If core::BinaryHandle object is used, request payload will contain data from this handle.
Content type (MIME) of the request payload.
Reference where the response payload is to be stored.
Reference to the response code.
Login for the HTTP BASIC authentication.
Password for the HTTP BASIC authentication.
Socket timeout for the call.
Map of the request HTTP headers to be sent together with the request.
Reference to the map of the HTTP response headers.
If true, the task is executed synchronously in the context of process instance. If false or null, the task is executed asynchronously, outside of the process context.
Throws:
-"NullParameterError" if mandatory parameter is null.
-"HttpCallError" if an error occured during the HTTP call.
Logs a specified message to the application log at the specified log level.
Message to be logged.
Log level. Unspecified level value logs at the “Info” level.
Throws:
-"NullParameterError" if mandatory parameters are not specified.
Writes values to slots.
Sets objects as values of slots, whereas the slots are being pointed to by reference. References to the changed slots are given by the keys and corresponding objects by the values. References in the slots map cannot be null.
Throws:
-"NullParameterError" if mandatory parameters are not specified.
-"IncompatibleTypeError" if the type of an assigning value is not compatible with the type of the slot it is being assigned to.
Executes the specified activity.
Activity to execute.
Throws:
-"NullParameterError" if mandatory parameter is not specified.