Add createProcess()

This commit is contained in:
Sosthene 2025-09-07 18:34:07 +02:00
parent 760ba21175
commit f5bddd992a

View File

@ -238,6 +238,18 @@ export class SDKSignerClient {
return response;
}
async createProcess(processData: { [label: string]: any }, privateFields: string[], roles: any): Promise<ServerResponse> {
const message: ClientMessage = {
type: MessageType.CREATE_PROCESS,
processData,
privateFields,
roles,
messageId: this.generateMessageId()
};
return this.sendAndWait(message, MessageType.PROCESS_CREATED);
}
/**
* Notify an update for a process