UpdateInstanceProcess() public method

Updates the instance process.
public UpdateInstanceProcess ( long AtulInstanceProcessID, long AtulProcessID, int ModifiedBy, int OwnedBy, int AtulProcessStatusID, string SubjectIdentifier, string SubjectSummary, long SubjectServiceProviderID ) : bool
AtulInstanceProcessID long The atul instance process ID.
AtulProcessID long The atul process ID.
ModifiedBy int The modified by.
OwnedBy int The owned by.
AtulProcessStatusID int The atul process status ID.
SubjectIdentifier string
SubjectSummary string
SubjectServiceProviderID long
return bool
Beispiel #1
0
 public bool UpdateInstanceProcess(string AtulInstanceProcessID, string AtulProcessID, int ModifiedBy, int OwnedBy, int AtulProcessStatusID, string SubjectIdentifier, string SubjectSummary, string SubjectServiceProviderID)
 {
     bool success = false;
     AtulBusinessLogic adb = new AtulBusinessLogic();
     long InstanceProcessID = Convert.ToInt64(AtulInstanceProcessID);
     long ProcessID = Convert.ToInt64(AtulProcessID);
     long? SSPID;
     if (SubjectServiceProviderID.Trim() == string.Empty)
     {
         SSPID = null;
     }
     else
     {
         SSPID = Convert.ToInt64(SubjectServiceProviderID);
     }
     success = adb.UpdateInstanceProcess(InstanceProcessID, ProcessID, ModifiedBy, OwnedBy, AtulProcessStatusID, SubjectIdentifier, SubjectSummary, SSPID);
     return success;
 }