JavaScript Validation

Javascript Validation

After a task is executed, you can validate the task result with different validation types. One of them is Javascript Validation, which allows you to code multiple validation rules using Javascript.

All your Validation Rules are executed independently.


Task Validation Context

The Javascript validation context object allows you to access the task result.

var result = context.taskResult;


Using the task result, you can use the HL7, XML, or JSON parser to parse the text result as a queryable object and build sophisticated validations with it.