在插入 DocumentDB 的 azure Logic 应用程序工作流步骤中,我如何 "toString" 一个数字
In an azure Logic app workflow step that inserts into DocumentDB, how can I "toString" a number
在我的逻辑应用程序的 DocumentDb 步骤中触发 "create document" 时,我收到一条错误消息,指出 id 是一个数字。如何在插入步骤中 toString
id
数字?
"actions": {
"Create_or_update_document": {
"inputs": {
"body": {
"body": "@triggerBody()",
"createdAt": "@triggerBody()?['created_at']",
"description": "@triggerBody()?['description_text']",
"dueBy": "@triggerBody()?['due_by']",
"priority": "@triggerBody()?['priority']",
"requesterId": "@triggerBody()?['requester_id']",
"source": "@triggerBody()?['source']",
"status": "@triggerBody()?['status']",
"id": "@triggerBody()?['id']",
"type": "@triggerBody()?['type']",
"updatedAt": "@triggerBody()?['updated_at']"
}
摘自here(在Conversion functions
下查看):
"@string(triggerBody()?['id'])"
在我的逻辑应用程序的 DocumentDb 步骤中触发 "create document" 时,我收到一条错误消息,指出 id 是一个数字。如何在插入步骤中 toString
id
数字?
"actions": {
"Create_or_update_document": {
"inputs": {
"body": {
"body": "@triggerBody()",
"createdAt": "@triggerBody()?['created_at']",
"description": "@triggerBody()?['description_text']",
"dueBy": "@triggerBody()?['due_by']",
"priority": "@triggerBody()?['priority']",
"requesterId": "@triggerBody()?['requester_id']",
"source": "@triggerBody()?['source']",
"status": "@triggerBody()?['status']",
"id": "@triggerBody()?['id']",
"type": "@triggerBody()?['type']",
"updatedAt": "@triggerBody()?['updated_at']"
}
摘自here(在Conversion functions
下查看):
"@string(triggerBody()?['id'])"