This documentation supports the 2.0 version of Remedy with Smart IT.

To view the latest version, select the version from the Product version menu.

Configuration details of expression


 Click here to see the available operators
OperatorDefinitionExample
&&logical AND

$status == 'In Progress' && $priority == 'High'

||logical OR

$customerVIPFlag || $serviceType == "User Service Request"

==equal to

$firstName == "Allen" || $bmcInt == 10

!=Not equal to$status != 'New'
>greater than$bmcInt > 6
> =greater than or equal to$bmcInt >= 6
<lesser than$bmcInt < 6
< =lesser than or equal to$bmcInt <= 6
+context specific either addition of numerals or concatenation of strings

$bmcInt + 10

$staus + " " + $priority

(expression) ?consequent value expression :alternate value expressionconditional expression**

$status == 'Assigned') ? "Hello" : "World"

()grouping
LIKEcontainer check"AB" LIKE "ABCD"
*, /, %, -Mathematical operations
 Click here to see the available operands
  • Ticket object items for both OOTB and custom fields.
    For example, $status, $isCustomVIP, $desc 
  • Even constant values.
    For example, strings like 'ABC' ,Boolean true or false, Numbers, '' or NULL

  • Keywords and functions

     For more details, click here
    KeywordsDescriptionValue
    $NULL$

    A null value (no value).
    $NOW$This keyword replaces $TIMESTAMP$UNIX epoch time
    $HOMEURL$This keyword returns the base URL of the current pageString
    $MIDTIERURL$This keyword returns the URL for midtierString
    $USER$

    This keyword returns login id of the current user Example:

    String

    FunctionsDescriptionReturn value
    INGROUP

    This function checks if user belongs to a group. It takes strings as input.

    Example:

    Make field readonly if Incident Master (group id: 20004)

    CustomField1 - readonly - Meet a condition - INGROUP(20004)

    boolean
    HASROLE

    This function checks if user belongs to a role. It takes strings as input.

    Example:

    Hide a field if user is not Incident Submitter (role id: -20042)

    CustomField1 - hide - Meet a condition - !HASROLE(-20042)

    boolean
    REPLACE

    This function returns the value that results from replacing any occurrences of the second parameter found in the first parameter with the contents of the third parameter.

    For example:

    REPLACE ($submitter, 'Bob', 'Robert').
    string
    DATEADD

    This function adds a specified number of days, weeks, months, or years to the date and returns the new date. You can specifiy datepart using one of the following quoted values:

    • Year --"years " or "y "
    • Month --"months " or "M"
    • Day --"days " or "d"
    • Week --"weeks " or "w"
    • Hour--"hours" or " h"
    • Minute--"minutes" or "m"
    • Second--"seconds" or "s"
    • Millisecond – "milliseconds" or "ms"

    The date value that can be added is the date parameter. For example, to add 10 weeks to the 05/20/02 date, enter:

    DATEADD(string, integer, string)
    e.g. DATEADD('w', 10, '05/20/08'), DATEADD('M', 1, '1504716711965')

    date
    DATEDIFF

    Depending on the value of datepart, this function returns the difference between the start date and the end date. You can specify datepart using one of the following quoted values:

      • Year --"years " or "y "
      • Month --"months " or "M"
      • Day --"days " or "d"
      • Week --"weeks " or "w"
      • Hour--"hours" or " h"
      • Minute--"minutes" or "m"
      • Second--"seconds" or "s"
      • Millisecond – "milliseconds" or "ms"

    For example:

    DATEDIFF('d', $date1, $date2)
    int
    NOOP

    Do nothing Example:

    Set value when Status is 'Assigned' and the value of zip is set to 560010, else do nothing:

    void
 Click here to see the configuration details for Create Incident Screen
Out-of-the-box Widget NameWidget Member Name

Accelerator Name

Example
CustomerFirst NamefirstName

Last NamelastName

VIPcustomerVIPFlag

Customer Login IDcustomerLoginId

Person IDcustomerPersonId
incidentTemplateHPD Template IDtemplateId
contactDirect Contact First NamecontactFirstName

Direct Contact Last NamecontactLastName

Direct Contact OrganizationcontactOrganization$desc!= "test"

Direct Contact Login IDcontactLoginId

Direct Contact CompanycontactCompany
descDetailed Decriptiondesc
priorityPrioritypriority

Impactimpact

Urgencyurgency
statusStatusstatus

Status_ReasonstatusReason

Resolutionresolution
serviceTypeService TypeserviceType($Urgency == "2-High") ? "User Service Request" : "user Service Restoration"
impactedServiceServiceCIimpactedService

ServiceCI_ReconIDserviceCIReconId
causalCIHPD_CIcausalCI

HPD_CI_ReconIDCI_reconid
locationCompanyCompanylocationCompany$firstName == "Allen"
operationalCategorization Tier 1operationCategoryTier1

Categorization Tier 2operationCategoryTier2

Categorization Tier 3operationCategoryTier3
productProduct Categorization Tier 1productCategoryTier1

Product Categorization Tier 2productCategoryTier2

Product Categorization Tier 3productCategoryTier3

Product NameproductName

Product Model/VersionproductModelVersion
resolutionResolution CategoryresOperationCategoryTier1

Resolution Category Tier 2resOperationCategoryTier2

Resolution Category Tier 3resOperationCategoryTier3
resolutionProductClosure Product Category Tier1resProductCategoryTier1

Closure Product Category Tier2resProductCategoryTier2

Closure Product Category Tier3resProductCategoryTier3

Closure Product NameresProductName

Closure Product Model/VersionresProductModelVersion
assigneeAssigneeassignee

Assignee Login IDassigneeLoginId
assigneeSupportGroupsAssigned GroupsupportGroups

Assigned Group IDassignedGroup
Out-of-the-box Field NameAccelerator Name
Example
Contact Companycompany$firstName == "Allen"
Descriptionsummary$status + " " +$priority 
 Click here to see the configuration details for Incident View Screen
Out-of-the-box Widget NameWidget Member NameAccelerator NameExample
priorityPriority

priority



Urgency

urgency

Impactimpact
customer

First Name

firstName



Last NamelastName

VIPcustomerVIPFlag

Customer Login IDcustomerLoginId

Person IDcustomerPersonId
customerPhonePhone NumberphoneNumber
site

Site

site

$createDate <= 1510574424000

Regionregion

Site GroupsiteGroup
operationalCategorization Tier 1operationCategoryTier1

Categorization Tier 2operationCategoryTier2

Categorization Tier 3operationCategoryTier3
productProduct Categorization Tier 1

productCategoryTier1



Product Categorization Tier 2productCategoryTier2

Product Categorization Tier 3productCategoryTier3

Product Name

productName

Product Model/VersionproductModelVersion
resolution

Resolution Category

resOperationCategoryTier1



Resolution Category Tier 2resOperationCategoryTier2

Resolution Category Tier 3resOperationCategoryTier3
resolutionProduct

Closure Product Category Tier1

resProductCategoryTier1



Closure Product Category Tier2resProductCategoryTier2

Closure Product Category Tier3resProductCategoryTier3

Closure Product NameresProductName

Closure Product Model/VersionresProductModelVersion
assignee

Assignee Login ID

assigneeLoginId



Assigneeassignee
contact

Direct Contact First Name

contactFirstName



Direct Contact Last NamecontactLastName

Direct Contact OrganizationcontactOrganization$desc!= "test"

Direct Contact CompanycontactCompany$desc != $NULL$

Direct Contact Login IDcontactLoginId
contactPhoneDirect Contact Phone NumbercontactPhoneNumber
contactEmailDirect Contact Internet E-mailcontactEmail
customerEmailInternet E-mailinternetEmail($status == "Assigned") ? "Cary@gmail.com" : "abc@gmail.com"
impactedService

ServiceCI

impactedService



ServiceCI_ReconIDserviceCIReconId
causalCI

HPD_CI

causalCI



HPD_CI_ReconIDCI_reconid
descDetailed Decriptiondesc
locationCompanyCompanylocationCompany$firstName == "Allen"
organizationOrganizationorganization$desc!= "test"
serviceTypeService TypeserviceType($Urgency == "2-High") ? "User Service Request" : "user Service Restoration"
assigneeSupportGroups

Assigned Group

supportGroups



Assigned Group IDassignedGroup
statusStatusstatus

Status_ReasonstatusReason

Resolutionresolution
Out-of-the-box Field NameAccelerator NameExample
Incident Numberid
Contact Companycompany$firstName == "Allen"
 Click here to see the configuration details for Create Change Screen
Out-of-the-box Widget NameWidget Member NameAccelerator NameExample
descDetailed Descriptiondesc$status + " " +$priority 
priorityPrioritypriority

Impactimpact

Urgencyurgency
requestedForCustomer First NamecustomerFirstName$status == 'In Progress' && $priority == 'High'

Customer Last NamecustomerLastName$USER$
impactedServiceServiceCIimpactedService
changeClassChange Timingtiming

Timing_ReasontimingReason
changeLocationSitesiteName$createDate <= 1510574424000

Site GroupsiteGroup

RegionsiteRegion
operationalCategorization Tier 1operationCategoryTier1

Categorization Tier 2operationCategoryTier2

Categorization Tier 3operationCategoryTier3
productProduct Cat Tier 1productCategoryTier1

Product Cat Tier 2productCategoryTier2

Product Cat Tier 3productCategoryTier3

Product Name (2)productName

Product Model/Version (2)productModelVersion
changeCoordinatorASCHGassigneeName

ASLOGIDassigneeLoginId
changeCoordinatorSupportGroupsASGRPassigneeGroup

ASGRPIDassigneeGroupId
changeManagerCAB Manager ( Change Co-ord )managerName

CAB Manager LoginmanagerLoginId

Company3managerCompany
changeManagerSupportGroupsSupport Group NamemanagerGroup

Support Group IDmanagerGroupId
impactedAreasCompanyrequestedByCompany$firstName == "Allen"

SitesiteName$createDate <= 1510574424000

RegionsiteRegion

Site GroupsiteGroup

OrganizationcontactOrganization$desc!= "test"

DepartmentcontactDepartment
targetDateChange Target DatetargetDate
scheduledDatesScheduled Start DatescheduledStartDate

Scheduled End DatescheduledEndDate
actualDatesActual Start DateactualStartDate

Actual End DateactualEndDate
Out-of-the-box Field NameAccelerator NameExample
Descriptionsummary"Home url= " +$HOMEURL$ + "Mid tier url= "+ $MIDTIERURL$ + "user= "+$USER$ 
Reason For ChangechangeReason
 Click here to see the configuration details for Change View Screen
Out-of-the-box Widget NameWidget Member NameAccelerator NameExample
changeRiskBadgeRisk LevelriskLevel
priorityUrgencyurgency

Impactimpact

Prioritypriority
statusChange Request Prev StatuspreviousStatus

Status ReasonstatusReason
descDetailed Descriptiondesc"Description of ticket"
impactedServiceServiceCIimpactedService
changeLocationSitesiteName$createDate <= 1510574424000

Site GroupsiteGroup

RegionsiteRegion
operationalCategorization Tier 1operationCategoryTier1

Categorization Tier 2operationCategoryTier2

Categorization Tier 3operationCategoryTier3
productProduct Name (2)productName

Product Model/Version (2)productModelVersion

Product Cat Tier 1productCategoryTier1

Product Cat Tier 2productCategoryTier2

Product Cat Tier 3productCategoryTier3
changeCoordinatorASCHGassigneeName

ASLOGIDassigneeLoginId

ASCPYassigneeCompany
changeManagerCAB Manager ( Change Co-ord )managerName

CAB Manager LoginmanagerLoginId

Company3managerCompany
targetDateChange Target DatetargetDate
scheduledDatesScheduled Start DatescheduledStartDate

Scheduled End DatescheduledEndDate
actualDatesActual Start DateactualStartDate

Actual End DateactualEndDate
changeRiskRisk LevelriskLevel
customerPhoneCustomer Phone NumbercustomerPhone
customerEmailCustomer Internet E-mailcustomerEmail($status == "Assigned") ? "Cary@gmail.com" : "abc@gmail.com"
changeClassChange Timingtiming

Timing_ReasontimingReason
requestedForCustomer First NamecustomerFirstName$status == 'In Progress' && $priority == 'High'

Customer Last NamecustomerLastName

Customer DepartmentcustomerDepartment
changeCoordinatorSupportGroupsASGRPassigneeGroup

ASGRPIDassigneeGroupId
changeManagerSupportGroupsSupport Group NamemanagerGroup

Support Group IDmanagerGroupId
Out-of-the-box Field NameAccelerator NameExample
Infrastructure Change IDdisplayId
Reason For ChangechangeReason

Was this page helpful? Yes No Submitting... Thank you

Comments