Anyone got a catalog of activityType, taskType, and eventType s

Anyone got a catalog of activityType, taskType, and eventType There seems to be an index to these objects, but I need a complete list.

I’m sorry, I’m not totally sure what you’re referring to. Do you mean the built in shapes for GoJS or do you mean the different templates we have in our BPMN sample?

If you look in the BPMN code you’ll find things like:

function nodeActivityTaskTypeConverter(s) {
var tasks = [“Empty”,
“BpmnTaskMessage”,
“BpmnTaskUser”,
“BpmnTaskManual”, // Custom hand symbol
“BpmnTaskScript”,
“BpmnTaskMessage”, // should be black on white
“BpmnTaskService”, // Custom gear symbol
“InternalStorage”];

All of the templates and their associated data should exist there, in BPMN.js.

That sample is meant to get you started, but we cannot guarantee that it contains nearly everything that exists in the BPMN specifications.

Simon

  Where is the catalog of eventTypes, taskTypes for this code from the BPMN example.

nodeDataArray: [
// -------------------------- Event Nodes
{ key: 100, category: “event”, text: “Start”, eventType: 9, eventDimension: 2, item: “Timer”},
{ key: 102, category: “event”, text: “Message”, eventType: 2, eventDimension: 2, item: “Message”}, // BpmnTaskMessage
{ key: 103, category: “event”, text: “Timer”, eventType: 3, eventDimension: 3, item: “Timer”},
{ key: 104, category: “event”, text: “End”, eventType: 1, eventDimension: 8, item: “End”},
{ key: 107, category: “event”, text: “Message”, eventType: 2, eventDimension: 8, item: “Message”},// BpmnTaskMessage
{ key: 108, category: “event”, text: “Terminate”, eventType: 13, eventDimension: 8, item: “Terminate”},
// -------------------------- Task/Activity Nodes
{ key: 131, category: “activity”, text: “Task”, item: “generic task”, taskType: 9},
{ key: 132, category: “activity”, text: “User Task”, item: “User task”, taskType: 2},
{ key: 133, category: “activity”, text: “Service\nTask”, item: “service task”, taskType: 6},
// subprocess and start and end
{ key: 134, category: “subprocess”, loc: “0 0”, text: “Subprocess”, isGroup: true, isSubProcess: true, taskType: 0 },
{ key: -802, category: “event”, loc: “0 0”, group: 134, text: “Start”, eventType: 1, eventDimension: 1, item: “start” },
{ key: -803, category: “event”, loc: “350 0”, group: 134, text: “End”, eventType: 1, eventDimension: 8, item: “end”, name: “end” },

  // -------------------------- Gateway Nodes, Data, Pool and Annotation
    { key: 201, category: "gateway", text: "Parallel", gatewayType: 1},
    { key: 204, category: "gateway", text: "Exclusive", gatewayType: 4},
    { key: 301, category: "dataobject", text: "Data\nObject"},
    { key: 302, category: "datastore", text: "Data\nStorage"},
    { key: 401, category: "privateProcess", text: "Black Box"},
    { key: "501", "text": "Pool 1", "isGroup": "true", "category": "Pool" },
      { key: "Lane5", "text": "Lane 1", "isGroup": "true", "group": "501", "color": "lightyellow", "category": "Lane" },
      { key: "Lane6", "text": "Lane 2", "isGroup": "true", "group": "501", "color": "lightgreen", "category": "Lane" },
    { key: 701, category: "annotation", text: "note"}
  ]  // end nodeDataArray
});  // end model

Look at the templates and search for “eventType” or “taskType” Bindings. Typically there will be a conversion function used by each Binding, whereby you can see how the values map to the specific properties needed by the GraphObject whose property is data bound.