Agreement going to cancelled state after triggering POST Workflow API
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!
