Skip to content
Snippets Groups Projects
Commit 27950cb2 authored by S.Listl's avatar S.Listl
Browse files

Workflow Signals

parent cac8fa19
No related branches found
No related tags found
No related merge requests found
import("system.result"); //import("system.result");
import("system.workflow"); //import("system.workflow");
import("system.vars"); //import("system.vars");
//
var processDefinitionId = vars.get("$param.ProcessDefinitionId_param"); //var processDefinitionId = vars.get("$param.ProcessDefinitionId_param");
var signals = processDefinitionId //var signals = processDefinitionId
? JSON.parse(workflow.getSignalDefinitions(processDefinitionId)) // ? JSON.parse(workflow.getSignalDefinitions(processDefinitionId))
: []; // : [];
//
result.object(signals.map(function (signal) //result.object(signals.map(function (signal)
{ //{
return [signal.name, signal.name]; // return [signal.name, signal.name];
})); //}));
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment