自動採番アクション追加・ドメイン追加

This commit is contained in:
2023-11-01 10:47:24 +09:00
parent df593d2ffe
commit cfc416fd14
20 changed files with 529 additions and 56 deletions

View File

@@ -15,12 +15,12 @@ declare const alcflow : {
$(function (){
const events=Object.keys(alcflow);
kintone.events.on(events,(event:any)=>{
kintone.events.on(events,async (event:any)=>{
const flowinfo = alcflow[event.type];
const flow=ActionFlow.fromJSON(flowinfo.content);
if(flow!==undefined){
const process = new ActionProcess(event.type,flow,event);
process.exec();
await process.exec();
}
return event;
});