IBM Business Process Manager, Version 8.5.5

REST interface for BPD-related resources - Process Visual Model Resource - GET Method

Use this method to retrieve a visual model (json, xml or image) for a business process definition.

Sample method invocation

GET /rest/bpm/wle/v1/visual/processModel/{bpdId}[?snapshotId={string}][&branchId={string}][&projectId={string}][&image={boolean}]

Parameters

Note: In order to identify the correct snapshot to be used, you must specify one of the snapshotId, branchId, or projectId parameters.
The snapshot is obtained using the following precedence rules:
1) If the snapshotId parameter is specified, then that specific snapshot will be used, and the branchId and projectId parameters are ignored.
2) If the branchId parameter is specified, then the tip (current) snapshot of the specified branch (track) will be used, and the projectId parameter is ignored.
3) If the projectId parameter is specified, then the tip (current) snapshot of the default branch (track) within that process application will be used.
Optional parameters
NameValue TypeDescription
snapshotId string
The ID of the snapshot associated with the visual model for the business process definition. Either 'snapshotId', 'branchId' or 'projectId' must be specified.
branchId string
The ID of the branch associated with the visual model for the business process definition. Either 'snapshotId', 'branchId' or 'projectId' must be specified.
projectId string
The ID of the Process App or Toolkit associated with the visual model for the business process definition. Either 'snapshotId', 'branchId' or 'projectId' must be specified.
image boolean
If the parameter is true, an image will be returned. Otherwise, the response will be json or xml.

Request content

None

Response content

The visual model (json, xml or image) for a business process definition.

The default content type is application/json.

MIME type: application/json


+ View schema
{
    "status":"200",
    "data":{
        "name": {"type": "string", "description": "The name of the business process definition."},
        "desc": {"type": "string", "description": "The description of the business process definition."},
        "poId": {"type": "string", "description": "The persistent object ID of the business process definition."},
        "poVersionId": {"type": "string", "description": "The persistent object version ID of the business process definition."},
        "identifier":"id",
        "id": {"type": "string", "description": "The BPMN ID of the business process definition."},
        "label":"label",
        "items": {"type": "[object]", "description": "The list of swimlanes, flow objects, notes, 
                    groups and phases in the business process definition.", 
       	   [
              {
                "width": {"type": "integer", "description": "The width of the item. It only applies to swimlanes, notes, phases (milestones) and groups."},
                "height": {"type": "integer", "description": "The height of the item. It only applies to swimlanes, notes, phases (milestones) and groups."},
                "id": {"type": "string", "description": "The BPMN ID of the swimlane, flow object, note, group or phase (milestone)."},
                "label": {"type": "string", "description": "The description of the item."},
                "x":{"type": "integer", "description": "The top-left x position of the item."},
                "y":{"type": "integer", "description": "The top-left y position of the item."},
                "type": {"type": "string", "description": "The type of the item.", 
		     "enum":
	         	[
				"swimlane",
				"activity",
				"gateway",
				"gatewayAnd",
				"gatewayOr",
				"gatewayEvent",
				"start",
				"adhocStartEvent",
				"msgStartEventInterrupting",
				"msgStartEventNonInterrupting",
				"timerStartEventInterrupting",
				"timerStartEventNonInterrupting",
				"errorStartEvent",
				"end",			
				"terminate",
				"errorEndEvent",
				"messageEndEvent",			
				"intermediateThrowMsgEvent",			
				"intermedCatchMsgEventNonBoundary",
				"intermedCatchTimerEventNonBoundary",
				"intermedCatchTrackingEventNonBoundary",
				"intermedCatchErrorEventBoundary",
				"intermedCatchMsgEventBoundaryInterrupting",
				"intermedCatchMsgEventBoundaryNonInterrupting",
				"intermedCatchTimerEventBoundaryInterrupting",
				"intermedCatchTimerEventBoundaryNonInterrupting",
				"note",
				"group",
				"milestone"
		         ]
		      },
	        "isSystem":{"type": "boolean", "description": "Indicates whether the swimlane is a system swimlane. It only applies to swimlanes."},
                "color":{"type": "string", "description": "The color of the swimlane. It only applies to swimlanes.", 
                     "enum":
                	[
				"Default",
				"Red",
				"Orange",
				"Yellow",
				"Green",
				"Blue",
				"Purple",
				"Gray"
			]
                     },
                "colorIcon":{"type": "string", "description": "The icon path of the activity. It only applies to the activity."},
                "lane":{"type": "string", "description": "The name of the swimlane to which this item belongs. 
			This attribute does not apply to phases (milestones) and swimlanes."},
                "bpmn2TaskType": {"type": "string", "description": "The BPMN2 task type of the item. It only applies to the activity.", 
	             "enum":
			[
				"None",
				"UserTask",
				"DecisionTask",
				"ServiceTask",
				"ScriptTask",
				"CalledProcess",
				"SubProcess",
				"Event_SubProcess"
			]
		     },
                "snapshotId":{"type": "string", "description": "The ID of the snapshot associated with the implementation service or linked process. 
			It only applies to the activity. Either 'snapshotId' or 'branchId' must be specified when there is an implementation for this activity."},
                "branchId":{"type": "string", "description": "The ID of the branch associated with the implementation service or linked process. 
			It only applies to the activity. Either 'snapshotId' or 'branchId' must be specified when there is an implementation for this activity."},
                "poId":{"type": "string", "description": "The persistent object ID of the implementation service, linked process, or embedded subprocess. 
				It only applies to the activity."},
                "poType": {"type": "string", "description": "The persistent object type of the implementation for the item.", 
	             "enum":
			[
				"BPD",
				"Service"
			]
	             },
                "serviceType":{"type": "string", "description": "The service type of the implementation for the item. It only applies when poType is Service.", 
	             "enum":
			[
				"Rule Service",
				"Human Service",
				"Integration Service",
				"General System Service",
				"SCA Service"
			]
		     },						
                "successors":[],
                "children":[{
                        "_reference":{"type": "string", "description": "The BPMN ID of the item in the swimlane."}
                    }
                ],
                "attachedEvents": {"type": "[object]", "description": "The list of the attached events on this activity. This attribute only applies to the activity.", 
                   [                			
		     {
                      "eventPosition":{"type": "string", "description": "The port position of the event on the activity.",
		         "enum":
			   [
				"topLeft",
				"topCenter",
				"topRight",    
				"leftTop",
				"leftCenter",
			        "leftBottom",    
				"bottomLeft",
				"bottomCenter",
				"bottomRight",    
				"rightTop",
				"rightCenter",
				"rightBottom"                		
			   ]                        
	               },
	               _reference":{"type": "string", "description": "The BPMN ID of the attached event."}
                    },                    
                  ]
                },
                "preAssignment":{"type": "boolean", 
                	"description": "Indicates whether this item has pre-assignments. It does not apply to swimlanes, notes, groups or phases (milestones)."},
                "postAssignment":{"type": "boolean", 
                	"description": "Indicates whether this item has pre-assignments. It does not apply to swimlanes, notes, groups or phases (milestones)."},
                "conditional":{"type": "boolean", 
                	"description": "Indicates whether this activity is conditional. This attribute only applies to the activity."},
                "interrupting":{"type": "boolean", 
                	"description": "Indicates whether the event interrupts the activity or parent process. 
                	It only applies to the boundary event and start event in the embedded event subprocess."},
                "category": {"type": "string", "description": "The category of the flow object. This attribute does not apply to swimlanes, notes, or groups.", 
	              "enum":
			 [
				"Activity",
				"StartEvent",
				"EndEvent",
				"IntermediateEvent",
				"BoundaryIntermediateEvent",
				"Gateway"                		
			 ]
		 }
	      }					                		
      
           ]
        },
        "links": {"type": "[object]", "description": "The list of the flows in the business process definition.",
           [
             {
                "needDefaultMarker":{"type": "boolean", "description": "Indicates whether the link needs a default marker."},
                "needDiamondMarker":{"type": "boolean", "description": "Indicates whether the link needs a condition marker."},
                "id":{"type": "string", "description": "The BPMN ID of the link."},
                "name":{"type": "string", "description": "The name of the link."},
                "start":{"type": "string", "description": "The BPMN ID of the link source."},
                "startPosition":{"type": "string", "description": "The port of the link source.", 
		        "enum":
			   [
				"topLeft",
				"topCenter",
				"topRight",    
				"leftTop",
				"leftCenter",
			        "leftBottom",    
				"bottomLeft",
				"bottomCenter",
				"bottomRight",    
				"rightTop",
				"rightCenter",
				"rightBottom"                		
			   ]                        
                },
                "end":{"type": "string", "description": "The BPMN ID of the link target."},
                "endPosition":{"type": "string", "description": "The port of the link target.", 
		        "enum":
			   [
				"topLeft",
				"topCenter",
				"topRight",    
				"leftTop",
				"leftCenter",
			        "leftBottom",    
				"bottomLeft",
				"bottomCenter",
				"bottomRight",    
				"rightTop",
				"rightCenter",
				"rightBottom"                		
			   ]                        
                },                
                "showName":{"type": "boolean", "description": "Indicates whether to display the link name."},
                "showEndState":{"type": "boolean", "description": "Indicates whether to display the link end state or not."},
                "linkLabelPosition":{"type": "double", "description": "The position of the label in the link."},
                "gfx":{"type": "string", "description": "The bend points of the link, which are specified using a format similar to the following example:
                					{\"intermediatePoints\":[{\"x\":117,\"y\":62},{\"x\":117,\"y\":65}]}"}
            	}
            ]
        },
        "properties":{
            "variables":[{
                    "poId":{"type": "string", "description": "The persistent object ID of the variable type."},
                    "poName":{"type": "string", "description": "The name of the type of this variable."},
                		"snapshotId":{"type": "string", "description": "The ID of the snapshot associated with the variable type. Either 
                						'snapshotId' or 'branchId' must be specified."},
                		"branchId":{"type": "string", "description": "The ID of the branch associated with the type of this variable. Either 
                						'snapshotId' or 'branchId' must be specified."},
                    "isList":{"type": "boolean", "description": "Indicates whether this variable is a list."},
                    "type":{"type": "string", "description": "Indicates whether the variable is input, output, or private.", 
                    	"enum": 
               		   [
				"input",
				"output",
				"input_output",
				"private"                    
                    	   ]
                    },                    
                    "name":{"type": "string", "description": "The name of the variable."}
                }
            ],
            "workSchedule":{
                "timeScheduleType":{"type": "integer", "description": "'0': Use time schedule, '1': Use expression."},
                "timeScheduleName":{"type": "string", "description": "The name of the time schedule."},
                "timeScheduleExpression":{"type": "string", "description": "The expression of the time schedule."},
                "timezoneType":{"type": "integer", "description": "'0': Use timezone, '1': Use expression."},
                "timezone":{"type": "string", "description": "The time zone."},
                "timezoneExpression":{"type": "string", "description": "The expression of the time zone."},
                "holidayScheduleType":{"type": "integer", "description": "'0': Use holiday schedule, '1': Use expression."},
                "holidayScheduleName":{"type": "string", "description": "The name of the holiday schedule."},
                "holidayScheduleExpression":{"type": "string", "description": "The expression of the holiday schedule."}
            },
            "KPIs":[{
                    "name":{"type": "string", "description": "The name of the KPI."}
                }
            ]
        }
    }
}
+ View example content
{
    "status":"200",
    "data":{
        "name":"HR Open New Position",
        "desc":"",
        "poId":"25.c904b3b1-afc1-4698-bf5a-a20892c20275",
        "poVersionId":"a54089fa-8c93-4e60-9c1f-4e467ec45491",
        "identifier":"id",
        "id":"bpdid:4d136293f40cc951:-120ec0b7:132761038b2:-7fbb",
        "label":"label",
        "items":[{
                "width":186,
                "height":63,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fc",
                "label":"If the General Manager rejects\u000athe requisition, the hiring manag...\u000ais notified of the rejection and\u000athe requisition is terminated.\u000a",
                "x":277,
                "y":53,
                "type":"note",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false
            },
            {
                "width":172,
                "height":49,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fd",
                "label":"If the General Manager \u000aapproves the requisition, it\u000ais routed to Human Resources. \u000a",
                "x":645,
                "y":114,
                "type":"note",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false
            },
            {
                "width":171,
                "height":50,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fe",
                "label":"The General Manager evaluates \u000athe submitted requisition and \u000aeither approves it or rejects it.\u000a",
                "x":109,
                "y":48,
                "type":"note",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false
            },
            {
                "width":173,
                "height":50,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67ff",
                "label":"If the requisition is to fill an\u000aexisting position, it is routed\u000adirectly to Human Resources. \u000a",
                "x":745,
                "y":82,
                "type":"note",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false
            },
            {
                "width":128,
                "height":65,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6800",
                "label":"If the requisition is to\u000afill a new position, it is\u000arouted to the General \u000aManager for approval.\u000a",
                "x":458,
                "y":107,
                "type":"note",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false
            },
            {
                "width":148,
                "height":37,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6801",
                "label":"The hiring manager submits \u000aa job requisition.\u000a",
                "x":157,
                "y":118,
                "type":"note",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":null,
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false
            },
            {
                "lane":"Hiring Manager",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":[],
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67e8",
                "label":"Start",
                "x":18,
                "y":53,
                "type":"start",
                "category":"StartEvent"
            },
            {
                "colorIcon":"bpd/color/blue_75x55.gif",
                "lane":"Hiring Manager",
                "bpmn2TaskType":"UserTask",
                "poType":"Service",
                "serviceType":"Human Service",
                "poId":"1.551dd543-a770-4d6c-b0e0-1c9d61242e55",
                "snapshotId":"2064.30c63e29-aacd-4b3b-803f-a09ce65486d2",
                "branchId":null,
                "successors":[],
                "attachedEvents":[],
                "loopType":"none",
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db",
                "label":"Submit job\u000arequisition",
                "x":193,
                "y":30,
                "type":"activity",
                "category":"Activity"
            },
            {
                "lane":"Hiring Manager",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":[],
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c8",
                "label":"Need GM\u000aapproval?",
                "x":325,
                "y":49,
                "type":"gateway",
                "category":"Gateway"
            },
            {
                "isSystem":false,
                "color":"Green",
                "width":968,
                "height":187,
                "children":[{
                        "_reference":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67e8"
                    },
                    {
                        "_reference":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db"
                    },
                    {
                        "_reference":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c8"
                    },
                    {
                        "_reference":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6801"
                    },
                    {
                        "_reference":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6800"
                    },
                    {
                        "_reference":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67ff"
                    }
                ],
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67ec",
                "label":"Hiring Manager",
                "x":0,
                "y":0,
                "type":"swimlane"
            },
            {
                "lane":"General Manager",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":[],
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c7",
                "label":"GM approved?",
                "x":442,
                "y":54,
                "type":"gateway",
                "category":"Gateway"
            },
            {
                "colorIcon":"bpd/color/purple_75x55.gif",
                "lane":"General Manager",
                "bpmn2TaskType":"UserTask",
                "poType":"Service",
                "serviceType":"Human Service",
                "poId":"1.7f854d48-db50-49fd-9229-929f7840394b",
                "snapshotId":"2064.30c63e29-aacd-4b3b-803f-a09ce65486d2",
                "branchId":null,
                "successors":[],
                "attachedEvents":[],
                "loopType":"none",
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c6",
                "label":"Approve or\u000areject requisition",
                "x":317,
                "y":35,
                "type":"activity",
                "category":"Activity"
            },
            {
                "isSystem":false,
                "color":"Blue",
                "width":968,
                "height":163,
                "children":[{
                        "_reference":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c7"
                    },
                    {
                        "_reference":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c6"
                    },
                    {
                        "_reference":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fe"
                    }
                ],
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67eb",
                "label":"General Manager",
                "x":0,
                "y":187,
                "type":"swimlane"
            },
            {
                "lane":"Human Resources",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":[],
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67b2",
                "label":"End",
                "x":752,
                "y":51,
                "type":"end",
                "category":"EndEvent"
            },
            {
                "colorIcon":"bpd/color/yellow_75x55.gif",
                "lane":"Human Resources",
                "bpmn2TaskType":"None",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":[],
                "loopType":"none",
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67a5",
                "label":"Find job\u000acandidates",
                "x":618,
                "y":28,
                "type":"activity",
                "category":"Activity"
            },
            {
                "isSystem":false,
                "color":"Default",
                "width":968,
                "height":169,
                "children":[{
                        "_reference":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67b2"
                    },
                    {
                        "_reference":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67a5"
                    },
                    {
                        "_reference":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fd"
                    }
                ],
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67ea",
                "label":"Human Resources",
                "x":0,
                "y":350,
                "type":"swimlane"
            },
            {
                "colorIcon":"bpd/color/orange_75x55.gif",
                "lane":"System",
                "bpmn2TaskType":"None",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":[],
                "loopType":"none",
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6796",
                "label":"Notify hiring\u000amanager",
                "x":532,
                "y":35,
                "type":"activity",
                "category":"Activity"
            },
            {
                "lane":"System",
                "snapshotId":null,
                "branchId":null,
                "successors":[],
                "attachedEvents":[],
                "preAssignment":false,
                "postAssignment":false,
                "conditional":false,
                "eventActionType":0,
                "interrupting":false,
                "active":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6787",
                "label":"Requisition\u000aterminated",
                "x":665,
                "y":58,
                "type":"end",
                "category":"EndEvent"
            },
            {
                "isSystem":true,
                "color":"Purple",
                "width":968,
                "height":140,
                "children":[{
                        "_reference":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6796"
                    },
                    {
                        "_reference":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6787"
                    },
                    {
                        "_reference":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fc"
                    }
                ],
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67e9",
                "label":"System",
                "x":0,
                "y":519,
                "type":"swimlane"
            }
        ],
        "links":[{
                "needDefaultMarker":false,
                "needDiamondMarker":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-674e",
                "name":"to Submit job requisition",
                "start":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67e8",
                "startPosition":"rightCenter",
                "end":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db",
                "endPosition":"leftCenter",
                "showName":false,
                "showEndState":false,
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[{\"x\":117,\"y\":62},{\"x\":117,\"y\":65}]}",
                "inCriticalPath":false
            },
            {
                "needDefaultMarker":true,
                "needDiamondMarker":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-673e",
                "name":"Rejected",
                "start":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c7",
                "startPosition":"bottomCenter",
                "end":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6796",
                "endPosition":"leftCenter",
                "showName":true,
                "showEndState":false,
                "linkLabelPosition":0.8121827411167513,
                "gfx":"{\"intermediatePoints\":[{\"x\":482,\"y\":589}]}",
                "inCriticalPath":false
            },
            {
                "needDefaultMarker":false,
                "needDiamondMarker":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6746",
                "name":"Approved --> proceed to HR",
                "start":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c7",
                "startPosition":"rightCenter",
                "end":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67a5",
                "endPosition":"leftCenter",
                "showName":true,
                "showEndState":false,
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[{\"x\":570,\"y\":253},{\"x\":570,\"y\":413}]}",
                "inCriticalPath":false
            },
            {
                "needDefaultMarker":false,
                "needDiamondMarker":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-677a",
                "name":"Approval required",
                "start":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c8",
                "startPosition":"bottomCenter",
                "end":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c6",
                "endPosition":"topCenter",
                "showName":true,
                "showEndState":false,
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[{\"x\":365,\"y\":149},{\"x\":388,\"y\":149}]}",
                "inCriticalPath":false
            },
            {
                "needDefaultMarker":true,
                "needDiamondMarker":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6772",
                "name":"No approval needed --> proceed to HR",
                "start":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c8",
                "startPosition":"rightCenter",
                "end":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67a5",
                "endPosition":"topCenter",
                "showName":true,
                "showEndState":false,
                "linkLabelPosition":0.49320543565147884,
                "gfx":"{\"intermediatePoints\":[{\"x\":689,\"y\":61}]}",
                "inCriticalPath":false
            },
            {
                "needDefaultMarker":false,
                "needDiamondMarker":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-676a",
                "name":"to Need GM approval?",
                "start":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db",
                "startPosition":"rightCenter",
                "end":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c8",
                "endPosition":"leftCenter",
                "showName":false,
                "showEndState":false,
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[{\"x\":306,\"y\":65},{\"x\":306,\"y\":61}]}",
                "inCriticalPath":false
            },
            {
                "needDefaultMarker":false,
                "needDiamondMarker":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6762",
                "name":"to End",
                "start":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67a5",
                "startPosition":"rightCenter",
                "end":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67b2",
                "endPosition":"leftCenter",
                "showName":false,
                "showEndState":false,
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[{\"x\":732,\"y\":63},{\"x\":732,\"y\":60}]}",
                "inCriticalPath":false
            },
            {
                "needDefaultMarker":false,
                "needDiamondMarker":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-675c",
                "name":"to GM approved?",
                "start":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c6",
                "startPosition":"rightCenter",
                "end":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c7",
                "endPosition":"leftCenter",
                "showName":false,
                "showEndState":false,
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[{\"x\":427,\"y\":70},{\"x\":427,\"y\":66}]}",
                "inCriticalPath":false
            },
            {
                "needDefaultMarker":false,
                "needDiamondMarker":false,
                "id":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6754",
                "name":"to Requisition terminated",
                "start":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6796",
                "startPosition":"rightCenter",
                "end":"bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6787",
                "endPosition":"leftCenter",
                "showName":false,
                "showEndState":false,
                "linkLabelPosition":0.5,
                "gfx":"{\"intermediatePoints\":[{\"x\":646,\"y\":70},{\"x\":646,\"y\":67}]}",
                "inCriticalPath":false
            }
        ],
        "properties":{
            "variables":[{
                    "poId":"12.0b208895-bdb3-4e67-a402-af17a05858d2",
                    "poName":"Requisition",
                    "snapshotId":"2064.30c63e29-aacd-4b3b-803f-a09ce65486d2",
                    "branchId":null,
                    "isList":false,
                    "type":"private",
                    "name":"requisition"
                },
                {
                    "poId":"12.0ea493a3-08b7-4456-84be-443c8d41bc8b",
                    "poName":"Position",
                    "snapshotId":"2064.30c63e29-aacd-4b3b-803f-a09ce65486d2",
                    "branchId":null,
                    "isList":false,
                    "type":"private",
                    "name":"currentPosition"
                }
            ],
            "workSchedule":{
                "timeScheduleType":0,
                "timeScheduleName":"(use default)",
                "timezoneType":0,
                "timezone":"(use default)",
                "holidayScheduleType":0,
                "holidayScheduleName":"(use default)"
            },
            "KPIs":[{
                    "poId":"49.67cbb213-0032-4f14-be44-7e9c7a1a146f",
                    "snapshotId":"2064.74f9ea10-a351-4c42-ada5-b3dce7145330",
                    "branchId":null,
                    "name":"Total Time (Clock)"
                }
            ]
        }
    }
}

MIME type: application/xml


+ View schema
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://rest.bpm.ibm.com/v1/data/bpd/visual"
	elementFormDefault="unqualified"
	xmlns="http://www.w3.org/2001/XMLSchema"
	xmlns:tns="http://rest.bpm.ibm.com/v1/data/bpd/visual"
	xmlns:pref="http://rest.bpm.ibm.com/v1/data/root"
	xmlns:task="http://rest.bpm.ibm.com/v1/data/task"
	xmlns:cmn="http://rest.bpm.ibm.com/v1/data/common">

    <import schemaLocation="Common.xsd" namespace="http://rest.bpm.ibm.com/v1/data/common"/>
    <import schemaLocation="BPMRestData.xsd" namespace="http://rest.bpm.ibm.com/v1/data/root"/>
    <import schemaLocation="Task.xsd" namespace="http://rest.bpm.ibm.com/v1/data/task"/>

    <complexType name="Reference">
		<sequence>
		    <element name="_reference" type="string"/>
		</sequence>
    </complexType>

    <complexType name="AttachedEvent">
		<sequence>
		    <element name="_reference" type="string"/>
			<element name="eventPosition" type="tns:PortType" />
		</sequence>
    </complexType>

	<simpleType name="LoopType">
        <restriction base="string">
			<enumeration value="none"/>
			<enumeration value="simpleLoop"/>
			<enumeration value="MultiInstanceLoop"/>
		</restriction>
	</simpleType>

	<simpleType name="MILoopOrdering">
        <restriction base="string">
			<enumeration value="sequential"/>
			<enumeration value="parallel"/>
		</restriction>
	</simpleType>

	<simpleType name="EventSubProcType">
        <restriction base="string">
			<enumeration value="message"/>
			<enumeration value="content"/>
			<enumeration value="timer"/>
			<enumeration value="error"/>
		</restriction>
	</simpleType>
		
	<simpleType name="NodeCategoryType">
        <restriction base="string">
			<enumeration value="Activity"/>
			<enumeration value="StartEvent"/>
			<enumeration value="EndEvent"/>
			<enumeration value="IntermediateEvent"/>
			<enumeration value="BoundaryIntermediateEvent"/>
			<enumeration value="Gateway"/>
		</restriction>
	</simpleType>	

	<simpleType name="NodeType">
        <annotation>
        	<documentation>For BPD</documentation>
        </annotation>
        <restriction base="string">
			<enumeration value="milestone"/>
			<enumeration value="activity"/>
			<enumeration value="gateway"/>
			<enumeration value="gatewayAnd"/>
			<enumeration value="gatewayOr"/>
			<enumeration value="gatewayEvent"/>
			

			<!-- 
				1. how to configure adhoc start event?
				2. how to specify interrupting for the start event?
				3. How to create an error start event? 
			-->

			<enumeration value="start"/>
			<enumeration value="adhocStartEvent"/>
			<!-- startMessage -->
			<enumeration value="msgStartEventInterrupting"/>
			<enumeration value="msgStartEventNonInterrupting"/>
			<enumeration value="contentStartEventInterrupting"/>
			<enumeration value="contentStartEventNonInterrupting"/>
			<enumeration value="timerStartEventInterrupting"/>
			<enumeration value="timerStartEventNonInterrupting"/>
			<enumeration value="errorStartEvent"/>


			<!-- 
				1. How to create an error end event and terminate? 
			-->
			<enumeration value="end"/>			
			<enumeration value="terminate"/>
			<!-- endException -->
			<enumeration value="errorEndEvent"/>
			<enumeration value="messageEndEvent"/>
			
			<enumeration value="intermediateThrowMsgEvent"/>
			
			<enumeration value="intermedCatchMsgEventNonBoundary"/>
			<enumeration value="intermedCatchContentEventNonBoundary"/>
			<enumeration value="intermedCatchTimerEventNonBoundary"/>
			<enumeration value="intermedCatchTrackingEventNonBoundary"/>

			<enumeration value="intermedCatchErrorEventBoundary"/>
			<enumeration value="intermedCatchMsgEventBoundaryInterrupting"/>
			<enumeration value="intermedCatchMsgEventBoundaryNonInterrupting"/>
			<enumeration value="intermedCatchContentEventBoundaryInterrupting"/>
			<enumeration value="intermedCatchContentEventBoundaryNonInterrupting"/>
			<enumeration value="intermedCatchTimerEventBoundaryInterrupting"/>
			<enumeration value="intermedCatchTimerEventBoundaryNonInterrupting"/>

			<enumeration value="swimlane"/>
			<enumeration value="note"/>
			<enumeration value="group"/>
		</restriction>
	</simpleType>
	    
	<simpleType name="ServiceNodeType">
        <annotation>
        	<documentation>For Service</documentation>
        </annotation>
        <restriction base="string">
			<enumeration value="StartPoint"/>
			<enumeration value="ExitPoint"/>
			<enumeration value="SubProcess"/>
			<enumeration value="Coach"/>
			<enumeration value="CoachNG"/>
			<enumeration value="Step"/>
			<enumeration value="TaskAction"/>
			<enumeration value="PostponeAction"/>
			<enumeration value="TaskSender"/>
			<enumeration value="Script"/>
			<enumeration value="Switch"/>
			<enumeration value="Exception"/>
			<enumeration value="InvokeUca"/>
			<enumeration value="TrackingPoint"/>
			<enumeration value="JavaConnector"/>
			<enumeration value="WSConnector"/>
			<enumeration value="ILOGConnector"/>
			<enumeration value="ILOGDecision"/>
			<enumeration value="SCAConnector"/>
			<enumeration value="ECMConnector"/>
			<enumeration value="note"/>
			<enumeration value="Scriptlet"/>
			<enumeration value="CatchException"/>
			<enumeration value="AttachedErrorEvent"/>
			<enumeration value="StayOnPage"/>
		</restriction>
	</simpleType>

    <complexType name="BaseItem">
		<sequence>
		    <element name="id" type="string"/>
		    <element name="label" type="string"/>
		    <element name="x" type="int"/>
		    <element name="y" type="int"/>
		</sequence>
    </complexType>
    <complexType name="TextLinePosition">
		<sequence>
		    <element name="x" type="int"/>
		    <element name="y" type="int"/>
		    <element name="width" type="int"/>
		    <element name="height" type="int"/>
		</sequence>
    </complexType>
    <complexType name="Item">
        <annotation>
        	<documentation>For BPD</documentation>
        </annotation>
        <complexContent>
    		<extension base="tns:BaseItem">
    			<sequence>
				    <element name="type" type="tns:NodeType"/>		
				    <element name="category" type="tns:NodeCategoryType" /> 
				</sequence>
    		</extension>
    	</complexContent>
    </complexType>
    
    <complexType name="ServiceItem">
        <annotation>
        	<documentation>For Service</documentation>
        </annotation>
        <complexContent>
    		<extension base="tns:BaseItem">
    			<sequence>
				    <element name="type" type="tns:ServiceNodeType"/>		    
				</sequence>
    		</extension>
    	</complexContent>
    </complexType>    

	<simpleType name="BPMN2ActivityType">
        <restriction base="string">
			<enumeration value="None"/>
			<enumeration value="UserTask"/>
			<enumeration value="DecisionTask"/>
			<enumeration value="ServiceTask"/>
			<enumeration value="ScriptTask"/>
			<enumeration value="CalledProcess"/>
			<enumeration value="SubProcess"/>
			<enumeration value="Event_SubProcess"/>
		</restriction>
	</simpleType>

    <!-- complexType name="Implementation">
		<sequence>
			<element name="bpmn2TaskType" type="tns:BPMN2ActivityType"/>
			<element name="poType" type="string"/>
			<element name="poId" type="string"/>
			<choice>
				<element name="snapshotId" type="string"/>
				<element name="branchId" type="string"/>
			</choice>	
		</sequence>
    </complexType-->
    
    <complexType name="Node">
        <annotation>
        	<documentation>For BPD</documentation>
        </annotation>
        <complexContent>
    		<extension base="tns:Item">
    			<sequence>
				    <element name="colorIcon" type="string"/>
				    <element name="lane" type="string"/>
					<element name="bpmn2TaskType" type="tns:BPMN2ActivityType"/>
					<element name="poType" type="string"/>
					<element name="serviceType" type="string">
						<annotation>
							<documentation>only used when poType is Service, we need this extra information to tell UI how to drilldown service. Here are the supported values:
	1. Rule Service
	3. Human Service
	4. Integration Service
	6. General System Service
	7. SCA Service
</documentation>
						</annotation></element>
					<element name="poId" type="string"/>
					<choice>
						<element name="snapshotId" type="string"/>
						<element name="branchId" type="string"/>
					</choice>
    				<element name="successors" type="tns:Reference" minOccurs="0" maxOccurs="unbounded"/>
    				<element name="attachedEvents" type="tns:AttachedEvent" minOccurs="0" maxOccurs="unbounded"/>
				    <element name="loopType" type="tns:LoopType"/>
				    <element name="MIOrdering" type="tns:MILoopOrdering"/>
				    <element name="preAssignment" type="boolean"/>
				    <element name="postAssignment" type="boolean"/>
				    <element name="conditional" type="boolean"/>
				    <element name="eventActionType" type="int"/>
				    <element name="eventSubProcType" type="tns:EventSubProcType"/>
				    <element name="interrupting" type="boolean"/>

					<!-- counter and active are used in portal -->
				    <!-- the number of the instances that has token in this node, such as #2, #3, etc-->
				    <element name="counter" type="string"/>
				    <!-- an indicator to tell whether this node is active -->
				    <element name="active" type="boolean"/>
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>
    
    <complexType name="CaseNode">
    <complexContent>
    		<extension base="tns:Node">
    			<sequence>
				    <element name="activityOptionType" type="string"/>
					<element name="conditionTriggerType" type="string"/>
					<element name="activityExecutionType" type="string"/>
				    <element name="isHidden" type="boolean"/>
				    <element name="isRepeatable" type="boolean"/>
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>
    
    <complexType name="Note">
        <complexContent>
    		<extension base="tns:Node">
    			<sequence>
    				<element name="width" type="int" />
    				<element name="height" type="int" />
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>    

    <complexType name="ServiceNode">
        <annotation>
        	<documentation>For Service</documentation>
        </annotation>
        <complexContent>
    		<extension base="tns:ServiceItem">
    			<sequence>
					<element name="poType" type="string"/>
					<element name="poId" type="string"/>
					<choice>
						<element name="snapshotId" type="string"/>
						<element name="branchId" type="string"/>
					</choice>
					<element name="serviceType" type="string">
						<annotation>
							<documentation>need this extra information to tell UI how to drilldown service. Here are the supported values:
	1. Rule Service
	3. Human Service
	4. Integration Service
	6. General System Service
	7. SCA Service
</documentation>
						</annotation></element>					
    				<element name="successors" type="tns:Reference" minOccurs="0" maxOccurs="unbounded"/>
    				<element name="attachedEvents" type="tns:AttachedEvent" minOccurs="0" maxOccurs="unbounded"/>
				    <element name="preAssignment" type="boolean"/>
				    <element name="postAssignment" type="boolean"/>
				    
				    <!-- The following two new elements are not to address any existing bugs, instead it is a new requirement from one specific customer. -->
				    <element name="guid" type="string"/>
				    <element name="ui" type="boolean"/>
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>
    
	<simpleType name="ColorType">
        <restriction base="string">
			<enumeration value="Default"/>
			<enumeration value="Red"/>
			<enumeration value="Orange"/>
			<enumeration value="Yellow"/>
			<enumeration value="Green"/>
			<enumeration value="Blue"/>
			<enumeration value="Purple"/>
			<enumeration value="Gray"/>
		</restriction>
	</simpleType>
	    
    <complexType name="Swimlane">
    	<complexContent>
    		<extension base="tns:Item">
    			<sequence>
    				<element name="isSystem" type="boolean" />
    				<element name="color" type="tns:ColorType" />
    				<element name="width" type="int" />
    				<element name="height" type="int" />
    				<element name="children" type="tns:Reference" minOccurs="0" maxOccurs="unbounded"/>
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>
    
    <complexType name="Group">
    	<complexContent>
    		<extension base="tns:Item">
    			<sequence>
				    <element name="lane" type="string"/>
    				<element name="width" type="int" />
    				<element name="height" type="int" />
    				<element name="successors" type="tns:Reference" minOccurs="0" maxOccurs="unbounded"/>
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>    

    <complexType name="Milestone">
    	<complexContent>
    		<extension base="tns:Item">
    			<sequence>
    				<element name="width" type="int" />
    				<element name="height" type="int" />
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>
    
    <complexType name="Link">
		<sequence>
			<element name="id" type="string" />
			<element name="name" type="string" />
			<element name="start" type="string" />
			<element name="startPosition" type="tns:PortType" />
			<element name="end" type="string" />
			<element name="endPosition" type="tns:PortType" />
			<element name="showName" type="boolean" />
			<element name="showEndState" type="boolean" />
			<element name="endState" type="string" />			
			<element name="endStateType" type="string" />			
			<element name="linkLabelPosition" type="double" />
			<element name="gfx" type="string"/>
			<!-- inCriticalPath is used in portal only -->
			<element name="inCriticalPath" type="boolean" />			
		</sequence>
    </complexType>

	<simpleType name="LinkSourceType">
		<restriction base="string">
			<enumeration value="Activity"/>
			<enumeration value="Gateway"/>
			<enumeration value="Event"/>
		</restriction>
	</simpleType>
	    
    <complexType name="BPDLink">
    	<complexContent>
    		<extension base="tns:Link">
    			<sequence>
					<element name="needDefaultMarker" type="boolean" />
					<element name="needDiamondMarker" type="boolean" />
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>    

	<simpleType name="PortType">
		<restriction base="string">
			<enumeration value="topLeft"/>
			<enumeration value="topCenter"/>
			<enumeration value="topRight"/>
			<enumeration value="leftTop"/>
			<enumeration value="leftCenter"/>
			<enumeration value="leftBottom"/>
			<enumeration value="bottomLeft"/>
			<enumeration value="bottomCenter"/>
			<enumeration value="bottomRight"/>
			<enumeration value="rightTop"/>
			<enumeration value="rightCenter"/>
			<enumeration value="rightBottom"/>
		</restriction>
	</simpleType>
	
    <complexType name="BendPoints">
		<sequence>
			<element name="intermediatePoints" type="tns:BendPoint" maxOccurs="unbounded"/>
		</sequence>
    </complexType>
    	
    <complexType name="BendPoint">
		<sequence>
			<element name="x" type="int" />
			<element name="y" type="int" />
		</sequence>
    </complexType>
        
	<simpleType name="VariableType">
		<restriction base="string">
			<enumeration value="input"/>
			<enumeration value="output"/>
			<enumeration value="fault"/>
			<enumeration value="input_output"/>
			<enumeration value="private"/>
			<enumeration value="case_property"/>
		</restriction>
	</simpleType>
	    
    <complexType name="Variable">
    	<complexContent>
    		<extension base="pref:NamedElement">
				<sequence>
					<element name="poId" type="string" />
					<element name="poName" type="string" />
					<choice>
						<element name="snapshotId" type="string" />
						<element name="branchId" type="string" />
					</choice>
					<element name="isList" type="boolean" />
					<element name="type" type="tns:VariableType" />
				</sequence>
    		</extension>
    	</complexContent>
    </complexType>
    
    <complexType name="ProcessKPI">
    	<complexContent>
    		<extension base="pref:NamedElement">
				<sequence>
					<element name="poId" type="string" />
					<choice>
						<element name="snapshotId" type="string" />
						<element name="branchId" type="string" />
					</choice>
					<element name="SettingsType" type="string" />
				</sequence>
    		</extension>
    	</complexContent>
    </complexType>    

    <complexType name="tBPDToken">
		<sequence>
			<element name="instanceId" type="string" />
			<element name="createTime" type="dateTime" />
			<element name="createTimeLong" type="long" />
			<element name="active" type="boolean" />
			<element name="tokenId" type="string" />
		</sequence>
    </complexType>    

    <complexType name="WorkSchedule">
		<sequence>
			<element name="timeScheduleType" type="int" />
			<element name="timeScheduleName" type="string" />
			<element name="timeScheduleExpression" type="string" />
			<element name="timezoneType" type="int" />
			<element name="timezone" type="string" />
			<element name="timezoneExpression" type="string" />
			<element name="holidayScheduleType" type="int" />
			<element name="holidayScheduleName" type="string" />
			<element name="holidayScheduleExpression" type="string" />
		</sequence>
    </complexType>
    
  	<complexType name="FolderStructure">
		<sequence>
			<element name="value" type="string" />
			<element name="subFolder" type="tns:FolderStructure" minOccurs="0" maxOccurs="unbounded" /> 
		</sequence>
    </complexType>
    
    <complexType name="BPDProperties">
		<sequence>
			<element name="variables" type="tns:Variable" minOccurs="0" maxOccurs="unbounded"/>
			<element name="workSchedule" type="tns:WorkSchedule" />
			<element name="KPIs" type="tns:ProcessKPI" minOccurs="0" maxOccurs="unbounded"/>
			<element name="folder" type="tns:FolderStructure" minOccurs="0" maxOccurs="unbounded"/>
		</sequence>
    </complexType>

	<complexType name="ILOGVisualModel">
		<complexContent>
			<extension base="pref:Data">
				<sequence>
					<element name="name" type="string" />
					<element name="desc" type="string" />
					<element name="richDesc" type="string" />
					<element name="poId" type="string" />
					<element name="poVersionId" type="string" />
					<element name="identifier" type="string" />
					<element name="id" type="string" />
					<element name="width" type="int" />
					<element name="height" type="int" />
					<element name="label" type="string" />
					<element name="items" type="tns:BaseItem" minOccurs="0"
						maxOccurs="unbounded" />
					<element name="links" type="tns:Link" minOccurs="0"
						maxOccurs="unbounded" />
					<element name="properties" type="tns:BPDProperties" />
					<element name="tasks" type="cmn:Map">
						<annotation>
							<documentation>Key is the flow object id, value is an array of task details
							</documentation>
						</annotation>
					</element>
					<element name="activeTasks" type="cmn:Map">
						<annotation>
							<documentation>Key is the flow object id, value is an array of task details
							</documentation>
						</annotation>
					</element>
					<element name="tokens" type="cmn:Map">
						<annotation>
							<documentation>key is the flow object id, and value is an array of tokens in the current BPD
							</documentation>
						</annotation>
					</element>
					<element name="textPositions" type="cmn:Map" minOccurs="0"
						maxOccurs="unbounded" />
				</sequence>
			</extension>
		</complexContent>
	</complexType>
    
    <complexType name="ILOGServiceVisualModel">
    	<complexContent>
    		<extension base="tns:ILOGVisualModel">
    			<sequence>
				    <element name="serviceType" type="string"/>
    			</sequence>
    		</extension>
    	</complexContent>
    </complexType>     

</schema>
+ View example content
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<bpm:ResponseData xmlns:bpm="http://rest.bpm.ibm.com/v1/data"
	xmlns:ex="http://rest.bpm.ibm.com/v1/data/exception">
	<status>200</status>
	<data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
		xmlns:ns5="http://rest.bpm.ibm.com/v1/data/bpd/visual" xsi:type="ns5:ILOGVisualModel">
		<name>HR Open New Position</name>
		<desc></desc>
		<poId>25.c904b3b1-afc1-4698-bf5a-a20892c20275</poId>
		<poVersionId>bc9ab8a6-b8dd-497c-bf23-a8ac546525dc</poVersionId>
		<identifier>id</identifier>
		<id>bpdid:3b30cfc1faeee4cf:-57c9cd20:132a8c80ede:-7d5a</id>
		<label>label</label>
		<items xsi:type="ns5:Note">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fc</id>
			<label>If the General Manager rejects
				the requisition, the hiring manag...
				is notified of the rejection and
				the requisition is terminated.
</label>
			<x>277</x>
			<y>53</y>
			<type>note</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
			<width>186</width>
			<height>63</height>
		</items>
		<items xsi:type="ns5:Note">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fd</id>
			<label>If the General Manager
				approves the requisition, it
				is routed to Human Resources. 
</label>
			<x>645</x>
			<y>114</y>
			<type>note</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
			<width>172</width>
			<height>49</height>
		</items>
		<items xsi:type="ns5:Note">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fe</id>
			<label>The General Manager evaluates
				the submitted requisition and
				either approves it or rejects it.
</label>
			<x>109</x>
			<y>48</y>
			<type>note</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
			<width>171</width>
			<height>50</height>
		</items>
		<items xsi:type="ns5:Note">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67ff</id>
			<label>If the requisition is to fill an
				existing position, it is routed
				directly to Human Resources. 
</label>
			<x>745</x>
			<y>82</y>
			<type>note</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
			<width>173</width>
			<height>50</height>
		</items>
		<items xsi:type="ns5:Note">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6800</id>
			<label>If the requisition is to
				fill a new position, it is
				routed to the General
				Manager for approval.
</label>
			<x>458</x>
			<y>107</y>
			<type>note</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
			<width>128</width>
			<height>65</height>
		</items>
		<items xsi:type="ns5:Note">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6801</id>
			<label>The hiring manager submits
				a job requisition.
</label>
			<x>157</x>
			<y>118</y>
			<type>note</type>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
			<width>148</width>
			<height>37</height>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67e8</id>
			<label>Start</label>
			<x>18</x>
			<y>53</y>
			<type>start</type>
			<category>StartEvent</category>
			<lane>Hiring Manager</lane>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db</id>
			<label>Submit job
				requisition</label>
			<x>193</x>
			<y>30</y>
			<type>activity</type>
			<category>Activity</category>
			<colorIcon>bpd/color/blue_75x55.gif</colorIcon>
			<lane>Hiring Manager</lane>
			<bpmn2TaskType>UserTask</bpmn2TaskType>
			<poType>Service</poType>
			<serviceType>Human Service</serviceType>
			<poId>1.551dd543-a770-4d6c-b0e0-1c9d61242e55</poId>
			<snapshotId>2064.bc97a55f-f158-40f3-8d8f-b9915a0dcc0d</snapshotId>
			<loopType>none</loopType>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c8</id>
			<label>Need GM
				approval?</label>
			<x>325</x>
			<y>49</y>
			<type>gateway</type>
			<category>Gateway</category>
			<lane>Hiring Manager</lane>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:3b30cfc1faeee4cf:-5418c779:132a6f4777a:-7faa</id>
			<label>TP1</label>
			<x>88</x>
			<y>145</y>
			<type>intermedCatchTrackingEventNonBoundary</type>
			<category>IntermediateEvent</category>
			<lane>Hiring Manager</lane>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>100</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:3b30cfc1faeee4cf:-5418c779:132a6f4777a:-7fa4</id>
			<label>TP2</label>
			<x>627</x>
			<y>144</y>
			<type>intermedCatchTrackingEventNonBoundary</type>
			<category>IntermediateEvent</category>
			<lane>Hiring Manager</lane>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>100</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Swimlane">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67ec</id>
			<label>Hiring Manager</label>
			<x>0</x>
			<y>0</y>
			<type>swimlane</type>
			<isSystem>false</isSystem>
			<color>Green</color>
			<width>1033</width>
			<height>187</height>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67e8
				</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db
				</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c8
				</_reference>
			</children>
			<children>
				<_reference>bpdid:3b30cfc1faeee4cf:-5418c779:132a6f4777a:-7faa
				</_reference>
			</children>
			<children>
				<_reference>bpdid:3b30cfc1faeee4cf:-5418c779:132a6f4777a:-7fa4
				</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6801
				</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6800
				</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67ff
				</_reference>
			</children>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c7</id>
			<label>GM
				approved?</label>
			<x>442</x>
			<y>54</y>
			<type>gateway</type>
			<category>Gateway</category>
			<lane>General Manager</lane>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c6</id>
			<label>Approve or
				reject
				requisition</label>
			<x>317</x>
			<y>35</y>
			<type>activity</type>
			<category>Activity</category>
			<colorIcon>bpd/color/purple_75x55.gif</colorIcon>
			<lane>General Manager</lane>
			<bpmn2TaskType>UserTask</bpmn2TaskType>
			<poType>Service</poType>
			<serviceType>Human Service</serviceType>
			<poId>1.7f854d48-db50-49fd-9229-929f7840394b</poId>
			<snapshotId>2064.bc97a55f-f158-40f3-8d8f-b9915a0dcc0d</snapshotId>
			<loopType>none</loopType>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:0f582a31051eda36:5c34afd1:1325f17f351:-7fe8</id>
			<label>Untitled</label>
			<x>234</x>
			<y>88</y>
			<type>activity</type>
			<category>Activity</category>
			<colorIcon>bpd/activity_75x55.gif</colorIcon>
			<lane>General Manager</lane>
			<bpmn2TaskType>UserTask</bpmn2TaskType>
			<poType>Service</poType>
			<serviceType>Human Service</serviceType>
			<poId>1.f739fe14-5f7d-4ee7-9de0-075e51295d13</poId>
			<snapshotId>2064.74f9ea10-a351-4c42-ada5-b3dce7145330</snapshotId>
			<loopType>none</loopType>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:0f582a31051eda36:5c34afd1:1325f17f351:-7fe5</id>
			<label>Untitled1</label>
			<x>860</x>
			<y>53</y>
			<type>activity</type>
			<category>Activity</category>
			<colorIcon>bpd/activity_75x55.gif</colorIcon>
			<lane>General Manager</lane>
			<bpmn2TaskType>UserTask</bpmn2TaskType>
			<poType>Service</poType>
			<serviceType>Human Service</serviceType>
			<poId>1.f739fe14-5f7d-4ee7-9de0-075e51295d13</poId>
			<snapshotId>2064.74f9ea10-a351-4c42-ada5-b3dce7145330</snapshotId>
			<loopType>none</loopType>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:0f582a31051eda36:5c34afd1:1325f17f351:-7f8e</id>
			<label>sub1</label>
			<x>697</x>
			<y>9</y>
			<type>activity</type>
			<category>Activity</category>
			<colorIcon>bpd/activity_75x55.gif</colorIcon>
			<lane>General Manager</lane>
			<bpmn2TaskType>SubProcess</bpmn2TaskType>
			<poType>BPD</poType>
			<poId>25.a1979acd-397f-4693-a371-1a467dc43d30</poId>
			<snapshotId>2064.bc97a55f-f158-40f3-8d8f-b9915a0dcc0d</snapshotId>
			<loopType>none</loopType>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Swimlane">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67eb</id>
			<label>General Manager</label>
			<x>0</x>
			<y>187</y>
			<type>swimlane</type>
			<isSystem>false</isSystem>
			<color>Blue</color>
			<width>1033</width>
			<height>163</height>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c7
				</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c6
				</_reference>
			</children>
			<children>
				<_reference>bpdid:0f582a31051eda36:5c34afd1:1325f17f351:-7fe8
				</_reference>
			</children>
			<children>
				<_reference>bpdid:0f582a31051eda36:5c34afd1:1325f17f351:-7fe5
				</_reference>
			</children>
			<children>
				<_reference>bpdid:0f582a31051eda36:5c34afd1:1325f17f351:-7f8e
				</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fe
				</_reference>
			</children>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67b2</id>
			<label>End</label>
			<x>752</x>
			<y>51</y>
			<type>end</type>
			<category>EndEvent</category>
			<lane>Human Resources</lane>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67a5</id>
			<label>Find job
				candidates</label>
			<x>618</x>
			<y>28</y>
			<type>activity</type>
			<category>Activity</category>
			<colorIcon>bpd/color/yellow_75x55.gif</colorIcon>
			<lane>Human Resources</lane>
			<bpmn2TaskType>None</bpmn2TaskType>
			<loopType>none</loopType>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:0f582a31051eda36:5c34afd1:1325f17f351:-7fe2</id>
			<label>Untitled2</label>
			<x>189</x>
			<y>54</y>
			<type>activity</type>
			<category>Activity</category>
			<colorIcon>bpd/activity_75x55.gif</colorIcon>
			<lane>Human Resources</lane>
			<bpmn2TaskType>UserTask</bpmn2TaskType>
			<poType>Service</poType>
			<serviceType>Human Service</serviceType>
			<poId>1.f739fe14-5f7d-4ee7-9de0-075e51295d13</poId>
			<snapshotId>2064.74f9ea10-a351-4c42-ada5-b3dce7145330</snapshotId>
			<loopType>none</loopType>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:0f582a31051eda36:5c34afd1:1325f17f351:-7fdf</id>
			<label>Untitled3</label>
			<x>883</x>
			<y>39</y>
			<type>activity</type>
			<category>Activity</category>
			<colorIcon>bpd/activity_75x55.gif</colorIcon>
			<lane>Human Resources</lane>
			<bpmn2TaskType>UserTask</bpmn2TaskType>
			<poType>Service</poType>
			<serviceType>Human Service</serviceType>
			<poId>1.f739fe14-5f7d-4ee7-9de0-075e51295d13</poId>
			<snapshotId>2064.74f9ea10-a351-4c42-ada5-b3dce7145330</snapshotId>
			<loopType>none</loopType>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Swimlane">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67ea</id>
			<label>Human Resources</label>
			<x>0</x>
			<y>350</y>
			<type>swimlane</type>
			<isSystem>false</isSystem>
			<color>Default</color>
			<width>1033</width>
			<height>169</height>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67b2
				</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67a5
				</_reference>
			</children>
			<children>
				<_reference>bpdid:0f582a31051eda36:5c34afd1:1325f17f351:-7fe2
				</_reference>
			</children>
			<children>
				<_reference>bpdid:0f582a31051eda36:5c34afd1:1325f17f351:-7fdf
				</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fd
				</_reference>
			</children>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6796</id>
			<label>Notify hiring
				manager</label>
			<x>532</x>
			<y>35</y>
			<type>activity</type>
			<category>Activity</category>
			<colorIcon>bpd/color/orange_75x55.gif</colorIcon>
			<lane>System</lane>
			<bpmn2TaskType>None</bpmn2TaskType>
			<loopType>none</loopType>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Node">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6787</id>
			<label>Requisition
				terminated
</label>
			<x>665</x>
			<y>58</y>
			<type>end</type>
			<category>EndEvent</category>
			<lane>System</lane>
			<preAssignment>false</preAssignment>
			<postAssignment>false</postAssignment>
			<conditional>false</conditional>
			<eventActionType>0</eventActionType>
			<interrupting>false</interrupting>
			<active>false</active>
		</items>
		<items xsi:type="ns5:Swimlane">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67e9</id>
			<label>System</label>
			<x>0</x>
			<y>519</y>
			<type>swimlane</type>
			<isSystem>true</isSystem>
			<color>Purple</color>
			<width>1033</width>
			<height>140</height>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6796
				</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6787
				</_reference>
			</children>
			<children>
				<_reference>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67fc
				</_reference>
			</children>
		</items>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-674e</id>
			<name>to Submit job requisition</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67e8</start>
			<startPosition>rightCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db</end>
			<endPosition>leftCenter</endPosition>
			<showName>false</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:117,&quot;y&quot;:62},{&quot;x&quot;:117,&quot;y&quot;:65}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>false</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-673e</id>
			<name>Rejected</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c7</start>
			<startPosition>bottomCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6796</end>
			<endPosition>leftCenter</endPosition>
			<showName>true</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.8121827411167513</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:482,&quot;y&quot;:589}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>true</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6746</id>
			<name>Approved --&gt; proceed to HR</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c7</start>
			<startPosition>rightCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67a5</end>
			<endPosition>leftCenter</endPosition>
			<showName>true</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:570,&quot;y&quot;:253},{&quot;x&quot;:570,&quot;y&quot;:413}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>false</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-677a</id>
			<name>Approval required</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c8</start>
			<startPosition>bottomCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c6</end>
			<endPosition>topCenter</endPosition>
			<showName>true</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:365,&quot;y&quot;:149},{&quot;x&quot;:388,&quot;y&quot;:149}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>false</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6772</id>
			<name>No approval needed --&gt; proceed to HR</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c8</start>
			<startPosition>rightCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67a5</end>
			<endPosition>topCenter</endPosition>
			<showName>true</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.49320543565147884</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:689,&quot;y&quot;:61}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>true</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-676a</id>
			<name>to Need GM approval?</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67db</start>
			<startPosition>rightCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c8</end>
			<endPosition>leftCenter</endPosition>
			<showName>false</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:306,&quot;y&quot;:65},{&quot;x&quot;:306,&quot;y&quot;:61}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>false</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6762</id>
			<name>to End</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67a5</start>
			<startPosition>rightCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67b2</end>
			<endPosition>leftCenter</endPosition>
			<showName>false</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:732,&quot;y&quot;:63},{&quot;x&quot;:732,&quot;y&quot;:60}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>false</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-675c</id>
			<name>to GM approved?</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c6</start>
			<startPosition>rightCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-67c7</end>
			<endPosition>leftCenter</endPosition>
			<showName>false</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:427,&quot;y&quot;:70},{&quot;x&quot;:427,&quot;y&quot;:66}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>false</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<links xsi:type="ns5:BPDLink">
			<id>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6754</id>
			<name>to Requisition terminated</name>
			<start>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6796</start>
			<startPosition>rightCenter</startPosition>
			<end>bpdid:5cd499bd441308ca:37d49876:12e27ee26e3:-6787</end>
			<endPosition>leftCenter</endPosition>
			<showName>false</showName>
			<showEndState>false</showEndState>
			<linkLabelPosition>0.5</linkLabelPosition>
			<gfx>{&quot;intermediatePoints&quot;:[{&quot;x&quot;:646,&quot;y&quot;:70},{&quot;x&quot;:646,&quot;y&quot;:67}]}
			</gfx>
			<inCriticalPath>false</inCriticalPath>
			<needDefaultMarker>false</needDefaultMarker>
			<needDiamondMarker>false</needDiamondMarker>
		</links>
		<properties>
			<variables>
				<name>requisition</name>
				<poId>12.0b208895-bdb3-4e67-a402-af17a05858d2</poId>
				<poName>Requisition</poName>
				<snapshotId>2064.bc97a55f-f158-40f3-8d8f-b9915a0dcc0d</snapshotId>
				<isList>false</isList>
				<type>private</type>
			</variables>
			<variables>
				<name>currentPosition</name>
				<poId>12.0ea493a3-08b7-4456-84be-443c8d41bc8b</poId>
				<poName>Position</poName>
				<snapshotId>2064.bc97a55f-f158-40f3-8d8f-b9915a0dcc0d</snapshotId>
				<isList>false</isList>
				<type>private</type>
			</variables>
			<workSchedule>
				<timeScheduleType>0</timeScheduleType>
				<timeScheduleName>(use default)</timeScheduleName>
				<timezoneType>0</timezoneType>
				<timezone>(use default)</timezone>
				<holidayScheduleType>0</holidayScheduleType>
				<holidayScheduleName>(use default)</holidayScheduleName>
			</workSchedule>
			<KPIs>
				<name>Total Time (Clock)</name>
				<poId>49.67cbb213-0032-4f14-be44-7e9c7a1a146f</poId>
				<snapshotId>2064.74f9ea10-a351-4c42-ada5-b3dce7145330</snapshotId>
			</KPIs>
		</properties>
		<textPositions>
			<item key="Start">
				<value xsi:type="ns5:TextLinePosition">
					<x>-13</x>
					<y>-12</y>
					<width>27</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Submit job">
				<value xsi:type="ns5:TextLinePosition">
					<x>15</x>
					<y>5</y>
					<width>59</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="requisition">
				<value xsi:type="ns5:TextLinePosition">
					<x>16</x>
					<y>19</y>
					<width>56</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Need GM">
				<value xsi:type="ns5:TextLinePosition">
					<x>-26</x>
					<y>-12</y>
					<width>52</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="approval?">
				<value xsi:type="ns5:TextLinePosition">
					<x>-27</x>
					<y>2</y>
					<width>55</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="TP1">
				<value xsi:type="ns5:TextLinePosition">
					<x>-10</x>
					<y>-12</y>
					<width>21</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="TP2">
				<value xsi:type="ns5:TextLinePosition">
					<x>-10</x>
					<y>-12</y>
					<width>21</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="GM">
				<value xsi:type="ns5:TextLinePosition">
					<x>-9</x>
					<y>-12</y>
					<width>19</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="approved?">
				<value xsi:type="ns5:TextLinePosition">
					<x>-29</x>
					<y>2</y>
					<width>59</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Approve or">
				<value xsi:type="ns5:TextLinePosition">
					<x>14</x>
					<y>-2</y>
					<width>61</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="reject">
				<value xsi:type="ns5:TextLinePosition">
					<x>29</x>
					<y>12</y>
					<width>31</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="requisition">
				<value xsi:type="ns5:TextLinePosition">
					<x>16</x>
					<y>26</y>
					<width>56</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Untitled">
				<value xsi:type="ns5:TextLinePosition">
					<x>23</x>
					<y>12</y>
					<width>43</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Untitled1">
				<value xsi:type="ns5:TextLinePosition">
					<x>20</x>
					<y>12</y>
					<width>49</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="sub1">
				<value xsi:type="ns5:TextLinePosition">
					<x>31</x>
					<y>12</y>
					<width>27</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="End">
				<value xsi:type="ns5:TextLinePosition">
					<x>-10</x>
					<y>-12</y>
					<width>21</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Find job">
				<value xsi:type="ns5:TextLinePosition">
					<x>22</x>
					<y>5</y>
					<width>44</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="candidates">
				<value xsi:type="ns5:TextLinePosition">
					<x>14</x>
					<y>19</y>
					<width>60</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Untitled2">
				<value xsi:type="ns5:TextLinePosition">
					<x>20</x>
					<y>12</y>
					<width>49</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Untitled3">
				<value xsi:type="ns5:TextLinePosition">
					<x>20</x>
					<y>12</y>
					<width>49</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Notify hiring">
				<value xsi:type="ns5:TextLinePosition">
					<x>10</x>
					<y>5</y>
					<width>69</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="manager">
				<value xsi:type="ns5:TextLinePosition">
					<x>20</x>
					<y>19</y>
					<width>48</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Requisition">
				<value xsi:type="ns5:TextLinePosition">
					<x>-30</x>
					<y>-12</y>
					<width>61</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="terminated">
				<value xsi:type="ns5:TextLinePosition">
					<x>-29</x>
					<y>2</y>
					<width>59</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>16</y>
					<width>0</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="The hiring manager submits ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>157</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="a job requisition.">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>14</y>
					<width>91</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="If the requisition is to">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>119</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="fill a new position, it is">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>14</y>
					<width>124</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="routed to the General ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>28</y>
					<width>121</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Manager for approval.">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>42</y>
					<width>123</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="If the requisition is to fill an">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>153</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="existing position, it is routed">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>14</y>
					<width>156</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="directly to Human Resources. ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>28</y>
					<width>172</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="The General Manager evaluates ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>180</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="the submitted requisition and ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>14</y>
					<width>164</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="either approves it or rejects it.">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>28</y>
					<width>168</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="If the General Manager ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>132</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="approves the requisition, it">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>14</y>
					<width>148</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="is routed to Human Resources. ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>28</y>
					<width>179</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="If the General Manager rejects">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>169</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="the requisition, the hiring manager ">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>14</y>
					<width>192</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="is notified of the rejection and">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>28</y>
					<width>167</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="the requisition is terminated.">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>42</y>
					<width>157</width>
					<height>14</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="to Submit job requisition">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>133</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Rejected">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>49</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Approved --&gt; proceed to HR">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>157</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="Approval required">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>97</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="No approval needed --&gt; proceed to HR">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>215</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="to Need GM approval?">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>125</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="to End">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>35</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="to GM approved?">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>95</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
		<textPositions>
			<item key="to Requisition terminated">
				<value xsi:type="ns5:TextLinePosition">
					<x>0</x>
					<y>0</y>
					<width>138</width>
					<height>0</height>
				</value>
			</item>
		</textPositions>
	</data>
</bpm:ResponseData>

MIME type: image/jpeg

Error Response content

Detailed error information.

The default content type is application/json.

MIME type: application/json


+ View schema
{  "description": "WLE Error Response", 
   "type": "object",
   "properties":
   {  "status": {"type": "string",
         "description": "The status of the previous API call."
      },
      "exceptionType": {"type": "string",
         "description": "The classname associated with the exception."
      },
      "errorNumber": {"type": "string",
         "description": "Message ID of the exception."
      },
      "errorMessage": {"type": "string",
         "description": "Message text of the exception."
      },
      "errorMessageParameters": {"type": ["string"], "optional": true,
         "description":"Message text parameters of the exception."
      },
      "programmersDetails": {"type": "object", "optional": true,
         "description":"Additional exception details, for example, a stack trace."
      }
   }
} 

Status codes

The method returns one of the following status codes:
CodeDescription
200 OKSuccess completion.
400 Bad RequestThe parameters are not valid or they are missing.
401 UnauthorizedThe caller is not authorized for this request.
404 Not Found
The process model does not exist.
406 Not AcceptableThe requested content type or content encoding is not supported.
500 Internal Server ErrorA severe problem has occurred, programmer's details are provided.

Available since

7.5.1

Parent Topic: Process Visual Model Resource