Utility.CheckScriptCondition Method (String, Context, Session, Dictionary<String, String>)
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,
Dictionary<string, string> list
)
Public Shared Function CheckScriptCondition (
script As String,
CurrentContext As Context,
localSession As Session,
list As Dictionary(Of String, String)
) 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.Dictionary<String, String>Specifies the additional parameters 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
© 2016 Microsoft. All rights reserved. Copyright