Web Service > Web Service Operations > Working with Processes > SaveBpmProcess
SaveBpmProcessResult SaveBpmProcess(BpmProcessId tBpmProcess)
tBpmProcess. Moniker of opened process.
tArg. Operation execution parameters.
The SaveBpmProcess operation saves changes in a process.
To execute the operation, in the tBpmProcess field specify moniker of opened process. The process should be opened for edit. The moniker can be obtained after executing the OpenBpmProcess operation.
The operation results in the updated process version.
Below is the example of saving changes in a process. The request contains moniker of opened process. The response contains new process version.
{
"SaveBpmProcess" :
{
"tBpmProcess" :
{
"id" : "NCPHMFOLCJKEGOAEDCHDGJJIFKGJAHNEMLOMCOEGJCNMDAIG!M!S!BPABMKPGOLCJKEGOAECHPFJNIBANBFMMJELIKODFECPOHPNHDO"
}
}
}
{
"SaveBpmProcessResult" :
{
"parid" : "61"
}
}
public static SaveBpmProcessResult SaveBpmProcess(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new SaveBpmProcess()
{
// Create object moniker
tBpmProcess = new BpmProcessId() { id = moniker }
};
// Save changes
var result = somClient.SaveBpmProcess(tGet);
return result;
}
See also: