Class WorkflowUtil
Assembly: SoDataBase.dll
Syntax
public class WorkflowUtil : Object
Constructors
WorkflowUtil()
Declaration
Fields
CSParserOldStylePrefix
Declaration
public const string CSParserOldStylePrefix = "%"
Field Value
CSParserOldStyleSuffix
Declaration
public const string CSParserOldStyleSuffix = "%"
Field Value
CSParserPrefix
Declaration
public const string CSParserPrefix = "[["
Field Value
CSParserSuffix
Declaration
public const string CSParserSuffix = "]]"
Field Value
CSSpmLinkNameLink
Declaration
public const string CSSpmLinkNameLink = "spmLink"
Field Value
Methods
BlockListApproved(Int32[], Int32[])
Declaration
public static HashSet<int> BlockListApproved(int[] selections, params int[] personIds)
Parameters
| Type |
Name |
Description |
| Int32[] |
selections |
|
| Int32[] |
personIds |
|
Returns
CalculateTime(WorkflowTimeWaitIntervalType, Int32, DateTime)
Declaration
public static DateTime CalculateTime(WorkflowTimeWaitIntervalType intervalType, int intervalCount, DateTime defaultTime)
Parameters
Returns
CleanRestrictions(ArchiveRestrictionInfo[])
Declaration
public static List<ArchiveRestrictionInfo> CleanRestrictions(ArchiveRestrictionInfo[] res)
Parameters
Returns
FilterOk(Int32, Int32[])
Declaration
public static HashSet<int> FilterOk(int workflowId, int[] personIds)
Parameters
| Type |
Name |
Description |
| Int32 |
workflowId |
|
| Int32[] |
personIds |
|
Returns
GetCreatedByWorkflowName(Int32)
Declaration
public static string GetCreatedByWorkflowName(int workflowId)
Parameters
| Type |
Name |
Description |
| Int32 |
workflowId |
|
Returns
GetOptionIds(Int32)
Declaration
public static IEnumerable<int> GetOptionIds(int stepId)
Parameters
| Type |
Name |
Description |
| Int32 |
stepId |
|
Returns
GetOptionStepIds(Int32)
Declaration
public static IEnumerable<int> GetOptionStepIds(int optionId)
Parameters
| Type |
Name |
Description |
| Int32 |
optionId |
|
Returns
GetRootStepIds(Int32)
Declaration
public static int[] GetRootStepIds(int workflowId)
Parameters
| Type |
Name |
Description |
| Int32 |
workflowId |
|
Returns
GetStepIds(Int32, WorkflowStepType)
Declaration
public static List<int> GetStepIds(int workflowId, WorkflowStepType stepType)
Parameters
Returns
GetValueFromCriteria(Int32, Int32, String)
Declaration
public static int GetValueFromCriteria(int ownerTable, int ownerId, string colName)
Parameters
Returns
GetWorkflowIdFromStepId(Int32)
Declaration
public static int GetWorkflowIdFromStepId(int stepId)
Parameters
| Type |
Name |
Description |
| Int32 |
stepId |
|
Returns
GetWorkflowStep(WorkflowStepRow, WorkflowInstanceRow)
Declaration
public static WorkflowStepBase GetWorkflowStep(WorkflowStepRow row, WorkflowInstanceRow instanceRow)
Parameters
Returns
GoalReached(Int32, Int32, Int32)
Declaration
public static bool GoalReached(int workflowId, int personId, int contactId)
Parameters
Returns
GoalReached(Int32, Int32[], Int32[])
Declaration
public static HashSet<int> GoalReached(int workflowId, int[] personIds, int[] contactIds)
Parameters
| Type |
Name |
Description |
| Int32 |
workflowId |
|
| Int32[] |
personIds |
|
| Int32[] |
contactIds |
|
Returns
HasEmarketingConsentAndSubscription(Int32, Int32, out String)
Declaration
public static bool HasEmarketingConsentAndSubscription(int personId, int shipmentTypeId, out string reason)
Parameters
Returns
IsAddressUsedByOtherParticipant(Int32, Int32, String)
Declaration
public static bool IsAddressUsedByOtherParticipant(int flowId, int personId, string address)
Parameters
Returns
NextStepId(Int32, Int32)
Declaration
public static int NextStepId(int workflowId, int stepId)
Parameters
| Type |
Name |
Description |
| Int32 |
workflowId |
|
| Int32 |
stepId |
|
Returns
TryAddPersonsToWorkFlow(Int32, Int32[])
Declaration
public static bool[] TryAddPersonsToWorkFlow(int workflowId, params int[] personIds)
Parameters
| Type |
Name |
Description |
| Int32 |
workflowId |
|
| Int32[] |
personIds |
|
Returns
TryAddToSelection(Int32, Int32, Int32)
Declaration
public static void TryAddToSelection(int selectionId, int personId, int contactId)
Parameters
VerifySmtpSetup(Int32)
Declaration
public static void VerifySmtpSetup(int shipmentId)
Parameters
| Type |
Name |
Description |
| Int32 |
shipmentId |
|
Extension Methods