Utility.CheckScriptCondition Method (String, Context, Session, List<LookupRequestItem>)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Given the condition string, determines whether the condition is true or false.
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)
Syntax
public static bool CheckScriptCondition(
string script,
Context CurrentContext,
Session localSession,
List<LookupRequestItem> list
)
Public Shared Function CheckScriptCondition (
script As String,
CurrentContext As Context,
localSession As Session,
list As List(Of LookupRequestItem)
) As Boolean
Parameters
script
Type: System.StringSpecifies the condition string (interpreted as a javascript expression).
CurrentContext
Type: Microsoft.Uii.Csr.ContextSpecifies the context variables to use as input.
localSession
Type: Microsoft.Uii.Csr.SessionSpecifies the session object to be used.
list
Type: System.Collections.Generic.List<LookupRequestItem>Specifies the additional parametes to be used when evaluating the condition.
Return Value
Type: System.Boolean
True if the condition succeeded.
See Also
CheckScriptCondition Overload
Utility Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright