Add createProcess()
This commit is contained in:
parent
760ba21175
commit
f5bddd992a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user