 | RemWorkflowCompleteWorkitem Method |
Paperwork .Net Kütüphanesi
Nesne numarası verilen iş adımını tamamlamak için kullanılır.
Namespace:
Paperwork.Connect
Assembly:
Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntaxpublic a_GenericResult CompleteWorkitem(
string workitemId,
string AttorneyId,
string userName = "",
string kepObjectId = ""
)
Parameters
- workitemId
- Type: SystemString
İş adımı nesne numarası. - AttorneyId
- Type: SystemString
Vekaket nesne numarası (Vekalet yok ise boş geçilir.) - userName (Optional)
- Type: SystemString
- kepObjectId (Optional)
- Type: SystemString
Return Value
Type:
a_GenericResulta_GenericResult nesesi içinde , aErrorCode=0 ise işlem başarılıdır. Aksi taktirde Result ve Message alanları kontrol ediniz.
Examples
public void CompleteWorkitem()
{
string workitemId = "";
string attorneyId = "";
a_GenericResult a = p.rWorkflow.CompleteWorkitem(workitemId, attorneyId);
if (a.ErrorCode != 0)
throw new Exception(a.Message);
}
See Also