public CreateInstanceProcess ( long AtulProcessID, int CreatedBy, int OwnedBy, int AtulProcessStatusID, string SubjectIdentifier, string SubjectSummary ) : long | ||
AtulProcessID | long | The atul process ID. |
CreatedBy | int | The created by ID. |
OwnedBy | int | The owned by ID. |
AtulProcessStatusID | int | The atul process status ID. |
SubjectIdentifier | string | The identifier for the subject of the instance (e.g. server ID). |
SubjectSummary | string | The friendly name for the subject of the instance (e.g. host name). |
Résultat | long |
/// <summary> /// Creates the instance process. /// </summary> /// <param name="AtulProcessID">The atul process ID.</param> /// <param name="CreatedBy">The created by ID.</param> /// <param name="OwnedBy">The owned by ID.</param> /// <param name="AtulProcessStatusID">The atul process status ID.</param> /// <returns></returns> public bool CreateInstanceProcess(string AtulProcessID, string CreatedBy, string OwnedBy, string AtulProcessStatusID) { bool success = false; Atul_v1Data adb = new Atul_v1Data(); success = adb.CreateInstanceProcess(Convert.ToInt32(AtulProcessID), Convert.ToInt32(CreatedBy), Convert.ToInt32(OwnedBy), Convert.ToInt32(AtulProcessStatusID)); return success; }
/// <summary> /// Creates the instance process. /// </summary> /// <param name="AtulProcessID">The atul process ID.</param> /// <param name="CreatedBy">The created by ID.</param> /// <param name="OwnedBy">The owned by ID.</param> /// <param name="AtulProcessStatusID">The atul process status ID.</param> /// <param name="SubjectIdentifier">The identifier for the subject of the instance (e.g. server ID).</param> /// <param name="SubjectSummary">The friendly name for the subject of the instance (e.g. host name).</param> /// <returns></returns> public long CreateInstanceProcess(string AtulProcessID, string CreatedBy, string OwnedBy, string AtulProcessStatusID, string SubjectIdentifier, string SubjectSummary) { long processInstanceId = 0; Atul_v1Data adb = new Atul_v1Data(); processInstanceId = adb.CreateInstanceProcess(Convert.ToInt64(AtulProcessID), Convert.ToInt32(CreatedBy), Convert.ToInt32(OwnedBy), Convert.ToInt32(AtulProcessStatusID), SubjectIdentifier, SubjectSummary); //process subject provider this.ProcessCurrentSubProcessActor(processInstanceId); return processInstanceId; }
/// <summary> /// Creates the instance process. /// </summary> /// <param name="AtulProcessID">The atul process ID.</param> /// <param name="CreatedBy">The created by ID.</param> /// <param name="OwnedBy">The owned by ID.</param> /// <param name="AtulProcessStatusID">The atul process status ID.</param> /// <returns></returns> public bool CreateInstanceProcess(int AtulProcessID, int CreatedBy, int OwnedBy, int AtulProcessStatusID) { bool success = false; Atul_v1Data adb = new Atul_v1Data(); success = adb.CreateInstanceProcess(AtulProcessID, CreatedBy, OwnedBy, AtulProcessStatusID); return success; }
/// <summary> /// Creates the instance process. /// </summary> /// <param name="AtulProcessID">The atul process ID.</param> /// <param name="CreatedBy">The created by ID.</param> /// <param name="OwnedBy">The owned by ID.</param> /// <param name="AtulProcessStatusID">The atul process status ID.</param> /// <param name="SubjectIdentifier">The identifier for the subject of the instance (e.g. server ID).</param> /// <param name="SubjectSummary">The friendly name for the subject of the instance (e.g. host name).</param> /// <returns></returns> public long CreateInstanceProcess(long AtulProcessID, int CreatedBy, int OwnedBy, int AtulProcessStatusID, string SubjectIdentifier, string SubjectSummary) { long processInstanceId = 0; Atul_v1Data adb = new Atul_v1Data(); processInstanceId = adb.CreateInstanceProcess(AtulProcessID, CreatedBy, OwnedBy, AtulProcessStatusID, SubjectIdentifier, SubjectSummary); return processInstanceId; }