In kintone’s process management, for the initial step, I can only select ‘set to anybody’ or ‘set to record creator.’ I feel like this is quite limiting. Are there any workarounds to this?
Hi Brian.
As you find out, Assignee List in Process Management of “App Settings” has just
two options of ‘set to anybody’ or ‘set to record creator’ in its initial value.
If you could customize your application using JavaScript,
it is possible to set Assignee for other users except those described above.
Example:
kintone.events.on(“app.record.create.submit.success”, function(e) {
var body = {
“app”: App ID,
“id”: Record ID,
“assignees”: [“User ID”]
}
kintone.api(kintone.api.url(’/k/v1/record/assignees’, true), ‘PUT’, body, function(resp) {
//success
console.log(resp);
}, function(error) {
//error
console.log(error);
});
});
We have explanation pages for details about API, listed below:
#Submit Success Event
https://developer.kintone.io/hc/en-us/articles/213149077/
#Update Assignees
https://developer.kintone.io/hc/en-us/articles/219563427
By using above, we hope that you can get the expected effect.