@vario-software/types 2026.24.4 → 2026.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -83,18 +83,18 @@ export interface WorkflowScriptingContext {
|
|
|
83
83
|
* ```typescript
|
|
84
84
|
* import workItem from "work_item_intermediate_event";
|
|
85
85
|
*
|
|
86
|
-
* workItem.
|
|
86
|
+
* workItem.setPrepare( (ctx) => {
|
|
87
87
|
* // Fill variables for c-unit queries. Executed before method “guard”
|
|
88
|
-
* };
|
|
88
|
+
* });
|
|
89
89
|
*
|
|
90
90
|
* workItem.setGuard( (ctx) => {
|
|
91
91
|
* // Should "trigger" be executed?
|
|
92
92
|
* return true;
|
|
93
|
-
* };
|
|
93
|
+
* });
|
|
94
94
|
*
|
|
95
|
-
* workItem.
|
|
95
|
+
* workItem.setTrigger( (ctx) => {
|
|
96
96
|
* // Action to be performed
|
|
97
|
-
* };
|
|
97
|
+
* });
|
|
98
98
|
* ```
|
|
99
99
|
*/
|
|
100
100
|
export interface workItem {
|
|
@@ -90,11 +90,11 @@ export interface WorkflowScriptingContext {
|
|
|
90
90
|
* workItem.setGuard( (ctx) => {
|
|
91
91
|
* // Should "trigger" be executed?
|
|
92
92
|
* return true;
|
|
93
|
-
* };
|
|
93
|
+
* });
|
|
94
94
|
*
|
|
95
95
|
* workItem.setAction( (ctx) => {
|
|
96
96
|
* // Action to be performed
|
|
97
|
-
* };
|
|
97
|
+
* });
|
|
98
98
|
* ```
|
|
99
99
|
*/
|
|
100
100
|
export interface workItem {
|
|
@@ -76,14 +76,14 @@ export interface WorkflowScriptingContext {
|
|
|
76
76
|
* ```typescript
|
|
77
77
|
* import workItem from "work_item_split_gateway";
|
|
78
78
|
*
|
|
79
|
-
* workItem.
|
|
79
|
+
* workItem.setPrepare( (ctx) => {
|
|
80
80
|
* // Fill variables for c-unit queries. Executed before method “split”
|
|
81
|
-
* };
|
|
81
|
+
* });
|
|
82
82
|
*
|
|
83
|
-
* workItem.
|
|
83
|
+
* workItem.setSplit( (ctx) => {
|
|
84
84
|
* // Determines the identifier for selecting the next workflow element
|
|
85
|
-
* return
|
|
86
|
-
* };
|
|
85
|
+
* return 'gateway-identifier';
|
|
86
|
+
* });
|
|
87
87
|
* ```
|
|
88
88
|
*/
|
|
89
89
|
export interface workItem {
|