【问题标题】:Activate flow using Tooling API使用 Tooling API 激活流
【发布时间】:2022-09-30 01:58:12
【问题描述】:

我正在尝试使用 Tooling REST API 激活流程。 Documentation indicates that this is possible

但是当我尝试这样做时,我在 http 响应正文中收到此错误:

    \"message\": \"You must provide a valid Metadata field for InteractionDefinitionVersion\",
    \"errorCode\": \"REQUIRED_FIELD_MISSING\",
    \"fields\": []

这是我的卷曲请求:

curl --location --request PATCH \'https://XXX.my.salesforce.com/services/data/v55.0/tooling/sobjects/Flow/3015Y000000YJ7pQAG\' \\
--header \'Content-Type: application/json\' \\
--header \'Authorization: Bearer XXX\' \\
--data-raw \'{
    \"Status\": \"Active\"
}\'

    标签: rest salesforce


    【解决方案1】:

    你找到解决这个问题的方法了吗?我在尝试激活以前版本的流程时也遇到此错误。

    【讨论】:

      猜你喜欢
      • 2018-01-22
      • 1970-01-01
      • 2017-10-03
      • 1970-01-01
      • 2017-01-14
      • 1970-01-01
      • 1970-01-01
      • 2018-10-12
      • 2016-04-19
      相关资源
      最近更新 更多