REST to obtain historical circulation information

REST to obtain historical circulation information

Request content

var url = wfservinfo+'history/historic-task-instances';
$.ajax({
    
    
	url: url,
	data:{
    
    procinstid:procinstid},
	type: "get",
	headers: {
    
    
		header: authtoken
	},
	dataType: "json",
	success: function (result) {
    
    console.debug(JSON.stringify(result));},
	error:function(e){
    
    console.debug(JSON.stringify(e))}
});

Example

GET http://localhost:8080/apsweb/service/history/historic-task-instances?processInstanceId=b7857bd4f1d948b0b64bae7885a37b5e
header	MTphZG1pbjowYzBhZWRiNDlhNmVjMjY3NzgwYjEyMTIzNDJiMjc1ZTQ0OTZmMjY5YWY5YmI2MWRiOGFkZjYzNg==	

Guess you like

Origin blog.csdn.net/mylearnbox/article/details/114006228