我目前正在进行一个与camunda集成的项目。我能够创建一个流程实例,以及所有其他的东西。但是现在我必须设置businessKey的值。有人知道是否有端点可以这样做吗?我和grails5一起工作,我必须做url对camunda的每一次调用
发布于 2022-07-14 06:58:44
完整API文档:https://docs.camunda.org/manual/7.17/reference/rest/
通常在流程实例启动时设置业务密钥:https://docs.camunda.org/manual/7.17/reference/rest/process-definition/post-start-process-instance/。
{
"variables":{
"aVariable" : {
"value" : "aStringValue",
"type": "String"},
"anotherVariable" : {
"value" : true,
"type": "Boolean",
"valueInfo" : {
"transient" : true
}
}
},
"businessKey" : "myBusinessKey",
"withVariablesInReturn": true
}您还可以在流程的其他阶段设置业务密钥,例如在scrip[t任务]或表达式中。
https://stackoverflow.com/questions/72935740
复制相似问题