Class WorkflowManager
Inheritance
System.Object
WorkflowManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: fcSDK.dll
Syntax
public class WorkflowManager
Constructors
WorkflowManager(ClarifyDataSet)
Declaration
public WorkflowManager(ClarifyDataSet ds)
Parameters
WorkflowManager(IDbTransaction, ClarifyDataSet, String)
Declaration
public WorkflowManager(IDbTransaction transaction, ClarifyDataSet ds, string userName = null)
Parameters
Type |
Name |
Description |
System.Data.IDbTransaction |
transaction |
|
ClarifyDataSet |
ds |
|
System.String |
userName |
|
Fields
EndOfHistoryMagicText
Declaration
public static readonly string EndOfHistoryMagicText
Field Value
Type |
Description |
System.String |
|
ImpersonatorUserName
Declaration
public string ImpersonatorUserName
Field Value
Type |
Description |
System.String |
|
Methods
Accept(String, String, String, DateTime, String, Boolean)
Declaration
public WorkFlowInfo Accept(string idNum, string objectName, string wipBin, DateTime acceptDate, string userName, bool generateTimeBomb)
Parameters
Type |
Name |
Description |
System.String |
idNum |
|
System.String |
objectName |
|
System.String |
wipBin |
|
System.DateTime |
acceptDate |
|
System.String |
userName |
|
System.Boolean |
generateTimeBomb |
|
Returns
Assign(String, String, String, String, DateTime, String, Boolean)
Declaration
public WorkFlowInfo Assign(string idNum, string objectName, string newUserName, string wipBin, DateTime assignDate, string currentUserName, bool generateTimeBomb)
Parameters
Type |
Name |
Description |
System.String |
idNum |
|
System.String |
objectName |
|
System.String |
newUserName |
|
System.String |
wipBin |
|
System.DateTime |
assignDate |
|
System.String |
currentUserName |
|
System.Boolean |
generateTimeBomb |
|
Returns
BuildClarifyHistory(String, String)
Declaration
public static string BuildClarifyHistory(string currentHistory, string appendHistory)
Parameters
Type |
Name |
Description |
System.String |
currentHistory |
|
System.String |
appendHistory |
|
Returns
Type |
Description |
System.String |
|
ChangeStatus(String, String, String, DateTime, String, Boolean, String)
Declaration
public WorkFlowInfo ChangeStatus(string idNum, string objectName, string newStatus, DateTime changeDate, string userName, bool generateTimeBomb, string notes)
Parameters
Type |
Name |
Description |
System.String |
idNum |
|
System.String |
objectName |
|
System.String |
newStatus |
|
System.DateTime |
changeDate |
|
System.String |
userName |
|
System.Boolean |
generateTimeBomb |
|
System.String |
notes |
|
Returns
CreateActivityEntryRow(Int32, String, Int32, DateTime, String, ClarifyDataRow, IList<ClarifyGeneric>)
Declaration
public ClarifyDataRow CreateActivityEntryRow(int activityCode, string activityName, int userObjid, DateTime activityDate, string addnl_info, ClarifyDataRow objectRow, IList<ClarifyGeneric> clarifyGenericsToUpdate)
Parameters
Type |
Name |
Description |
System.Int32 |
activityCode |
|
System.String |
activityName |
|
System.Int32 |
userObjid |
|
System.DateTime |
activityDate |
|
System.String |
addnl_info |
|
ClarifyDataRow |
objectRow |
|
System.Collections.Generic.IList<ClarifyGeneric> |
clarifyGenericsToUpdate |
|
Returns
CreateActivityLogEntry(Int32, Int32, DateTime, String, ClarifyDataRow, ClarifyDataRow, WorkflowObjectInfo)
Declaration
public void CreateActivityLogEntry(int activityCode, int userObjid, DateTime activityDate, string addlInfo, ClarifyDataRow objectRow, ClarifyDataRow actEntryRow, WorkflowObjectInfo objInfo = null)
Parameters
CreateAttachmentRecord(Int32, String, String, String, Boolean, Boolean)
Declaration
public int CreateAttachmentRecord(int objectObjId, string attachmentName, string filePath, string objectType, bool attachmentsAnywhere, bool createActEntry)
Parameters
Type |
Name |
Description |
System.Int32 |
objectObjId |
|
System.String |
attachmentName |
|
System.String |
filePath |
|
System.String |
objectType |
|
System.Boolean |
attachmentsAnywhere |
|
System.Boolean |
createActEntry |
|
Returns
Type |
Description |
System.Int32 |
|
CreateAttachmentRecord(Int32, String, String, String, Boolean, Boolean, IDictionary<String, Object>)
Declaration
public int CreateAttachmentRecord(int objectObjId, string attachmentName, string filePath, string objectType, bool attachmentsAnywhere, bool createActEntry, IDictionary<string, object> docPathFields)
Parameters
Type |
Name |
Description |
System.Int32 |
objectObjId |
|
System.String |
attachmentName |
|
System.String |
filePath |
|
System.String |
objectType |
|
System.Boolean |
attachmentsAnywhere |
|
System.Boolean |
createActEntry |
|
System.Collections.Generic.IDictionary<System.String, System.Object> |
docPathFields |
|
Returns
Type |
Description |
System.Int32 |
|
CreateAttachmentRecord(String, String, String, String, Boolean, Boolean)
Declaration
public int CreateAttachmentRecord(string idNumber, string attachmentName, string filePath, string objectType, bool attachmentsAnywhere, bool createActEntry)
Parameters
Type |
Name |
Description |
System.String |
idNumber |
|
System.String |
attachmentName |
|
System.String |
filePath |
|
System.String |
objectType |
|
System.Boolean |
attachmentsAnywhere |
|
System.Boolean |
createActEntry |
|
Returns
Type |
Description |
System.Int32 |
|
CreateAttachmentRecord(String, String, String, String, Boolean, Boolean, IDictionary<String, Object>)
Declaration
public int CreateAttachmentRecord(string idNumber, string attachmentName, string filePath, string objectType, bool attachmentsAnywhere, bool createActEntry, IDictionary<string, object> docPathFields)
Parameters
Type |
Name |
Description |
System.String |
idNumber |
|
System.String |
attachmentName |
|
System.String |
filePath |
|
System.String |
objectType |
|
System.Boolean |
attachmentsAnywhere |
|
System.Boolean |
createActEntry |
|
System.Collections.Generic.IDictionary<System.String, System.Object> |
docPathFields |
|
Returns
Type |
Description |
System.Int32 |
|
CreateCasePhoneLogActivityEntry(Int32, DateTime, String, ClarifyDataRow, ClarifyDataRow, ClarifyDataRow)
Declaration
public void CreateCasePhoneLogActivityEntry(int userObjid, DateTime activityDate, string addlInfo, ClarifyDataRow objectRow, ClarifyDataRow actEntryRow, ClarifyDataRow phoneLogRow)
Parameters
CreateParticipantActivityEntry(Int32, Int32, DateTime, String, ClarifyDataRow, ClarifyDataRow, IList<ClarifyGeneric>, String)
Declaration
public void CreateParticipantActivityEntry(int activityCode, int userObjid, DateTime activityDate, string additionalInfo, ClarifyDataRow objectRow, ClarifyDataRow actEntryRow, IList<ClarifyGeneric> clarifyGenericsToUpdate, string parentRelation)
Parameters
Type |
Name |
Description |
System.Int32 |
activityCode |
|
System.Int32 |
userObjid |
|
System.DateTime |
activityDate |
|
System.String |
additionalInfo |
|
ClarifyDataRow |
objectRow |
|
ClarifyDataRow |
actEntryRow |
|
System.Collections.Generic.IList<ClarifyGeneric> |
clarifyGenericsToUpdate |
|
System.String |
parentRelation |
|
CreateTimeBomb(ClarifyDataRow, ClarifyDataRow, Int32, Int32, DateTime, String)
Declaration
public ClarifyGeneric CreateTimeBomb(ClarifyDataRow mainRecord, ClarifyDataRow activityRecord, int timeBombFlag, int employeeId, DateTime timebombDate, string focusObjectName)
Parameters
Type |
Name |
Description |
ClarifyDataRow |
mainRecord |
|
ClarifyDataRow |
activityRecord |
|
System.Int32 |
timeBombFlag |
|
System.Int32 |
employeeId |
|
System.DateTime |
timebombDate |
|
System.String |
focusObjectName |
|
Returns
CreateTimeBomb(ClarifyDataRow, ClarifyDataRow, String, Int32, DateTime, String)
Declaration
public ClarifyGeneric CreateTimeBomb(ClarifyDataRow mainRecord, ClarifyDataRow activityRecord, string action, int employeeId, DateTime timebombDate, string focusObjectName)
Parameters
Type |
Name |
Description |
ClarifyDataRow |
mainRecord |
|
ClarifyDataRow |
activityRecord |
|
System.String |
action |
|
System.Int32 |
employeeId |
|
System.DateTime |
timebombDate |
|
System.String |
focusObjectName |
|
Returns
Dispatch(String, String, String, DateTime, String, Boolean)
Declaration
public WorkFlowInfo Dispatch(string idNum, string objectName, string queueName, DateTime dispatchDate, string userName, bool generateTimeBomb)
Parameters
Type |
Name |
Description |
System.String |
idNum |
|
System.String |
objectName |
|
System.String |
queueName |
|
System.DateTime |
dispatchDate |
|
System.String |
userName |
|
System.Boolean |
generateTimeBomb |
|
Returns
Forward(String, String, String, DateTime, String, Boolean, String)
Declaration
public WorkFlowInfo Forward(string idNum, string objectName, string newQueueName, DateTime forwardDate, string userName, bool generateTimeBomb, string notes)
Parameters
Type |
Name |
Description |
System.String |
idNum |
|
System.String |
objectName |
|
System.String |
newQueueName |
|
System.DateTime |
forwardDate |
|
System.String |
userName |
|
System.Boolean |
generateTimeBomb |
|
System.String |
notes |
|
Returns
GetAttachmentFilePath(String, String, String, AttachmentFolderMode)
Declaration
public string GetAttachmentFilePath(string idNumber, string basePath, string fileName, AttachmentFolderMode attachMode)
Parameters
Type |
Name |
Description |
System.String |
idNumber |
|
System.String |
basePath |
|
System.String |
fileName |
|
AttachmentFolderMode |
attachMode |
|
Returns
Type |
Description |
System.String |
|
GetNextFileName(String, String)
Declaration
public string GetNextFileName(string fileName, string basePath)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
System.String |
basePath |
|
Returns
Type |
Description |
System.String |
|
GetNextFileNameIgnoringExistence(String, String)
Declaration
public string GetNextFileNameIgnoringExistence(string fileName, string basePath)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
System.String |
basePath |
|
Returns
Type |
Description |
System.String |
|
GetWipDetails(ClarifyGeneric, WorkFlowInfo)
Declaration
public void GetWipDetails(ClarifyGeneric wipGen, WorkFlowInfo info)
Parameters
IsFilenameAlreadyInUseOnTheWorkflowObject(String, String, String)
Declaration
public bool IsFilenameAlreadyInUseOnTheWorkflowObject(string fileName, string idNumber, string workflowObjectName)
Parameters
Type |
Name |
Description |
System.String |
fileName |
|
System.String |
idNumber |
|
System.String |
workflowObjectName |
|
Returns
Type |
Description |
System.Boolean |
|
MakeFullHistoryDirty(String)
Declaration
public static string MakeFullHistoryDirty(string currentHistory)
Parameters
Type |
Name |
Description |
System.String |
currentHistory |
|
Returns
Type |
Description |
System.String |
|
MapObjectNameToTableID(String)
Declaration
public static int MapObjectNameToTableID(string objectName)
Parameters
Type |
Name |
Description |
System.String |
objectName |
|
Returns
Type |
Description |
System.Int32 |
|
MapTimeBombActionToFlag(String)
Declaration
public static int MapTimeBombActionToFlag(string timeBombAction)
Parameters
Type |
Name |
Description |
System.String |
timeBombAction |
|
Returns
Type |
Description |
System.Int32 |
|
Move(String, String, String)
Declaration
public WorkFlowInfo Move(string idNum, string objectName, string newWipBin)
Parameters
Type |
Name |
Description |
System.String |
idNum |
|
System.String |
objectName |
|
System.String |
newWipBin |
|
Returns
Reject(String, String, String, DateTime, String, Boolean, String)
Declaration
public WorkFlowInfo Reject(string idNum, string objectName, string newWipBin, DateTime rejectDate, string userName, bool generateTimeBomb, string notes)
Parameters
Type |
Name |
Description |
System.String |
idNum |
|
System.String |
objectName |
|
System.String |
newWipBin |
|
System.DateTime |
rejectDate |
|
System.String |
userName |
|
System.Boolean |
generateTimeBomb |
|
System.String |
notes |
|
Returns
Yank(String, String, String, DateTime, String, Boolean)
Declaration
public WorkFlowInfo Yank(string idNum, string objectName, string wipBin, DateTime yankDate, string userName, bool generateTimeBomb)
Parameters
Type |
Name |
Description |
System.String |
idNum |
|
System.String |
objectName |
|
System.String |
wipBin |
|
System.DateTime |
yankDate |
|
System.String |
userName |
|
System.Boolean |
generateTimeBomb |
|
Returns