I want to upload Connector Executed rule,the type is ConnectorBeforeCreate.I see the example in doc but I still don’t know how to script the request body in JSON format .The attachment is my rule.
MyConnectorBeforeCreateRule.xml (2.3 KB)
the ref is here:
Hi @TOPTYU
Please find below useful links- here you find relevant information for the Connector-Executed Rules or Connector Rules , Refer Configuration process section.
I have see the doc.In MyConnectorBeforeCreateRule.xml,I see some attributes in map tag.How to add these attributes to request body?
Another question is how to adjust the srcipt to one-line?
the attachment is request body
requestBody.json (2.1 KB)
I reference the default connector rule,the request body is here
requestBodyUploadRule.json (1.1 KB)
the script I use “chatgpt” to adjust.
1 Like