Module: work_item_split_gateway
Last updated
Was this helpful?
Was this helpful?
import workItem from "work_item_split_gateway";
workItem.setPrepare( (ctx) => {
// Fill variables for c-unit queries. Executed before method “split”
});
workItem.setSplit( (ctx) => {
// Determines the identifier for selecting the next workflow element
return 'gateway-identifier';
});