Skip to main content
Participant
December 4, 2023
Question

Agreement going to cancelled state after triggering POST Workflow API

  • December 4, 2023
  • 1 reply
  • 265 views

I am trying to Integrate ServiceNow with Adobe Sign in API. While trying out the APIs I was unable to send the agreement to the user. 

 

I am using the POST Workflow API from v5 documentation. When sending the request it returns status code as 201 along with the agreement ID. But on checking the agreement from the console in Adobe it shows that the agreement has gone into the cancelled state.

 

Sharing the payload which I am trying to send in the request:

{
  "documentCreationInfo": {
   "fileInfos": [
      {
        "name": "Test678",
        "transientDocumentId": "CBSCTBABDUAAABACAABAAmz9440zDqcqrifesKtxV2kVSkzMWTAG_izjHBb1RdDHQ3uD9h1X9HoB0ddvTn8kdzVSwHaD5F5tHimOUkjirTL_rOgbMmiNodmAXdiMv2zOjguzna0OboypDIyrk5QGcuI-9T6P9Fj1ULp6yjfRuu663w66WJUH08glkO--LZmg7RzPq5NC_uG9ovXyhvka5PnePIYUU59-8pRJUCE0I1yXSrgti0IFN-01-dFg7BP5P2fvBes3KpStOZ_3scJuzsWCjzIKPt-GO734h7ycLC3-AOlThIFCy4EYdfA9_vidlpFdtZjwNcxTFi-Z9210mhIwo2xNQ7s4_qSPXOl0JFqQ9m185n7G8mN3ghwWKvkI*",
"mimeType": "application/pdf"
      }
    ],
"name":"Test",
 "recipientsListInfo": [
      {
        "name": "SomeName",
        "recipients": [
          {
            "email": "someemailid@email.com"
          }
        ]
      }
    ]
  }
}

Let me know where I am going wrong!

This topic has been closed for replies.

1 reply

atsmusz_as_dsEng
Adobe Employee
Adobe Employee
January 10, 2024

Is there a specific reason you're using V5? All new development should be on V6. 
Here is an example using V6 for a transient send to a single recipient.

Aaron Smusz - Data Science Engineering - Adobe Acrobat Sign