Skip to content

Commit

Permalink
docu
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Dec 30, 2024
1 parent 454a144 commit f510cb8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/site/markdown/engine/plugins/ruleplugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ If no errorCode is defined the default errorCode `VALIDATION_ERROR` will be set.
```javaScript
if (workitem.getItemValueDouble('budget')>10000) {
var result={
'isValid':false,
'errorMessage':[
'Something go wrong!',
'Something else go wrong!'
]
};
'isValid':false,
'errorMessage':[
'Something go wrong!',
'Something else go wrong!'
]
};
}
```

Expand All @@ -114,8 +114,8 @@ See the following example which creates a new single item name 'some_item' with

```javaScript
var result={
isValid=true,
some_item: 'Hello World'
isValid=true,
some_item: 'Hello World'
};
```

Expand All @@ -124,8 +124,8 @@ A property of the result object may also contain multi-values which have to be s

```javaScript
var result={
isValid: true,
multi_item: [ 'Hello World', 'Hello Imixs']
isValid: true,
multi_item: [ 'Hello World', 'Hello Imixs']
};
```

Expand Down

0 comments on commit f510cb8

Please sign in to comment.