You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在Mule4中创建API,为Workday用户添加邮箱需哪些权限?

Mule4调用Workday创建邮箱时的权限错误问题

我正在Mule4中创建API,通过POST请求调用Workday接口为用户创建邮箱,请求负载如下:

{
    "email" : "joe.technology@briansdistributing.com",
    "employeeId" : "111111"
}

但持续收到如下权限错误:

SoapFault{faultCode={http://schemas.xmlsoap.org/soap/envelope/}Server.processingError, subCode=null, detail='<?xml version="1.0" encoding="UTF-8"?><detail><wd:Processing_Fault xmlns:wd="urn:com.workday/bsvc"><wd:Detail_Message>The task submitted is not authorized.</wd:Detail_Message></wd:Processing_Fault></detail>', reason='Processing error occurred. The task submitted is not authorized.', node='null', role='null'}

用于发起Workday调用的转换消息代码:

output application/xml
ns ns0 urn:com.workday/bsvc
---
{
    ns0#Change_Work_Contact_Information_Request: {
        ns0#Change_Work_Contact_Information_Data: {
            ns0#Person_Reference: {
                ns0#ID @(ns0#"type": "Employee_ID"): payload.employeeId
            },
            ns0#Person_Contact_Information_Data: {
                ns0#Person_Email_Information_Data: {
                    ns0#Email_Information_Data: {
                        ns0#Email_Data: {
                            ns0#Email_Address: payload.email,
                            ns0#Email_Comment: p('workday.createEmailMessage') as String default ""
                        }
                    }
                }
            }
        }
    }
}

请问在Workday中需要配置哪些权限才能完成该操作?


解决方案:Workday所需权限配置

你调用的是Change_Work_Contact_Information Web服务操作,需要为集成用户(或其所属安全组)配置以下权限:

  • 业务流程权限:添加Maintain Work Contact Information权限。这是修改员工工作联系信息(包括邮箱地址)的核心权限,必须分配给操作的执行用户。
  • 域安全权限:确保用户所在安全组对Work Contact Information域拥有Edit权限,且针对Email Address字段没有设置只读限制,避免字段级别的权限拦截。
  • Web服务访问权限:在Workday的Web服务权限配置中,将Change_Work_Contact_Information操作添加到用户的权限集里,允许该用户调用这个特定的Web服务接口。
  • 权限范围验证:确认权限的应用范围(如是否覆盖目标员工所在的组织单元),如果权限仅限定于特定部门或群体,而目标员工不在范围内,也会触发授权失败。

内容的提问来源于stack exchange,提问作者ilya.fastiv

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.04 08:00:10