PMP 集成 SDP

PMP 集成 SDP 实现细粒度条件工单过滤

PMP 集成 SDP 实现细粒度条件工单过滤
需求背景:
      
      通过细粒度化的工单属性信息进行条件条件匹配,以达到满足SDP工单属性条件的工单ID可以进行资源的访问,从而解放PMP系统上的资源访问控制审批过程,通过工单ID来进行资源访问权限判断。
      工单属性条件可以是系统缺省字段诸如状态,分类,工单模板等信息,也可以是附加字段来作为匹配条件。另外属性值条件添加不限制值为中文或是英文,只要和sdp系统匹配即可。
      优势:解放PMP审批过程,通过更加明确的属性匹配来进行自动判断以准入资源。
      劣势:由于是采用条件设置自动判断,即使添加再多条件往往也存在难以确保唯一性问题。
      如不同的几张工单号都能够满足到设置的特定条件。则任一工单id都可以作为准入资源的凭证,这个难以避免。只能尽可能在诸如状态,请求模板等多条件上限制某张单号重复作为准入的ID的情况(比如状态条件是必须的,限制工单的生命周期)。

实现方法:
      
      1 首先配置PMP和SDP的集成。(注意做集成一定要使用sdp pmp相同名称管理员账号)
      2 然后在管理工单系统,Servicedesk Plus集成处点击测试设置。
      
3 输入一张属性字段值能够满足预期所有设置条件的工单ID,然后点击测试按钮,测试通过后,点击获取自定义字段按钮。这将会将PMP系统中用到的SDP过滤条件字段添加到高级过滤器选项的筛选条件中。

解析信息供参考:
{
    "request": {
        "ola_due_by_time": null,
        "subject": "测试2",
        "resolution": {
            "resolution_attachments": [

            ]
,
            "content": null
        }
,
        "linked_to_request": null,
        "onhold_time": null,
        "mode": {
            "name": "Chat",
            "id": "4"
        }
,
        "is_read": false,
        "lifecycle": null,
        "reason_for_cancel": null,
        "assets": [

        ]
,
        "is_trashed": false,
        "fr_sla_violated_group": null,
        "id": "2",
        "assigned_time": null,
        "group": null,
        "requester": {
            "email_id": null,
            "phone": "925-852-2602",
            "name": "Heather Graham",
            "mobile": "",
            "profile_pic": {
                "content-url": "\/images\/default-profile-pic2.svg"
            }
,
            "is_vipuser": false,
            "id": "7",
            "department": null
        }
,
        "cancel_requested_by": null,
        "email_to": [

        ]
,
        "sla_violated_technician": null,
        "created_time": {
            "display_value": "03\/04\/2024 05:28 PM",
            "value": "1712136502494"
        }
,
        "item": null,
        "has_resolution_attachments": false,
        "level": {
            "name": "Tier 1",
            "id": "1"
        }
,
        "approval_status": null,
        "impact": null,
        "service_category": null,
        "sla": {
            "name": "High SLA",
            "id": "4"
        }
,
        "priority": {
            "color": "#ff0000",
            "name": "High",
            "id": "4"
        }
,
        "created_by": {
            "email_id": null,
            "phone": null,
            "name": "admin",
            "mobile": null,
            "profile_pic": {
                "content-url": "\/images\/default-profile-pic2.svg"
            }
,
            "is_vipuser": false,
            "id": "11",
            "department": null
        }
,
        "sla_violated_group": null,
        "tags": [

        ]
,
        "scheduled_end_time": null,
        "first_response_due_by_time": null,
        "last_updated_time": {
            "display_value": "10\/04\/2024 10:22 AM",
            "value": "1712715767539"
        }
,
        "has_notes": false,
        "is_current_ola_violated": null,
        "image_token": "58399544641c5d9191af15873b865d7fadd3f0225da6650eb15e228c15d8900e5bebaf39d92e0673164f62a8d56644a2b9bf0b91",
        "udf_fields": {
            "udf_sline_301": "lironghui"
        }
,
        "impact_details": null,
        "subcategory": {
            "name": "LAN",
            "id": "16"
        }
,
        "email_cc": [

        ]
,
        "status": {
            "color": "#0066ff",
            "name": "Open",
            "id": "2"
        }
,
        "scheduled_start_time": null,
        "template": {
            "is_service_template": false,
            "service_category": null,
            "name": "网络问题",
            "id": "301"
        }
,
        "email_ids_to_notify": [

        ]
,
        "primary_asset": null,
        "attachments": [

        ]
,
        "request_type": null,
        "cancel_requested_time": null,
        "notification_status": null,
        "description": null,
        "has_dependency": false,
        "has_conversation": false,
        "fr_sla_violated_technician": null,
        "chat_type": 0,
        "callback_url": null,
        "is_service_request": false,
        "urgency": {
            "name": "Low",
            "id": "4"
        }
,
        "is_shared": false,
        "cancel_requested": false,
        "has_request_initiated_change": false,
        "request_template_task_ids": [

        ]
,
        "department": null,
        "is_reopened": true,
        "has_draft": false,
        "has_attachments": false,
        "has_linked_requests": false,
        "has_request_caused_by_change": false,
        "is_overdue": true,
        "technician": null,
        "has_problem": false,
        "due_by_time": {
            "display_value": "10\/04\/2024 11:14 AM",
            "value": "1712718872459"
        }
,
        "is_first_response_overdue": false,
        "cancel_requested_is_pending": false,
        "recommend_template": null,
        "unreplied_count": null,
        "category": {
            "name": "网络",
            "id": "10"
        }
,
        "maintenance": null
    }
,
    "response_status": {
        "status_code": 2000,
        "status": "success"
    }

}
4 点击选择SDP高级设置条件

5 点击远程连接时输入满足条件的工单ID并填写连接理由进行系统连接。满足条件的工单ID将会正常进行连接。

6 条件为满足的工单ID将会提示ID无效不能连入资源。

    • Related Articles

    • SDP & PMP 集成注意事项

      1 要确保PMP和sdp中有一样的管理员 如都具有admin用户(其中sdp上要为其设置SDAdmin权限) 2 确保双方hostname能在双方服务器上互为解析 3 url最好换为ip地址以防解析不到 4 看清需要,如果不是变更处使用PMP的话请不要选择使用变更ID用于验证, 不然关联的ID就不是工单ID而变成变更ID了 注意:如果sdp使用的是https的话需要相应导入证书,不然无法直接集成。 PMP 下设置实际的过滤条件 ...
    • 使用.pfx证书将OpManager与SDP集成

      在SDP中应用.pfx证书不涉及创建集成所需的密钥库文件。请按照以下步骤创建密钥库文件。 将文件OpManager.TrustStore和SDP PFX文件放置在OpManager JRE\bin安装下。 1.运行以下命令,在OpManager\Jre\bin目录将pfx证书转换为JKS格式。 >keytool -importkeystore -srckeystore sdp_pfx_cert.p12 -destkeystore OpManager.truststore ...
    • Servicedesk 与 Analytics 集成报同步异常解决方法

      症状:在成功配置集成信息后,显示同步一段时间,自动报错并且同步状态为失败,重启服务或重新配置均无效。 解决方法: 1、查看日志是否有异常输出: 2020/05/26 14:59:39 CST:Error is :: <nobr>[Line: 8 Field:  2] (-) -ERROR: Invalid NUMBER value</NOBR><br><nobr>The data found at the row 8 has invalid data for the given ...
    • ELA-ELA中告警事件可以生成SDP的工单吗?

      EventLog Analyzer支持与ServiceDesk Plus集成,告警事件会自动在工单系统中生成工单,测试如下: 配置如下:
    • Analytics Plus & Endpoint Central (原名 Desktop Central) 集成 - Endpoint Central 生成 API 密钥

      Analytics Plus 中集成 Endpoint Central (原名 Desktop Central) 的步骤如下: 1. 2. 3. 输入Desktop Central 的地址 4. 在 Endpoint Central (原名 Desktop Central) 中获取 API 密钥 部分 Endpoint Central (原名 Desktop Central) 版本语言设置为中文时,不能生成 API 密钥。建议先将语言切换为英文。 选择您登录的方式,输入账号密码,点击执行。 ...