为什么不能用REST API 设置变量的值
Posted: Thu Nov 02, 2017 11:19 pm
我使用如下代码, the HTTP status code is 200,但是为什么变量typeCurrentTask的值没有改变?
Code: Select all
$url = "http://localhost:8000/api/1.0/workflow/cases/50717163059fbdd26bdfe40007504612/variable";
$postParams = array(
"typeCurrentTask" => "1"
//'textVar_days' => 5,
//'testVar000001' => 'test00001'
);
$this->pmRestRequest("PUT",$url,$postParams,$accessToken);