 | RemWorkflowStartWorkflow Method |
Paperwork .Net Kütüphanesi
Nesne numarası verilen iş akışını başlatmak için kullanılır.
Namespace:
Paperwork.Connect
Assembly:
Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntaxpublic a_GenericResult StartWorkflow(
string workflowId
)
Parameters
- workflowId
- Type: SystemString
İş akışı nesne numarası.
Return Value
Type:
a_GenericResulta_GenericResult nesesi içinde , ErrorCode=0 ise işlem başarılıdır. Aksi taktirde Result ve Message alanları kontrol ediniz.
Examplespublic void StartWorkflow()
{
string workflowId = "AB00010000001578";
a_GenericResult retval = p.rWorkflow.StartWorkflow(workflowId);
if (retval.ErrorCode != 0)
throw new Exception(retval.Message);
else
Console.WriteLine("İşlem Başarılı.");
Console.ReadLine();
}
See Also