Skip to content

JSON WorkflowTemplate

Tony Woode edited this page Apr 8, 2015 · 1 revision

JSon Format for WorkFlow Template (from James 13/08/14)

{
    model:{
        tasks:[
            {id,type,name,params{[param1,param2,.....param_n]},....
        ],
        gateways:[
            {id,type},....
        ],
        flows:[
            {sourceId,targetId,evaluation_var_name(optional, only for
gateway exits),evaluation_var_value(optional, only for gateway exits)},....
        ],
    },
    view{
        tasks[
            {taskId,shapeType,xTop,xBottom,yLeft,Right},....
        ],
        gateways[
            {taskId,shapeType,xTop,xBottom,yLeft,yRight},....
        ],
        flows[
            {flowId,wayPoints:[
                {xStart,ySTart,xStart,xEnd},....
            ]},....
        ]
    }
}
Clone this wiki locally