Previous Topic: NotesNext Topic: Preparing CAI Processes for Redeployment (Connector for CA Unicenter® Service Desk and CA Software Change Manager for Distributed)


Environment Variables

The following is an example of the environment variables that are set with information from the Service Desk change order and workflow task. These environment variables are available when the command line is launched:

###############################################################################
# Environment variables that are available at execution which
# contain information from current Change Order and Workflow task
################################################################################
#
# Change Order
# ------------
#
# SD_ACT_COMP_DATE		Actual Completion Date (UTC)
 # SD_ACT_COST			Actual Cost
# SD_ACT_DURATION		Actual Duration
# SD_AEU_HANDLE			Affected End User Persistent_id
# SD_AEU_NAME			Affected End User Combo Name
# SD_AEU_USERID			Affected End User User-id (System Login)
 # SD_ASSIGNEE_HANDLE		Assignee Persistent_id
# SD_ASSIGNEE_NAME		Assignee Combo Name
# SD_ASSIGNEE_USERID		Assignee User-Id (System Login)
 # SD_BACKOUT_PLAN		Backout Plan
# SD_CALL_BACK_DATE		Call Back Date (UTC)
 # SD_CATEGORY_CODE		Change Category Code
# SD_CATEGORY_HANDLE		Change Category Persistent_id
# SD_CATEGORY_NAME		Change Category Symbol
# SD_CD				Clarity Idea Processing Flag
# SD_CHARSET			Character set currently in use by Service Desk 
# SD_CHG_HANDLE			Change Order Persistent_id
# SD_CHG_REF_NUM			Change Order Number
# SD_CHG				Change Order Persistent_id
# SD_CHGNUM			Change Order Number
# SD_CI				Clarity Incident Processing Flag
# SD_CLARINFO			clarity_info from Project Asset Extension (projex)
 # SD_CLOSE_DATE			Change Order Close Date
# SD_CREATED_BY_HANDLE		Change Order Created By Persistent_id
# SD_CREATED_BY_NAME		Change Order Created By Combo Name
# SD_CREATED_BY_USERID		Change Order Created By User-Id (System Login) 
# SD_DESCRIPTION			Change Order Description
# SD_DF				Harvest Processing Flag
# SD_EF				Endevor Processing Flag
# SD_EFFORT			Change Order Effort
# SD_ENDEVOR			endevor_name from Project Asset Extension (projex)
 # SD_ENDINFO			endevor_info from Project Asset Extension (projex)
 # SD_ENDSRV			endevor_server from Project Asset Extension (projex)
 # SD_ENTINFO			entwb_info from Project Asset Extension (projex)
 # SD_ENTSRV			entwb_server from Project Asset Extension (projex)
 # SD_ENTWB			entwb_name from Project Asset Extension (projex)
 # SD_EST_COMP_DATE		Change Order Estimated Completion Date (UTC)
 # SD_EST_COST			Change Order Estimated Cost
# SD_EST_DURATION		Change Order Estimated Duration
# SD_GROUP_HANDLE		Change Order Assigned Group Persistent_id
# SD_GROUP_NAME			Change Order Assigned Group Last Name
# SD_HARVEST			harvest_name from Project Asset Extension (projex)
 # SD_HARVINFO			harvest_info from Project Asset Extension (projex)
 # SD_HARVSRV			harvest_server from Project Asset Extension (projex)
 # SD_IMPACT_HANDLE		Change Order Impact Persistent_id
# SD_IMPACT_NAME			Change Order Impact Symbol
# SD_IMPACT_VALUE		Change Order Impact Numeric Value
# SD_JUSTIFICATION		Change Order Justification
# SD_MF				Enterprise Workbench Processing Flag
# SD_NEED_BY_DATE		Change Order Need By Date (UTC)
 # SD_NIKU			clarity_name from Project Asset Extension (projex)
 # SD_NIKUID			clarity_id from Project Asset Extension (projex)
 # SD_NWF				Persistent_id Of Next Workflow Task (If Any)
 # SD_OPEN_DATE			Change Order Open Date (UTC)
 # SD_ORGANIZATION_HANDLE		Change Order Organization Persistent_id
# SD_ORGANIZATION_NAME		Change Order Organization Name
# SD_PARENT_HANDLE		Parent Change Order Persistent_id
# SD_PARENT_REFNUM		Parent Change Order Number
# SD_PF				Clarity Task Processing Flag
# SD_PRIORITY_HANDLE		Change Order Priority Persistent_id
# SD_PRIORITY_NAME		Change Order Priority Symbol
# SD_PRIORITY_VALUE		Change Order Priority Numeric Value
# SD_PROJECT_HANDLE		Change Order Project Persistent_id (Asset)
 # SD_PROJECT_NAME		Change Order Project Name (Asset)
 # SD_PROJECT_ORG_HANDLE		Change Order Project Organization Persistent_id
# SD_PROJECT_ORG_NAME		Change Order Project Organization Name
# SD_REQUESTER_HANDLE		Change Order Requester Persistent_id
# SD_REQUESTER_NAME		Change Order Requester Name
# SD_REQUESTER_USERID		Change Order Requester User-Id (System Login)
 # SD_RESOLVE_DATE		Change Order Resolve Date
# SD_ROOTCAUSE_HANDLE		Change Order Root Cause Persistent_id
# SD_ROOTCAUSE_NAME		Change Order Root Cause Symbol
# SD_START_DATE			Change Order Actual Start Date (UTC)
 # SD_STATUS_CODE			Change Order Status Code
# SD_STATUS_HANDLE		Change Order Status Persistent_id
# SD_STATUS_NAME			Change Order Status Symbol
# SD_SUMMARY			Change Order Summary
# SD_SYSTEM_AHD_GENERATED_USER_HANDLE	System_AHD_generated Persistent_id
# SD_SYSTEM_AHD_GENERATED_USER_UUID	System_AHD_generated Id
# SD_TYPE				Currently "WORKFLOW"
#
# Workflow Task
# -------------
#
# SD_WF_ACT_COMP_DATE		Workflow Task Actual Completion Date
# SD_WF_ACT_COST			Workflow Task Actual Cost
# SD_WF_ACT_DURATION		Workflow Task Actual Duration
# SD_WF_ASSIGNEE_HANDLE		Workflow Task Assignee Persistent_id
# SD_WF_ASSIGNEE_NAME		Workflow Task Assignee Combo Name
# SD_WF_ASSIGNEE_USERID		Workflow Task Assignee User-Id (System Login)
 # SD_WF_CI_HANDLE		Workflow Task Asset/CI Persistent_id
# SD_WF_CI_NAME			Workflow TaskAsset/CI Name 
# SD_WF_DESCRIPTION		Workflow Task Description
# SD_WF_EST_COMP_DATE		Workflow Task Estimated Completion Date (UTC)
 # SD_WF_EST_COST			Workflow Task Estimated Cost 
# SD_WF_EST_DURATION		Workflow Task Estimated Duration 
# SD_WF_GROUP_HANDLE		Workflow Task Assignee Persistent_id
# SD_WF_GROUP_NAME		Workflow Task Assignee Last Name
# SD_WF_HANDLE			Workflow Task Persistent_id
# SD_WF_NEXT_WF_HANDLE		Next Workflow Task Persistent_id (If Any)
 # SD_WF_SEQUENCE			Workflow Task Sequence Number
# SD_WF_STATUS_CODE		Workflow Task Status Code
# SD_WF_STATUS_NAME		Workflow Task Status Symbol
# SD_WF_TASK_TEMPLATE_HANDLE	Workflow Task Template Persistent_id
# SD_WF_TASK_TEMPLATE_NAME	Workflow Task Template Name
# SD_WF				Workflow Task Persistent_id
#################################################################